On Wed, 15 Dec 2010 23:28:39 +0100 Jeroen Geilman <jer...@adaptr.nl> wrote:
> On 12/15/10 10:24 PM, Ted To wrote: > > On Wed, 15 Dec 2010 22:16:45 +0100 > > Jeroen Geilman<jer...@adaptr.nl> wrote: > > > >> Oh FGS just *include it in the mail*. > > Sorry -- I thought I was making the email more readable... > > > >> This expands aliases: > >> > >> alias_maps = hash:/etc/aliases > >> virtual_alias_maps = hash:/etc/postfix/valias.txt > >> > >> And this forbids alias expansion: > >> > >> receive_override_options = no_address_mappings > > This is in my working main.cf without TLS with no problems. It's > > not an alias that is being rejected. > > Impossible to say without LOGS. I assume you mean /var/log/mail.log. There is output from two different sessions here. The first is sent to a gmail address that subsequently forwards it to the desired destination. The second is sent directly to the desired destination. As you can see, the former leaves my server without any problems but upon being re-received, is rejected. The latter doesn't even make it out the gate. Dec 15 19:57:51 kahlo postfix/smtpd[11144]: connect from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58] Dec 15 19:57:51 kahlo postfix/trivial-rewrite[11148]: warning: do not list domain theo.to in BOTH mydestination and virtual_mailbox_domains Dec 15 19:57:51 kahlo postfix/smtpd[11144]: F158B341DF: client=c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58], sasl_method=PLAIN, sasl_username=rainexpec...@theo.to Dec 15 19:57:52 kahlo postfix/cleanup[11149]: F158B341DF: message-id=<20101215195750.a418f494.rainexpec...@theo.to> Dec 15 19:57:52 kahlo postfix/qmgr[11061]: F158B341DF: from=<rainexpec...@theo.to>, size=660, nrcpt=1 (queue active) Dec 15 19:57:52 kahlo postfix/smtpd[11144]: disconnect from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58] Dec 15 19:57:52 kahlo postfix/smtpd[11153]: connect from localhost[127.0.0.1] Dec 15 19:57:52 kahlo postfix/trivial-rewrite[11148]: warning: do not list domain theo.to in BOTH mydestination and virtual_mailbox_domains Dec 15 19:57:52 kahlo postfix/smtpd[11153]: CF360341E0: client=localhost[127.0.0.1] Dec 15 19:57:52 kahlo postfix/cleanup[11149]: CF360341E0: message-id=<20101215195750.a418f494.rainexpec...@theo.to> Dec 15 19:57:52 kahlo postfix/qmgr[11061]: CF360341E0: from=<rainexpec...@theo.to>, size=1094, nrcpt=1 (queue active) Dec 15 19:57:52 kahlo postfix/smtpd[11153]: disconnect from localhost[127.0.0.1] Dec 15 19:57:52 kahlo amavis[9683]: (09683-13) Passed CLEAN, [68.48.70.58] [68.48.70.58] <rainexpec...@theo.to> -> <rainexpec...@gmail.com>, Message-ID: <20101215195750.a418f494.rainexpec...@theo.to>, mail_id: 7DBVnL7FPTcU, Hits: 0.767, size: 660, queued_as: CF360341E0, 732 ms Dec 15 19:57:52 kahlo postfix/smtp[11150]: F158B341DF: to=<rainexpec...@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1, delays=0.24/0.01/0.04/0.71, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09683-13, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as CF360341E0) Dec 15 19:57:52 kahlo postfix/qmgr[11061]: F158B341DF: removed Dec 15 19:57:53 kahlo postfix/smtp[11154]: CF360341E0: to=<rainexpec...@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.91.27]:25, delay=0.75, delays=0/0.03/0.13/0.59, dsn=2.0.0, status=sent (250 2.0.0 OK 1292461073 g29si3325005qck.35) Dec 15 19:57:53 kahlo postfix/qmgr[11061]: CF360341E0: removed Dec 15 19:57:56 kahlo postfix/smtpd[11144]: connect from mail-gw0-f44.google.com[74.125.83.44] Dec 15 19:57:56 kahlo postfix/smtpd[11144]: NOQUEUE: reject: RCPT from mail-gw0-f44.google.com[74.125.83.44]: 550 5.1.1 <rainexpec...@theo.to>: Recipient address rejected: User unknown in local recipient table; from=<rainexpected+caf_=rainexpected=theo...@gmail.com> to=<rainexpec...@theo.to> proto=ESMTP helo=<mail-gw0-f44.google.com> Dec 15 19:57:56 kahlo postfix/smtpd[11144]: disconnect from mail-gw0-f44.google.com[74.125.83.44] Dec 15 19:58:28 kahlo postfix/smtpd[11144]: connect from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58] Dec 15 19:58:29 kahlo postfix/smtpd[11144]: NOQUEUE: reject: RCPT from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58]: 550 5.1.1 <rainexpec...@theo.to>: Recipient address rejected: User unknown in local recipient table; from=<rainexpec...@theo.to> to=<rainexpec...@theo.to> proto=ESMTP helo=<okeefe.theo.to> Dec 15 19:58:33 kahlo postfix/smtpd[11144]: lost connection after RCPT from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58] Dec 15 19:58:33 kahlo postfix/smtpd[11144]: disconnect from c-68-48-70-58.hsd1.dc.comcast.net[68.48.70.58]