Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix - Spam Filtering with SMTP AUTH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Sun Apr 09, 2006 4:02 am    Post subject: Postfix - Spam Filtering with SMTP AUTH Reply with quote

I have a queestion.

I have a Postfix (with SASL Authentication) / SpamAssassin / Cyrus (POP3 & IMAP) setup with virtual hosting (two domains) that is working good.

However, I have a question about the Spam filtering. It seems that when some people send mail from their home (via the ISP) its getting marked as spam. How can I basically disable spam scanning for people that can properly authenticate themselves to the smtp server?

I did look around but couldn't find much. Any help would be greatly appreciated.

Thanks
Back to top
View user's profile Send private message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Fri Apr 14, 2006 9:26 am    Post subject: Reply with quote

Any ideas? I can't imagine Im the only one with this problem.
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Fri Apr 14, 2006 1:21 pm    Post subject: Reply with quote

What test is being triggered? You could change the value of that rule. I don't know that SpamAssassin can tell if a message was sent via an authenticated path.

You may also examine the method SpamAssassin is called and see if Postfix or your LDA can bypass it. I don't know Postfix well enough to know how it does this.

[edit]Upon further coffee consumption, I also have my doubts about
Quote:
It seems that when some people send mail from their home (via the ISP) its getting marked as spam. How can I basically disable spam scanning for people that can properly authenticate themselves to the smtp server?

If your users are sends email to work, via their ISP, there's little likliehood that they've authenticated to your SMTP server. Perhaps even with the current coffee level, I misunderstand your situation.

Dave


Last edited by DaveArb on Fri Apr 14, 2006 2:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Apr 14, 2006 2:00 pm    Post subject: Reply with quote

You are probably calling SpamAssassin (SA) as a content_filter under Postfix. This is often done as an entry in master.cf for the smtpd. You need a set-up a method to avoid this for authenticated users.

Having a second listening SMTPD instance with no content_filter just for local and auth users is one option and quite simple to implement. A further IP on a second virtual interface was suggested by badchien on here. In fact that post may help you https://forums.gentoo.org/viewtopic-t-440774-highlight-postfix.html

You can also move calling it from master.cf to main.cf under smtpd_x_restrictions and make some allow statements such as my networks and auth users and then have remaining (i.e. Incoming) hit the spam filter. A search for SA scanning outgoing only will help you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum