Tag Info

New answers tagged

0

You have to use doveadm utility to add manually copied messages to the maildir index: doveadm [-Dv] index [-S socket_path] -u user [-q] [-n max_recent] mailbox Further reading can be found here: http://wiki2.dovecot.org/Tools/Doveadm/Index


1

From your log it appears that the messages were originally delivered to an email address on your server, which is set up to forward to a Gmail address. Because the messages are spam, they are being seen as such when you send them back out. My recommendation would be to not forward mail in this manner at all, and simply receive it here and deal with it ...


1

I see several issues: PTR record returns shoplucro2.smtpilimitado.info which does not lookup to 23.88.121.82. It should likely return mail.fluidvector.com. With few exceptions this would be a good indicator of Spam. Envelope address and From: address don't match. If you aren't resending email, they should match. If you don't want auto-replies (as I ...


3

You cannot authorize some domain to send mail from gmail addresses, only Google can do that. If everyone could authorize their own server to send some other domain's email, then SPF would serve no purpose. Spammers would just authorize themselves. You need to use a source email address whose credentials you control.


0

I've solved it upgrading to the newest version of Dovecot from the enterprise repositories.


1

Dovecot have a handy tool called dsync (wiki) intended to syncronize two dovecot instances. Maildir hierarcy fron one server is replicated to another. Received, sent, spam, trash - everything is copied. The main advantage is that dsync can do an incremental and two-way replication. After the initial copying is done the next run copy the new/changed files ...


2

I am using Ubuntu Server 12.04 and I tried the above solutions. However, I found that simplest and easiest way was in 10-auth.conf to set auth_username_format = %n I use PAM for the authentication which is the default in Ubuntu 12.04.


1

Is it possible migrate this all at one step with service downtime? If yes you can tar/untar. But better way is rsync mailbox on the fly, and at service downtime you do rsync again for update. look at mailqueue, this should be empty. smtp mustn't accept any mail at downtime. but usually you have different situation. mail queue keeps email that cannot send. ...


1

Based above tutorial, you forgot to add these two lines user = postfix group = postfix after these lines client { # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. path = /var/spool/postfix/private/auth # path = /var/run/dovecot/auth-client ...


1

The security context for your home directory is wrong. I'm not sure why setroubleshoot didn't catch that, but the simple fix is to fix the security context. restorecon /home/starrychloe


0

sieve_global_path The deprecated name for the sieve_default setting (Pigeonhole v0.2 and earlier). sieve_default (v0.3+) The location of the default personal sieve script file which gets executed ONLY if user's private Sieve script does no exist Check the multiscript section for instructions on running global Sieve scripts before and after the user's ...


0

Don't know if the same than which happens with Cyrus IMAPd can happen with Dovecot. Let's try. The Linux kernel gathers real randomness, entropy, from multiple sources and events. This data can be read by any program from /dev/random. Well, sometimes if there's not enough 'real' randomness generated (for example, the server does not contain a hardware ...


1

Looks like mismatch of dovecot configuration and postfix configuration. In dovecot configuration (especially in section service auth, you just define two socket auth-client and auth-master. Add one section unix_listener with content unix_listener /var/spool/postfix/private/auth { mode = 0660 # Assuming the default Postfix user and group user = ...


2

SpamAssassin comes with sa-learn out of the box (not to be confused with the sa-learn-cyrus you mentioned). It comes with two learning modes, ham and spam. It would take a very, very simple script to walk through each user's mailbox, doing a "ham" pass at first, and a second walk-through for "spam". Something (roughly) like: #!/bin/bash # change these ...


1

I wrote my own script using doveadm search to read training mails from certain IMAP folders in my own account. The usual disclaimers apply, it is not pretty but works for me. You will also have to remove the crm114 mailtrainer.crm call at the end. Edit: I realized my script also uses crm114 feature (a cache dir of all processed messages in ...


0

You should just need to add this line to your main.cf queue_directory = /var/spool/postfix and then restart postfix. Conversely, it might be worth attempting to put the entire path to the private/auth file, if the first method does not work.


1

If the two mail servers are running without problems with the IMAP protocol I would use imapsync to do the job. Both Courier and Dovecot are supported by imapsync. It's really straightforward to use and support many features, like regexp mappings for different folder synchronisation. The software is FOSS and can be found here: http://imapsync.lamiral.info ...


0

For Postfix, which I assume is what you want you want from the tag (same option in Sendmail too) you would want to use the luser_relay option specifying a local account.


1

Before we begin, you should know that Debian frequently provides methods of reconfiguring your daemons using the dpkg-reconfigure command. You may be able to answer some questions during that reconfiguration process and solve your problem the Debian way. For dovecot, that command appears to be: dpkg-reconfigure dovecot-common I'll continue with the ...



Top 50 recent answers are included