Patrice Go via Postfix-users: > Hi, > > I ve a problem with my postfix/(dovecot?) configuration. > When i send a message to aliases, it is going to internal mailboxes > directory better than going to the external emails. > > here my configuration : > https://paste.debian.net/1281818/
If this is using virtual_alias_maps, make sure that virtual_alias_maps result has the form u...@example.com, otherwise Potfix will use the form user@myorigin. Wietse > logs from p...@domain.org to cont...@domain.org alias : > > Jun 2 20:10:44 mail postfix/smtpd[630664]: connect from > entree.lan[172.xxx.xx200] > Jun 2 20:10:44 mail postfix/smtpd[630664]: CC8872E12A8: > client=entree.lan[172.xxx.xx200], sasl_method=PLAIN, sasl_username=pat > Jun 2 20:10:44 mail postfix/cleanup[624731]: CC8872E12A8: message-id=< > aaeb756d-95cc-426e-8b8a-9892366f6...@domain.org> > Jun 2 20:10:44 mail postfix/qmgr[1185941]: CC8872E12A8: from=< > p...@domain.org>, size=673, nrcpt=1 (queue active) > Jun 2 20:10:44 mail postfix/smtpd[630664]: disconnect from > entree.lan[172.xxx.xx200] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 > quit=1 commands=8 > Jun 2 20:10:44 mail amavis[185164]: (!)loading policy bank "ORIGINATING": > unknown field "***Encrypted Message***" > Jun 2 20:10:45 mail postfix/10025/smtpd[630672]: connect from > localhost[127.0.0.1] > Jun 2 20:10:45 mail postfix/10025/smtpd[630672]: 331C32E12B9: > client=localhost[127.0.0.1] > Jun 2 20:10:45 mail postfix/cleanup[624731]: 331C32E12B9: message-id=< > aaeb756d-95cc-426e-8b8a-9892366f6...@domain.org> > Jun 2 20:10:45 mail postfix/qmgr[1185941]: 331C32E12B9: from=< > p...@domain.org>, size=1118, nrcpt=1 (queue active) > Jun 2 20:10:45 mail postfix/10025/smtpd[630672]: disconnect from > localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 > Jun 2 20:10:45 mail amavis[185164]: (185164-02) Passed CLEAN > {RelayedOutbound}, ORIGINATING LOCAL [172.xxx.xx200]:54910 <p...@domain.org> > -> <cont...@domain.org>, Queue-ID: CC8872E12A8, Message-ID: < > aaeb756d-95cc-426e-8b8a-9892366f6...@domain.org>, mail_id: 7KGGygK6Vk8g, > Hits: -1.008, size: 636, queued_as: 331C32E12B9, 350 ms > Jun 2 20:10:45 mail postfix/amavis/smtp[630667]: CC8872E12A8: to=< > cont...@domain.org>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.48, > delays=0.11/0.01/0/0.35, dsn=2.0.0, status=sent (250 2.0.0 from > MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 331C32E12B9) > Jun 2 20:10:45 mail postfix/qmgr[1185941]: CC8872E12A8: removed > Jun 2 20:10:45 mail postfix/lmtp[630063]: 331C32E12B9: to=< > cont...@domain.org>, relay=domain.org[private/dovecot-lmtp], delay=0.19, > delays=0.08/0/0/0.1, dsn=2.0.0, status=sent (250 2.0.0 <cont...@domain.org> > DERcccwemzzzgkAxwwwjw Saved) > Jun 2 20:10:45 mail postfix/qmgr[1185941]: 331C32E12B9: removed > > Postmap for aliases : > # postmap -q contact mysql:/etc/postfix/virtual/mysql-virtual-alias-maps.cf > x...@domain.org,xx...@gmx.fr,p...@domain.org,xxxxxx.r...@gmail.com, > xcvfdrr...@hotmail.fr > > is there something wrong on my configuration ? > > regards, > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org