Re: [AMaViS-user] spam question

This is a discussion on Re: [AMaViS-user] spam question within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Maurizio wrote: > On Mon July 10 2006 16:28, Gary V wrote: >> http://marc.theaimsgroup.com/?l=...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] spam question

Maurizio wrote:

> On Mon July 10 2006 16:28, Gary V wrote:


>> http://marc.theaimsgroup.com/?l=amav...4015416829&w=2
>>

> Hi Gary
> what you wrote is clear, but i got troubles!
> here it is my 05-domain_id


> use strict;


> # $mydomain is used just for convenience in the config files and it is not
> # used internally by amavisd-new except in the default X_HEADER_LINE (which
> # Debian overrides by default anyway).


> chomp($mydomain = `head -n 1 /etc/mailname`);


> # amavisd-new needs to know which email domains are to be considered local
> # to the administrative domain. Only emails to "local" domains are subject
> # to certain functionality, such as the addition of spam tags.
> #
> # Default local domains to $mydomain and all subdomains. Remember to
> # override or redefine this if $mydomain is changed later in the config
> # sequence.


> @local_domains_acl = ( ".$mydomain" );
> # @local_domains_maps = ( read_hash("/etc/postfix/relay_domains") );
> 1; # insure a defined return


> when i uncomment # @local_domains_maps = ( read_hash("/etc/postfix/relay_domains") );


> i got on log:


> Jul 14 17:23:03 mailgw1 postfix/smtp[24800]: E30FD37E0A: to=<xxx@xxx.xx>, relay=none, delay=1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refus
> ed)


> TIA!
> -- maurizio


Did you get an error message on the screen when you reloaded/restarted
amavisd-new? It is not uncommon to get this error during the time
amavisd-new shuts down and restarts. Postfix may have simply tried to
send mail to amavisd-new during that period. The question is, does
the error happen on every mail after amavisd-new is back up and running?
Use 'tail -f /var/log/mail.log' to monitor the situation after
amavisd-new starts up ([Ctrl]+c to stop monitoring). If all is well,
Postfix will try to redeliver this mail within about 15 minutes. If
you are impatient, do 'postfix flush'.

Make sure the file /etc/postfix/relay_domains is world readable (it
should already be).

Gary V



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0