Carlos, On 8/5/2009 7:15 AM, Carlos Williams wrote: > I checked and the settings appear to be coming from > "20-debian_default" as follows: > > $final_virus_destiny = D_DISCARD; # (data not lost, see virus > quarantine) > $final_banned_destiny = D_BOUNCE; # D_REJECT when front-end MTA > $final_spam_destiny = D_BOUNCE; > $final_bad_header_destiny = D_PASS; # False-positive prone (for spam) > > Should I set both "D_BOUNCE" to "D_DISCARD" or just the "$final_spam_destiny"?
I set my $final_banned_destiny to D_DISCARD (goes to quarantine), so that I have a shot at releasing potential FPs. This has happened on several occasions. > >>> Second issue is when the sender receives a notification that their >>> message was rejected, the message is sent from >>> <postmas...@mail.iamghost.com> rather than just >>> <postmas...@iamghost.com>. >> >> The domain name in the $hdrfrom_notify_sender defaults to $myhostname. >> Either change the $myhostname, or assign $hdrfrom_notify_sender directly: > > I checked the file "05-domain_id" and I can't seem to find where > Amavisd-new is reading the $myhostname parameter from. When I edit > "20-debian_defaults" I see: From the released amavisd.conf-default, one discovers: # $myhostname = ... predefined default from uname(3), must be a FQDN # $mydomain = ... no useful default, should be set if used in expressions You can set $myhostname and $mydomain manually; sometimes its safer/clearer/easier to be explicit. Consider grabbing a copy of the source, so that you have both the amavisd.conf-default and amavisd.conf-sample files for reference. > > $virus_admin = "postmast...@$mydomain"; # due to D_DISCARD default > > # Set to empty ("") to add no header > $X_HEADER_LINE = "Debian $myproduct_name at $mydomain"; > > Should I simple just change that to "postmas...@iamghost.com? I am > just making sure I am make the right change in the right section of > the right file. > > Thanks for your assistance! > > - Carlos > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/