Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Only alias-asdresses are scanned by Spamassassin [solved]
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
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Wed Apr 27, 2005 1:51 pm    Post subject: Only alias-asdresses are scanned by Spamassassin [solved] Reply with quote

I had a thread running about this but noone
seems te read it anymore. Meanwhile I discovered something new in the issue so I decided to start a new thread.

I have a mailserver running Postfix, Courier-IMAP, Amavisd-new and Spamassassin.
The problem is that only alias-adresses are scanned by Spamassassin. For example, if I have this line
in my /etc/mail/aliases:
Code:

scanned:     notscanned

you'll see that scanned is an alias that puts the mail into the mailbox of account notscanned.
Every email send to scanned@mydomain.com will be scanned by Spamassassin and spam will be intercepted.
However, every email send to notscanned@mydomain.com (an actual account) won't be scanned.

Does anyone know what causes this???? :?

Thanks! :D
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.


Last edited by mariourk on Tue May 03, 2005 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Thu Apr 28, 2005 6:41 am    Post subject: Reply with quote

Looking more close to the problem, it seems that only the virtual domain adresses are scannend.
So the aliases found /etc/mail/aliases aren't scanned either.

With virtual domains I mean these Postfix options
Code:

virtual_alias_domains = visserijnieuws.nl urkerland.nl
virtual_alias_maps = hash:/etc/postfix/virtual


So why are the virtual domains scanned and the primary domain adresses aren't?? :?

I really hope someone can set some light on this... :D
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.


Last edited by mariourk on Tue May 03, 2005 12:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Tue May 03, 2005 9:45 am    Post subject: Reply with quote

*bump*

Noone?? :cry:
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Tue May 03, 2005 8:43 pm    Post subject: Reply with quote

Thanks to a suggestion on the Amavisd-new mailinglist I managed to finally
solve this nasty issue. It turned out that my primairy domain somehow was listed in the bypass_spam_checks list.

Someone on the mailinglist suggested to increase the loglevel (thanks mark!) to get more information. After doing so I saw this:
Code:

lookup (bypass_spam_checks) => true,  "devnull@gbugroep.nl" matches, result="1", matching_key="gbugroep.nl"

I know, this sounds *very* dumb. But somehow it happend and it took me weeks to find the solution :oops: :oops: :oops: :oops:

Hopefully, someday, someone might find this thread usefull :wink:
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
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