Leutnant Steiner wrote:
hi !
this is the logmessage i get when postfix rejects a sender ip when not
found in $mynetowrks
NOQUEUE: reject: RCPT from unknown[192.168.0.29 <http://192.168.0.29>]:
451 4.3.5 Server configuration error; from=<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> to=<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> proto=SMTP helo=<amisdf.sdfsdf.at
<http://amisdf.sdfsdf.at>>
Oct 30 12:38:12 smallsau postfix/smtpd[31559]: > unknown[192.168.0.29
<http://192.168.0.29>]: 451 4.3.5 Server configuration error
i tested with:
mynetworks = mysql:/etc/postfix/mysql.mynetworks.cf
<http://mysql.mynetworks.cf>
and
mynetworks = 127.0.0.0/8 <http://127.0.0.0/8>
( behaves in the same way )
for testing i did set:
unknown_hostname_reject_code = 6663
but the recect-code is not shown ....
That's not a valid reject code, and will cause a server
configuration error.
You can't make up your own reject code; valid codes are
defined in RFC2821, which defines the SMTP protocol. For
practical purposes, your choices are 550 for a permanent
reject or 450 to defer the mail.
--
Noel Jones