Maurizio wrote:

> On Fri July 14 2006 19:14, Gary V wrote:

>> Make sure the file /etc/postfix/relay_domains is world readable (it
>> should already be).
> yes, it is
> i discovered the issue:
> /etc/postfix/relay_domains is included into /etc/postfix/main.cf:

> relay_domains = $mydestination, /etc/postfix/relay_domains

> so this file contains domains 1 per line, followed by comma, starting with 
> space:

>  domain1.com,
>  domain2.com,
>  domain3.com

> i just copied it cleaning spaces and commas
> and amavis does work:
> @local_domains_maps = ( read_hash("/etc/postfix/amavis_relay_domains") );

> can i use this file /etc/postfix/amavis_relay_domains into main.cf?
> postmap /etc/postfix/relay_domains
> ad then
> relay_domains = $mydestination, hash:/etc/postfix/relay_domains

> doesn't work

> TIA :)


Postfix needs a LeftHandSide and a RightHandSide.
Something like:

domain1.com OK

or

domain1.com 1

amavisd-new can use this file in this form also. Postfix actually uses
relay_domains.db that is created from relay_domains when you postmap
the file. It is not a problem that amavis uses
/etc/postfix/relay_domains.

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