Pascal Volk a écrit :
On 07/19/2009 10:32 AM denis wrote:
Pascal Volk a écrit :
Is the domain part of the recipient address listed in mydestination?
No, all information are retrieved from mysql via user_query = SELECT path as home, 33 as uid, 33 as gid FROM mail_users WHERE alias='%u'
^^^^^^^
Is this the query from the file '/etc/postfix/myalias.cf'? Oh no, it's the 'user_query' from dovecot-sql.conf.
Yes, sorry.
postmap -q denis@collectifs.net mysql:/etc/postfix/myalias.cf
returns denis_collectifs.net@altern.domainepublic.net?
No,
postmap -q denis_collectifs.net mysql:/etc/postfix/myalias.cf
returns
/var/alternc/mail/d/denis_collectifs.net
Is altern.domainepublic.net on of the domains in mydestination?
Yes.
Also show a few lines from /var/log/mail.log - from 'connect from ...' until 'mail delivered ...'.
… Jul 19 10:07:57 altern postfix/local[9647]: D6B4646123: to=denis_collectifs.net@altern.domainepublic.net, relay=local, delay=0.08, delays=0.01/0/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -m /var/alternc/mail/d/denis_collectifs.net/.procmailrc) …
altern.domainepublic.net seems to be a 'local domain' - not a virtual domain. The email was delivered to the command procamil, not piped to Dovecots deliver.
Yes, and all the mails are alias from altern.domainepublic.net like denis@collectifs.net is denis_collectifs.net@altern.domainepublic.net ...
Please attach the the most current output from
dovecot -n
andpostconf -n
to your reply.
dovecot - n http://pastebin.com/d31978026 postconf -n http://pastebin.com/d3242f46a
Thanks a lot ! Denis