Emails not delivering to mailbox after Dovecot migration

DigitalMinds

Verified User
Joined
Jul 12, 2003
Messages
23
I migrated from vm-pop3 and wu-imap to Dovecot last night. Then I migrated from mbox to Maildir format.

The procedure follow was below:

http://www.directadmin.com/features.php?id=590

After the mbox to Maildir migration, I changed the exim.conf to below:

local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
directory = /home/$local_part/Maildir/
directory_mode = 770
create_directory = true
maildir_format
group = mail
mode = 0660
return_path_add
user = ${local_part}

## for delivering virtual domains to their own mail spool

virtual_localdelivery:
driver = appendfile
create_directory
delivery_date_add
directory_mode = 770
envelope_to_add
directory = /home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}/imap/${domain}/${local_part}/Maildir
maildir_format
group = mail
mode = 660
return_path_add
user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"
quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}


POP3 and outbound SMTP are working just fine. However, inbound emails are not getting delivered to the user's mailboxes.

/var/log/maillog is showing email are coming in just fine and showing being delivered. But the do not show up in the mailboxes.


2007-11-19 04:04:22 1Iu3UK-0002Rp-Qn <= [email protected] H=(85-18-23-41.fasts.net) [85.18.23.41] P=smtp S=4071 id=6cd401c82a93$8f07eec0$290e1255@Oscar
2007-11-19 04:04:22 1Iu3UK-0002Rp-Qn => catchall <[email protected]> R=virtual_user T=virtual_localdelivery

Is there a quick fix for this? I have had to block all SMTP services at this juncture.
 
Finally figured out the issue...

The problem was related to the modifications made in /etc/init.d/exim for MailScanner about 4 years ago to run a second mail queue (exim_send.conf).

-------- Code In ------------
/etc/init.d/exim
------------------------------

I comment out the 5 lines below:

#[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
#[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -bd"
#[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
#[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -C /etc/exim_send.conf"
#[ -n "$QUEUE" ] && EXIM_OPTS="$EXIM_OPTS -q$QUEUE"


And uncomment the 3 line below:

[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -bd"
[ -n "$QUEUE" ] && EXIM_OPTS="$EXIM_OPTS -q$QUEUE"
 
Back
Top