[AMaViS-user] disable header-check in amavisd-new
Hello I´m running a small mailgateway with postfix, courier-imap, sqwebmail and fetchmail (with multidrop mailbox !) How can I disable the header-check in amavisd-new (debian sarge) ? Some mails were rejected because of non encoded 8 bit data in message header. Line 402 /etc/amavis/amavisd.conf --8-- $final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE suggested --8-- Doesn´t it means, that mail with a bad header is still be delivered to the recipient ?? Which line do I have to comment out to disable the header_check ? Thank you for help and ignoring my bad English ;-) Sincerely Michael --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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] BDB issue?
Been having issues with amavisd-new 2.3.3 shutting down on us mainly in the middle of the night, I restart amavis and all is well until the next night. We are not doing anyting on the server (backups, etc.) at night than we have since before the issue arose. I found the following error in the logs just prior to amavis shutting itself down. Feb 8 23:04:26 esmtp amavis[53810]: (53810-03) TROUBLE in check_mail: update_cache FAILED: BDB C db_cursor: Locker does not exist, Interrupted system call. at (eval 52) line 122. Feb 8 23:04:26 esmtp amavis[53810]: (53810-03) TROUBLE in process_request: register_proc: BDB N db_cursor: Locker does not exist, Interrupted system call. at (eval 51) line 174. I have disabled bayes in SA last week sometime and I don't believe I have DCC or razor enabled. Although I have score RAZOR2_CHECK 2.500 in the local.cf and both of these installed, I don't see them enabled or can find any reference to them in the logs. I ask this because I found this: From http://www.ijs.si/software/amavisd/: * OpenBSD and NetBSD have a pretty low default setting for max open files. To increase it for the default login group edit the /etc/login.conf, or add the user vscan to the daemon login group which has higher settings. Exceeding the limit can lead to spinning amavisd child processes or Berkeley db 'running out of lockers', often associated with Razor2, Bayes or DCC checks. With debug logging the problem possibly reported as: CALLING NoMailAudit::check Cannot open bayes databases /var/spool/spamassassin/bayes_* R/O: tie failed: Too many open files razor2 check skipped: Too many open files IO::Socket::INET: Bad protocol 'udp' at .../perl5/.../Mail/SpamAssassin/Dns.pm line 409 * With earlier version of Berkeley db library (libdb) (e.g. V3.3) the following or similar error is sometimes reported: TROUBLE in check_mail: virus_scan FAILED: BDB db_cursor: Successful return: 0, . at ...amavisd line 5162. * Namely, a bdb operation fails, but the reported error is 'success'. The problem goes away by upgrading libdb to 4.x. I am running FreeBSD 5.4 and my libdb version is 4.2, any ideas what is causing the issue or where I should look? I am running with Postfix 2.2.8 and SA 3.0.1. -- Robert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] disable header-check in amavisd-new
Michael wrote: Hello I´m running a small mailgateway with postfix, courier-imap, sqwebmail and fetchmail (with multidrop mailbox !) How can I disable the header-check in amavisd-new (debian sarge) ? To bypass header checks, you could add: @bypass_header_checks_acl = qw( . ); Some mails were rejected because of non encoded 8 bit data in message header. Line 402 /etc/amavis/amavisd.conf --8-- $final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE suggested --8-- Doesn´t it means, that mail with a bad header is still be delivered to the recipient ?? Yes, it should. This is what you want, right? Have you had this setting all along, or did you recently change it to solve the problem? I think this should allow delivery of messages with bad headers, unless of course they are first stopped by virus/spam/banned checks. Which line do I have to comment out to disable the header_check ? Thank you for help and ignoring my bad English ;-) Sincerely Michael Gary V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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/
WG: [AMaViS-user] disable header-check in amavisd-new
Gary V wrote: To bypass header checks, you could add: @bypass_header_checks_acl = qw( . ); This sounds good ;-) I will try it. It is like the way disabling virus / spam check... Doesn´t it means, that mail with a bad header is still be delivered to the recipient ?? Yes, it should. This is what you want, right? Have you had this setting all along, or did you recently change it to solve the problem? I think this should allow delivery of messages with bad headers, unless of course they are first stopped by virus/spam/banned checks. Yes - mails should be delivered, even those with a bad header. Gary V Thanks a lot ! It works !! Michael --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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] white-listed spam
Les Ault a écrit : On Thu, 2006-02-09 at 00:03 +0100, mouss wrote: Les Ault a écrit : [snip] but your postfix log shows a correct address: Feb 7 16:13:01 mta1 postfix/qmgr[3198]: 1E0EE91EF1: from=[EMAIL PROTECTED], size=2460, nrcpt=1 (queue active) Don't you reject_non_fqdn_sender (and maybe also reject_non_fqdn_recipient) in postfix? Yes I do, here is the line from my main.cf: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient so you certainly use the default quoting option (postfix looks inside quotes, which is not rfc compliant but is what most people probably want). but then, postfix will remove the quotes (and thus the space) before talking to amavisd. this is where I don't see how you realize the situation. or is your amavisd getting the adress from the From header? this would surprise me --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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] Nightly mail log summary being marked as spam
Leone, Michael a écrit : I have a bit of an odd issue. I use postfix, with amavisd-new-20030616 and spamassassin 3.1.0a, on Debian testing. I have a cronjob that creates a postfix log summary (using pflogsumm), and then it mails it to me. some things that may help: 1- set your trusted_networks correctly and _explicitly_. This should be enough to trigger ALL_TRUSTED. 2- don't filter mail submitted via sendmail. ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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] can`t starting amavis
Hallo und Guten Morgen AMaViS-user, I can`t starting amavis no more. This is the output from amavisd debug: --snip Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting. /usr/sbin/amavisd at server amavisd-new-2.2.1 (20041222), Unicode aware, [EMAIL PROTECTED] Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0) Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl version 5.008001 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no optional modules: unicore::PVA.pl Razor2::Client Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta rting! pid(16125) Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Setting gid to 663 663 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Couldn't become gid 663: Illegal seek\n\n at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Server closing! Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END handler: invoking DESTROY methods --snap Can anybody help me please? Thank you. -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 - VoIP: +49 (0) 322 212 044 67 Key ID: 0x1F78066F -- Zufalls-Zitat -- Wer eine unglückliche Liebe in Alkohol ertränken möchte, handelt töricht. Denn Alkohol konserviert. (Max Dauthendey) -- Der Text hat nichts mit dem Empfaenger der Mail zu tun -- Virus free. Checked by NOD32 Version 1.1402 Build 6765 09.02.2006
Re: [AMaViS-user] can`t starting amavis
Hi Jim, I think this is a known bug/issue in Net::Server 0.88. A workaround is to start Amavisd with the correct user in the startup-script, or to switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without any problems. Check: http://marc.theaimsgroup.com/?l=amavis-userm=112782949425376w=2 and http://marc.theaimsgroup.com/?l=amavis-userm=111999829830183w=2 Regards, Martin Jim Knuth wrote: Hallo und Guten Morgen AMaViS-user, I can`t starting amavis no more. This is the output from amavisd debug: --snip Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: starting. /usr/sbin/amavisd at server amavisd-new-2.2.1 (20041222), Unicode aware, [EMAIL PROTECTED] Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0) Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Perl version 5.008001 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: INFO: no optional modules: unicore::PVA.pl Razor2::Client Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Amavis (type Net::Server::PreForkSimple) sta rting! pid(16125) Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: Setting gid to 663 663 Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Couldn't become gid 663: Illegal seek\n\n at line 486 in file /usr/lib/perl5/site_perl/5.8.1/Net/Server.pm Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: Net::Server: 2006/02/10-02:57:20 Server closing! Feb 10 02:57:20 server /usr/sbin/amavisd[16125]: at the END handler: invoking DESTROY methods --snap Can anybody help me please? Thank you. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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/