Mailinglist Archive: opensuse (714 mails)

< Previous Next >
Re: [opensuse] Postfix/dovecot - allow relay from phone - How??
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Fri, 07 Oct 2011 08:40:42 +0200
  • Message-id: <j6m6ta$84h$2@saturn.local.net>
Wolfgang Rosenauer wrote:

Hi,

Am 07.10.2011 01:02, schrieb David C. Rankin:
The error I get is basically:

Oct 3 16:27:27 nirvana postfix/smtpd[16604]: connect from
unknown[166.205.10.236]
Oct 3 16:27:28 nirvana postfix/smtpd[16604]: NOQUEUE: reject: RCPT
from unknown[166.205.10.236]: 554 5.7.1 Service unavailable; Client
host
[166.205.10.236] blocked using zen.spamhaus.org;
http://www.spamhaus.org/query/bl?ip=166.205.10.236;
from=<david@xxxxxxxxxxxx> to=<Drankin@xxxxxxxxxxxxxxx> proto=ESMTP
helo=<[10.16.59.185]>
Oct 3 16:27:28 nirvana postfix/smtpd[16604]: disconnect from
unknown[166.205.10.236]

From TLS my server knows it's me (i.e. from=<david@xxxxxxxxxxxx>)
and
it is killing the relay. That's where I'm stuck. Anybody else got
this ironed out??

Not sure if your configuration is correct so far but the spamhaus
reject is configured in some other smtpd_*_restrictions. Likely in
smtpd_client_restrictions what's evaluated before the recipient
restrictions.
Since you haven't posted the other restriction setting I can only
guess that you need to add permit_sasl_authenticated before the
reject_rbl_client zen.spamhaus.org.

That would work, but why even bother with an rbl check for this kind of
traffic? Set up a separate smtpd on port 587.


--
Per Jessen, Zürich (9.7°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >