Table of Contents
Background
When I configure email accounts in Webuzo and try to send mail from account which already resides in: /etc/aliases I get the following error:
Requested action not taken: mailbox unavailable 550 Sender verify failed
The problem is that the default exim.conf which Webuzo installs has badly configured order of mail routers.
Here are some FIXES for this problem:
FIX 1 (Recommended)
1. Backup exim.conf:
cp -a /etc/exim.conf{,.bak}
2. Open /etc/exim.conf
Find the section which is used for searching domains in /etc/alias file. The router section looks like this
system_aliases: driver = redirect allow_fail allow_defer data = ${lookup{$local_part}lsearch{/etc/aliases}} # user = exim file_transport = address_file pipe_transport = address_pipe .... .... # SOME CONTENT .... .... vmail_deliver: driver = accept condition = ${if eq {}{${lookup{$local_part}lsearch{/etc/vmail/$domain/passwd}}}{no}{yes}} domains = dsearch;/etc/vmail no_more retry_use_local_part transport = vmail_delivery
Edit exim.conf and change the order of the 2 routers, and make them look like that:
vmail_deliver: driver = accept condition = ${if eq {}{${lookup{$local_part}lsearch{/etc/vmail/$domain/passwd}}}{no}{yes}} domains = dsearch;/etc/vmail no_more retry_use_local_part transport = vmail_delivery .... .... # SOME CONTENT .... .... system_aliases: driver = redirect allow_fail allow_defer data = ${lookup{$local_part}lsearch{/etc/aliases}} # user = exim file_transport = address_file pipe_transport = address_pipe
Save exim.conf and restart exim server:
/etc/init.d/exim restart
FIX 2 (alternative)
Comment out the problematic lines from /etc/aliases and restart exim.
Great article. I’m experiencing many of these issues as well..