Title: RE: Limiting outbound SMTP spam checks
doh.. i couldn't reply to the email you sent me because it bounced again :-)
 
what i said was -
 
I guess it could be something to do with check_helo_access or check_client_access at the start of smtpd_recipient_restrictions.. it's a little odd if you're receiving mail ok from other people.
 
I'm also a bit of a beginner in the grand scheme of things where postfix is concerned so there's every chance it's something else, though I'm sure it's nothing "odd" with my config (also running postfix).
 
If you don't get any joy try the mailing list at www.postfix.org, though if you post your config stick to "postconf -n" to just give them the non-defaults.. otherwise the locals can be a little scary :-)
 
regards,
Paul

-----Original Message-----
From: Paul Hutchings
Sent: 26 February 2004 20:28
To: '[EMAIL PROTECTED]'
Subject: RE: Limiting outbound SMTP spam checks

Dean,

Tried to mail you but got this -

<[EMAIL PROTECTED]>: host lists.onenw.org[216.162.198.201] said: 554 <relay.mira.co.uk>: Helo command rejected: Access denied (in reply to RCPT TO command)

kinda curious why since we're "nice n clean" but hey your server your rules :-)

Take a look at http://www.advosys.ca/papers/printable/postfix-filtering.html - the trick is to not call the content filter from master.cf, but to call it using check_recipient_access within smtpd_recipient_restrictions in the postfix main.cf, this will let you specify which domains you want to call spamassassin for.

There may be other ways of doing it but I know this works for us on a relay in our DMZ handling all mail in and out.

regards,
Paul
-----Original Message-----
From: Dean Ericksen [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2004 20:08
To: [EMAIL PROTECTED]
Subject: Limiting outbound SMTP spam checks



I have a non-traditional network architecture - I need to run spamassassin against all inbound SMTP (generally messages to sympa email lists), but not invoke spamd when sending outbound messages. I realize this must be easy, but I can't get my head around it right now.


The smtp entry in my (postfix) "master.cf" file is:
 
smtp    inet    n       -       y       -       -       smtpd
        -o content_filter=postfixfilter:
 
postfixfilter unix - n n - - pipe
        flags=Rq user=postfixfilter argv=/usr/bin/postfixfilter -f ${sender} -- ${recipient}
 
 
...and "/usr/bin/postfixfilter" looks like:
 
#!/bin/bash
 
/usr/bin/spamc | /usr/sbin/sendmail -i "$@"
 
exit $?
 
 
 
Any thoughts appreciated.
 
 
-Dean
ONE/Northwest
 
 

Reply via email to