This is a discussion on Re: [AMaViS-user] Constant error trying to use amavisd-new within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Javier wrote: > Hi, im havving this error, when i receive any email, > im testing > amavisd-new to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Javier wrote:
> Hi, im havving this error, when i receive any email, > im testing > amavisd-new to see if i can use it for spam filtering > with SA. > This is on my logs: > Jul 22 21:05:27 vida amavis[4619]: DENIED ACCESS from > IP 192.168.1.10, > policy bank '' > I´ve modified main.cf and master.cf according the > readme files, like so: > main.cf: > content_filter = smtp-amavis:[127.0.0.1]:10024 > and in master.cf: > smtp-amavis unix - - n - > 2 smtp > -o smtp_data_done_timeout=1200 > -o disable_dns_lookups=yes > 127.0.0.1:10025 inet n - n - > - smtpd > -o content_filter= > -o local_recipient_maps= > -o relay_recipient_maps= > -o smtpd_restriction_classes= > -o smtpd_client_restrictions= > -o smtpd_helo_restrictions= > -o smtpd_sender_restrictions= > -o > smtpd_recipient_restrictions=permit_mynetworks,rej ect > -o mynetworks=127.0.0.0/8 > -o strict_rfc821_envelopes=yes > -o smtpd_error_sleep_time=0 > -o smtpd_soft_error_limit=1001 > -o smtpd_hard_error_limit=1000 > This is other logs entry: > Jul 22 21:09:57 vida postfix/smtp[4864]: connect to > 127.0.0.1[127.0.0.1]: > server dropped connection without sending the initial > SMTP greeting (port > 10024) > I´ve got amavisd listening on 127.0.0.1:10024 > What´s wrong, am i forgetting some settings?? > Thanks. > Javier to start, try adding -o smtp_send_xforward_command=yes: smtp-amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes then reload postfix, of course. Gary V ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|