The same with postfix 1.8.1

The first one respects "default_transport = error:5.1.2 mail to remote domains 
not permitted" but the second one
must be catched with "relayhost = 127.0.0.1" to prevent relay to the internet 
which is also active while sending
the first testmail but "relayhost" should not be triggered as long postfix 
should reject the "rcpt to"

Feb 23 12:52:59 localhost postfix/error[16747]: 0FAAADDD7: 
to=<t...@microsoft.com>, relay=none, delay=0.09,
delays=0.05/0.04/0/0.01, dsn=5.1.2, status=bounced (mail to remote domains not 
permitted)

Feb 23 12:53:43 localhost postfix/smtp[16770]: 9E90BE051: to=<t...@de.bp.com>, 
relay=none, delay=0.07,
delays=0.01/0.05/0/0, dsn=4.3.5, status=deferred (mail for 127.0.0.1 loops back 
to myself)

regards from austria

Am 21.02.2011 13:43, schrieb Reindl Harald:
> Hi
> 
> In a local machine i have the following setup to prevent sending outside
> and catch some domain local, but why in the world is the second log-entry
> relayed instead reject like the first one?
> 
> default_transport = error:5.1.2 mail to remote domains not permitted
> 
> Now i fixed this problem with "relayhost = 127.0.0.1" but this is a dirty 
> workaround
> This seems to happen everytime a subdomain is involved and maybe postfix 
> 2.8.0 only
> ____________________
> 
> Feb 21 13:23:05 postfix/smtpd[13782]: NOQUEUE: reject: RCPT from 
> localhost[127.0.0.1]: 550 5.1.2
> <t...@microsoft.com>: Recipient address rejected: mail to remote domains not 
> permitted; from=<rhs...@test.rh>
> to=<t...@microsoft.com> proto=ESMTP helo=<[127.0.0.1]>
> 
> Feb 21 13:25:22 postfix/cleanup[13829]: 4088648A8: 
> message-id=<4d6259b1.5070...@test.rh>
> Feb 21 13:25:22 postfix/qmgr[13436]: 4088648A8: from=<rhs...@test.rh>, 
> size=714, nrcpt=1 (queue active)
> Feb 21 13:25:23 postfix/smtp[13835]: Host offered STARTTLS: 
> [cluster8.us.messagelabs.com]
> Feb 21 13:25:23 postfix/smtp[13835]: 4088648A8: to=<t...@de.bp.com>,
> relay=cluster8.us.messagelabs.com[216.82.254.195]:25, delay=1.2, 
> delays=0.07/0.01/0.7/0.38, dsn=2.0.0, status=sent
> (250 ok 1298291123 qp 22271 
> server-11.tower-200.messagelabs.com!1298291122!61653925!1)
> 
> Feb 21 13:41:52 postfix/qmgr[14369]: 2D60D3DF7: from=<rhs...@test.rh>, 
> size=729, nrcpt=1 (queue active)
> Feb 21 13:41:52 postfix/smtp[14418]: warning: relayhost configuration problem
> Feb 21 13:41:52 postfix/smtp[14418]: 2D60D3DF7: to=<t...@test.thelounge.net>, 
> relay=none, delay=0.05,
> delays=0.03/0.01/0/0, dsn=4.3.5, status=deferred (mail for 127.0.0.1 loops 
> back to myself)


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to