Mark, I made a little bit of confusion.. $mydomain substitute the real domain of my server (sometime I misstype, typing $somain... excuse me). Moreover, 'example.com' substitute one of the domains that I host on my server...
----- Original Message ----- From: "Mark Martinec" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, November 18, 2005 12:51 AM Subject: Re: [AMaViS-user] Redirect all spam for one domain into a mailbox > Rocco, > > > If the sender is WL then the messagge wouldn't be scanned. Right? > > Right. > > > after I set the whitelist I still get: > > > > Nov 17 18:42:37 av3 sendmail[13126]: jAHHgbv3013126: > > [EMAIL PROTECTED], size=5181, class=0, nrcpts=1, > > msgid=<N1msdrbJXNPfV4wg9>, [EMAIL PROTECTED] > > Nov 17 18:42:37 av3 sendmail[13126]: jAHHgbv3013126: [EMAIL PROTECTED], > > delay=00:00:00, mailer=esmtp, pri=35181, dsn=4.4.3, stat=queued > > Was the sender domain set on purpose to [EMAIL PROTECTED] literally, > or did you intend to evaluate variable $mydomain but prevented evaluation > by quoting with single quotes? > > A setting like $mailfrom_to_quarantine = "[EMAIL PROTECTED]"; > could be correct, but: > $mailfrom_to_quarantine = '[EMAIL PROTECTED]'; would be wrong. > > > But the postmaster still receive this dsn: > > > > ----- The following addresses had permanent fatal errors ----- > > [EMAIL PROTECTED] > > (reason: 554 5.4.6 Too many hops) > > > > ----- Transcript of session follows ----- > > 554 5.4.6 Too many hops 27 (25 max): from [EMAIL PROTECTED] via localhost, > > to > > [EMAIL PROTECTED] > > Why does this log entry indicate [EMAIL PROTECTED] while the other one > indicates [EMAIL PROTECTED] as the sender address? You're right one more time.. I looked the wrong dsn... But all dsn that I receive bout the message that I send above report [EMAIL PROTECTED] correctly.. > > Track through logs what is happening, concentrate on the first > few iterations through a loop (after you fix the sending address > and if the loop still occurs). > Here the log of sendmail bout the message the amavisd-new attempts to forward to '[EMAIL PROTECTED]'... Nov 18 15:05:17 av3 sendmail[11177]: jAIE5Hv5011177: [EMAIL PROTECTED], size=5182, class=0, nrcpts=1, msgid=<N1msdrbJXNPfV4wg9>, [EMAIL PROTECTED] Nov 18 15:05:17 av3 sendmail[11177]: jAIE5Hv5011177: [EMAIL PROTECTED], delay=00:00:00, mailer=esmtp, pri=35182, dsn=4.4.3, stat=queued It seems that nothing is changes since I added [EMAIL PROTECTED] to the sender whitelist @whitelist_sender_maps = (["[EMAIL PROTECTED]"]); Instead If I try to send clean message from [EMAIL PROTECTED] to [EMAIL PROTECTED] I have: Nov 18 15:18:39 av3 sendmail[13924]: jAIEIdsJ013924: [EMAIL PROTECTED], size=314, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Nov 18 15:18:39 av3 sendmail[13924]: jAIEIdsJ013924: [EMAIL PROTECTED], [EMAIL PROTECTED] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30314, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (jAIEIdUT013925 Message accepted for delivery) So I think the sender address [EMAIL PROTECTED] is still not whitelisted... BR, rocsca > Mark > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > AMaViS-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
