Hello,
(my conf : RedHat 6.2, courier-imap1.5-1, Exim 4.05)
I'm trying to configure virtual accounts to use with Exim 4 and
courier-imap1.5-1.
I could configure Imap alright and I'm now trying to make Exim work.
I use the standard configuration file with only those changes:
1- I added this router just before the "localuser" router:
# pour maildir
vmail_smartlist:
driver = accept
local_parts = dbmnz;/etc/userdb.dat
condition = "${if
match{${extract{4}{|}{${local_part_data}}}}{^mail=(.+)\\$}{$1}fail}"
transport = vmail_delivery
2- added this transport :
# pour Maildir
vmail_delivery:
driver = appendfile
maildir_format
create_directory = true
mode = 0700
# current_directory = /
directory = ${home}
return_path_add
envelope_to_add
group = 506
user = 504
Problem number 1: when sending a message from a virtual account user (not a
Linux account), the ACL instruction "require sender verify" fails. If
recipient is in the local domain, "recipient=verify" fails too.
Problem number 2: I comment out the lines "require sender verify" and
"recipient=verify" to go forward. Then, if the recipient is outside
local_domain, the message is porcessed OK, but if the recipient is in
local_domain (From: webmaster, To: webmaster for example), I get an error: