Kevin,

> Hi,

> I have to get a server up and running tomorrow - all is in place but I'm
> worried that Amavis is going to stop outgoing emails from the users.

> The users use the server - which is on an internet IP address - to send
> emails.  They obviously have to authenticate otherwise the server would
> be an open relay.

> Now it looks like the use of a policy bank and allowing authenticated 
> users  is the best way to do this - but I'm short on time to implement this.

> To enable the use of the server whilst I look into this - is there any
> way I can allow all emails which have a sending domain of the domains 
> the server is hosting.

> I know that this address can be spoofed and so this isn't recommended -
> but I need to get the machine up and running soon.

> Can I hard code a white list of sending domains somewhere.

I think the easiest way to bypass spam scanning for outgoing emails is
to set

@bypass_spam_checks_maps = ( ["example.com"] );

Or if you want to read your domains from a file:

read_hash(\%local_domains, '/etc/amavis/local_domains');

Then you can add your domains to /etc/amavis/local_domains - one
domain per line.

You can use the same syntax for bypass virus/header/banned checks.

Also look at these examples:
http://www200.pair.com/mecham/spam/bypassing.html

Daniel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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