View previous topic :: View next topic |
Author |
Message |
elitecodex n00b
Joined: 15 Mar 2005 Posts: 30 Location: MD
|
Posted: Sun Apr 09, 2006 4:02 am Post subject: Postfix - Spam Filtering with SMTP AUTH |
|
|
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 |
|
|
elitecodex n00b
Joined: 15 Mar 2005 Posts: 30 Location: MD
|
Posted: Fri Apr 14, 2006 9:26 am Post subject: |
|
|
Any ideas? I can't imagine Im the only one with this problem. |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Fri Apr 14, 2006 1:21 pm Post subject: |
|
|
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 |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Fri Apr 14, 2006 2:00 pm Post subject: |
|
|
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 |
|
|
|