From: Noel Jones on
On 10/24/2009 10:26 AM, Daniel Caillibaud wrote:
> I have a pb with some mails (with unknown domains) injected into postfix locally by fetchmail.
>
> postfix reject smtp transaction when sender domain name is not found, which is wanted exepted when it's a fetched mail.
>
> I don't want fetchmail send directly to delivery agent because I want spamassassin doing its job.
>
> Error msg is
> Oct 24 17:15:03 v0 postfix/smtpd[1495]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 450 4.1.8
> <admin(a)prixmalin.eu>: Sender address rejected: Domain not found; from=<admin(a)prixmalin.eu> to=<daniel(a)lairdutemps.org>
> proto=ESMTP helo=<v0.edulibre.org>
>
> I have in main.cf
>
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
>
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
> reject_unauth_destination,
> reject_unknown_recipient_domain,
> reject_non_fqdn_recipient,
> warn_if_reject reject_unverified_recipient
>
> I understood that restrictions should stop when permit_mynetworks occurs, but it's not the case so I misunderstood
> something, I just don't find what...
>

You probably need to add permit_mynetworks to the other
smtpd_*_restrictions sections you have defined.

If you need more help, show "postconf -n" output as requested
in the list welcome message.

-- Noel Jones

From: Daniel Caillibaud on
Le 24/10/09 à 10:41, Noel Jones <njones(a)megan.vbhcs.org> a écrit :

> You probably need to add permit_mynetworks to the other
> smtpd_*_restrictions sections you have defined.

Thanks, it was smtpd_sender_restrictions

> If you need more help, show "postconf -n" output as requested
> in the list welcome message.

Sorry, I subscribed a year ago and forgot this, it's my first post (I'm using this list as a knowledge base), I won't forget.

--
Daniel

From: Michael Tokarev on
Daniel Caillibaud wrote:
> I have a pb with some mails (with unknown domains) injected into postfix locally by fetchmail.
>
> postfix reject smtp transaction when sender domain name is not found, which is wanted exepted when it's a fetched mail.
>
> I don't want fetchmail send directly to delivery agent because I want spamassassin doing its job.
>
> Error msg is
> Oct 24 17:15:03 v0 postfix/smtpd[1495]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 450 4.1.8
> <admin(a)prixmalin.eu>: Sender address rejected: Domain not found; from=<admin(a)prixmalin.eu> to=<daniel(a)lairdutemps.org>
> proto=ESMTP helo=<v0.edulibre.org>
>
> I have in main.cf
>
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
>
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
> reject_unauth_destination,
> reject_unknown_recipient_domain,
> reject_non_fqdn_recipient,
> warn_if_reject reject_unverified_recipient
>
> I understood that restrictions should stop when permit_mynetworks occurs, but it's not the case so I misunderstood
> something, I just don't find what...

How about following the fine instructions presented to you when
you joined this list? In particular, it says about posting
`postconf -n' output.

/mjt