View previous topic :: View next topic |
Author |
Message |
Kermit_CPub n00b
Joined: 14 Mar 2003 Posts: 32 Location: Austria
|
Posted: Wed Jan 31, 2007 2:37 pm Post subject: Filtering SPAM sent by local user apache |
|
|
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 |
|
|
venquessa2 Apprentice
Joined: 27 Oct 2004 Posts: 283
|
Posted: Wed Jan 31, 2007 4:18 pm Post subject: |
|
|
I'd get rid of the generic mail scripts.
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 |
|
|
Kermit_CPub n00b
Joined: 14 Mar 2003 Posts: 32 Location: Austria
|
Posted: Thu Feb 01, 2007 10:09 am Post subject: |
|
|
Thanks a lot for the fast answer - i'll try it and report back later _________________ http://www.tuwien.ac.at |
|
Back to top |
|
|
|