Re: [exim] smarthost conditions

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Pool, Joel
Fecha:  
A: Aaron Todd, exim-users
Asunto: Re: [exim] smarthost conditions
This is a very simple example

First create an addresslist towards the top of the exim.conf(for single
file configurations) put the approved email recipient addresses in this
file one line at a time

addresslist approved_recipients = /etc/exim/approved-recipients

Then integrate it into your main recipient acl. Be sure to place it
towards the top.

deny   recipients     = !+approved_ recipients
       message        = recipient not approved.
       log_message    = recipient not approved.


Test it using exim -bhc




-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]
On Behalf Of Aaron Todd
Sent: Monday, September 20, 2010 11:51
To: exim-users@???
Subject: [exim] smarthost conditions

Hello,

I'm fairly novice when it comes to EXIM, but I've successfully been able
to
setup a smarthost on my web server to forward mail to another system.
I'd
like to further secure this by adding conditions, if possible, so that
it
will only forward if the recipient address is listed in a file. If its
not
listed it can go through the remaining routers for delivery or failure.

Can this be done? Thanks!
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/



** Statement from CaridianBCT Inc. **

Confidential and/or privileged information may be contained in this message and any attachments. If you are not the intended recipient you should not copy or forward this message and should destroy it immediately. Any Disclosure, copying, distribution and/or any other use of this communication by anyone other than the intended recipient is strictly prohibited and may be unlawful. The opinions, conclusions and other information in this message do not necessarily represent the views and/or opinions of the employer.

** End of statement **