Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Filtering SPAM sent by local user apache
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
Kermit_CPub
n00b
n00b


Joined: 14 Mar 2003
Posts: 32
Location: Austria

PostPosted: Wed Jan 31, 2007 2:37 pm    Post subject: Filtering SPAM sent by local user apache Reply with quote

Current situation: SPAMers are (trying) to use misc. forms (PHP, PL) etc on our Apache for sending email. Most of these are catched by mod_security. For the remaining ones I would like to filter these SPAMs by their originating sender, because it is always using the local user apache having "apache@our_server" as sender-adress. Therefore it should be quite easily to filter them by a simple rule. But as apache is using sendmail from postfix it bypasses the amavisd.

Are there any suggestions how I can easily filter emails send from "apache@our_server" using postfix?

Remark: other EMails sent by apache do have a "correct" sender-address differing from "apache@our_server".
_________________
http://www.tuwien.ac.at
Back to top
View user's profile Send private message
venquessa2
Apprentice
Apprentice


Joined: 27 Oct 2004
Posts: 283

PostPosted: Wed Jan 31, 2007 4:18 pm    Post subject: Reply with quote

I'd get rid of the generic mail scripts.

Code:
man header_checks


Should help you stop them with Postfix though.
_________________
Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done
Back to top
View user's profile Send private message
Kermit_CPub
n00b
n00b


Joined: 14 Mar 2003
Posts: 32
Location: Austria

PostPosted: Thu Feb 01, 2007 10:09 am    Post subject: Reply with quote

Thanks a lot for the fast answer - i'll try it and report back later ;)
_________________
http://www.tuwien.ac.at
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