Maurizio wrote:

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

>> http://marc.theaimsgroup.com/?l=amavis-user&m=115254015416829&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=<[EMAIL 
> PROTECTED]>, 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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/

Reply via email to