[AMaViS-user] bypass spam
Hi *, I have a postfix which sends emails to a remote amavis. That amavis considers every domain as a local domain (there isn't a lookup). Is it possibile, with this situation, bypass spam for the domain example.com if the email is sent from the domain example.com? PS: bypass_spam_acl applied to the domain example.com, doesn't work because bypasses every email sent to example.com Tnx in advance -- Davide Corio [EMAIL PROTECTED] Redomino S.r.l.C.so Monte Grappa 90/b - 10145 Torino - Italy Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/ --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] bypass spam
Davide wrote: Hi *, I have a postfix which sends emails to a remote amavis. That amavis considers every domain as a local domain (there isn't a lookup). Is it possibile, with this situation, bypass spam for the domain example.com if the email is sent from the domain example.com? PS: bypass_spam_acl applied to the domain example.com, doesn't work because bypasses every email sent to example.com The check is based on recipient address, not sender address. Tnx in advance What version of amavisd-new are you running? How many other domains are sending outgoing mail through the remote amavis? Gary V --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] OT: amavis-stats RH9
On Sat, 2006-03-04 at 13:15 +0100, Peter Huetmannsberger wrote: Senmail creates logfiles with root:mail amavis runs as amavis and is member of the group mail. apache runs as nobody (and I can't possibly add nobody to the group mail). If I create the rrd files as amavis, apache can't read them, if I create them as nobody, the maillog files can't be read. Any good ideas? You need to set the log level to 5 for amavis-stats to work properly, and that would make your mail log really really messy. So rather let amavis log to a separate logfile. That's what I do on all my mail servers. Hans --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] OT: amavis-stats RH9
On Mar 8, 2006, at 15:36 , Hans du Plooy wrote: On Sat, 2006-03-04 at 13:15 +0100, Peter Huetmannsberger wrote: Senmail creates logfiles with root:mail amavis runs as amavis and is member of the group mail. apache runs as nobody (and I can't possibly add nobody to the group mail). If I create the rrd files as amavis, apache can't read them, if I create them as nobody, the maillog files can't be read. Any good ideas? You need to set the log level to 5 for amavis-stats to work properly, and that would make your mail log really really messy. So rather let amavis log to a separate logfile. That's what I do on all my mail servers. I log to a separate file and have the level set to 2 and I get good results. mustangrestomods:~ root# grep -n -H -e log_level /etc/amavisd.conf /etc/amavisd.conf:304:$log_level = 2; # (defaults to 0) /etc/amavisd.conf:307:# $log_level=0) (take care to properly quote Perl special characters like '\') /etc/amavisd.conf:2053:# log_level = 3, /etc/amavisd.conf:2093:# log_level = 3, mustangrestomods:~ root# as well, set the following in amavisd.conf /etc/amavisd.conf.good:192:@local_domains_maps = (1); # $mydomain and its subdomains You're line numbers may differ. Hans -- Dale --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] Bypassing Attachment Checking for Outbound Messages
I would like to prevent .jpg and .gif attachments from coming into my mail server for my domain. The objective of this is to prevent any potential pornographic images that may get through the spam filters. However, I want my internal users to be able to send .jpg images as attachments, as they have a legitimate purpose. Can this be accomplished by somehow whitelisting our internal IP address subnets such as 192.168.10.0/24? I am running postfix and clamav as well. Thank you in advance for any suggestions. ///Jason --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Bypassing Attachment Checking for Outbound Messages
Jason wrote: I would like to prevent .jpg and .gif attachments from coming into my mail server for my domain. The objective of this is to prevent any potential pornographic images that may get through the spam filters. However, I want my internal users to be able to send .jpg images as attachments, as they have a legitimate purpose. Can this be accomplished by somehow whitelisting our internal IP address subnets such as 192.168.10.0/24? I am running postfix and clamav as well. Thank you in advance for any suggestions. ///Jason Your best bet is to use the policy bank MYNETS http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex http://marc.theaimsgroup.com/?l=amavis-userm=113415019700881w=2 There are also examples in amavisd.conf-sample. Hopefully you are using version 2.0 or newer. Gary V --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Bypassing Attachment Checking for Outbound Messages
Gary wrote: Jason wrote: I would like to prevent .jpg and .gif attachments from coming into my mail server for my domain. The objective of this is to prevent any potential pornographic images that may get through the spam filters. Slipped by me. Amavisd-new does not support stripping attachments if that is what you are after. It you quarantine or discard mail with banned attachments, the whole message will be not be delivered to the recipient. You will have to work out whether a user should be notified if a banned message is quarantined, and whether they can retrieve the message from the quarantine. The users' MUA may be capable of blocking images and may be a partial solution for incoming mail. $warnbannedrecip Gary V --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Bypassing Attachment Checking for Outbound Messages
Gary V wrote: Your best bet is to use the policy bank MYNETS http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex http://marc.theaimsgroup.com/?l=amavis-userm=113415019700881w=2 There are also examples in amavisd.conf-sample. Gary, thank you very much for your quick response. I was looking for some guidance and have it working fine now. For the record and future searches on the issue here is what I did. in /etc/amavisd.conf: $inet_socket_port = [10024, 10026]; $interface_policy{'10026'} = 'INTERNAL'; $policy_bank{'INTERNAL'} = { bypass_spam_checks_maps = [1], bypass_banned_checks_maps = [1], final_spam_destiny = D_PASS, final_banned_destiny = D_PASS, }; in /etc/postfix/main.cf: smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/amavis_internal, permit_mynetworks, reject_unauth_destination in /etc/postfix/amavis_internal: 192.168.10.100 FILTER smtp-amavis:[127.0.0.1]:10026 Thank you again for your help, I appreciate it. ///Jason --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] [SOT] re-rewriting subject bbefore spam check
hi all, a slightly off-track question: my upstream smtp provider is already running an anti-spam solution and i therefore have messages coming in with a subject *** SPAM *** preceding the original subject, and the provider leaves me no solution to stop it. i'd like to re-write the subject, eliminating the *** SPAM before amavis has a look at it and before it trains bayes -- bayes (i think) would start to notice that spam mails have a subject that is easy to spot. i'm using postfix and would rather not have to try to develop a content filter (for performance reasons) before handing the message to amavisd. is it possible to put perl code into the amavisd.conf to do this? cheers charles --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] bypass spam
Il giorno mer, 08/03/2006 alle 13.00 -0700, Gary V ha scritto: PS: bypass_spam_acl applied to the domain example.com, doesn't work because bypasses every email sent to example.com The check is based on recipient address, not sender address. Is there something similar concerning the sender address? What version of amavisd-new are you running? I'm using the version included in Debian Sarge = 20030616p10-5 How many other domains are sending outgoing mail through the remote amavis? dozens best regards, -- Davide Corio [EMAIL PROTECTED] Redomino S.r.l.C.so Monte Grappa 90/b - 10145 Torino - Italy Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/ --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/