[Exim] Exim 4 + courier-imap + virtual accounts + Maildirs

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jérôme Arnaud
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Exim 4 + courier-imap + virtual accounts + Maildirs
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:

2002-07-15 17:05:11 17U7PT-0002ot-00 <= webmaster@??? H=localhost
(akoor.com) [127.0.0.1] P=smtp S=727
id=3860.193.253.57.158.1026745511.squirrel@???
2002-07-15 17:05:11 17U7PT-0002ot-00 ** webmaster@???: Unrouteable
address
2002-07-15 17:05:11 17U7PT-0002ov-00 <= <> R=17U7PT-0002ot-00 U=exim P=local
S=1492
2002-07-15 17:05:11 17U7PT-0002ov-00 ** webmaster@???: Unrouteable
address
2002-07-15 17:05:11 17U7PT-0002ov-00 Frozen (delivery error message)
2002-07-15 17:05:11 17U7PT-0002ot-00 Completed

Can someone help me solve those 2 problems ?

Thank you.
Jerome