[exim] Exim config question - accept SMTP from specific host…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jim Allen
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exim config question - accept SMTP from specific hosts
Greetings All,

I am sure this has been asked and answered before. Color me stupid...

I want to configure EXIM to only accept email from a specific host plus
authenticated users.
I am not sure what the right terms to use are, so I apologize in
advance.

E.G. I have a mail server that performs SPAM and VIRUS checking of
inbound emails to users. I want to configure EXIM to only accept emails
from that server + any valid user.

Basically
Access = xxx.xxx.xxx.xxx;+relay_hosts

So here is what I have:

acl_smtp_helo = check_helo

begin acl
check_helo:
  deny message = Your system is not allowed 2 send \
                     email via this server
       condition = ${if match {hosts = !xxx.xxx.xxx.xxx} \
                     {\.} {no}{yes}}
  deny message = Your system is NOT allowed to send \
                     email via this server
       condition  = ${if match {!+relay_hosts}\
                             {\.} {yes}{no}}
  accept


Or, if someone has a better method of handling this... I am very open
to suggestions:
Thanks in advance for your help.
Jim


--
Email scanned by ACES - DoubleCheck
http://www.acesiowa.com/spamcontrol.htm

FRUSTRATED BY TAPE BACKUPS?
Looking for a SAFE, RELIABLE, EFFICIENT Backup solutions without messing around with tapes?
Bacckup Stored Offsite
Automated Backup Process
HIPAA and Sarbanes Oxley compliant for offsite secure storage
Eliminates the frustration associated with handling tapes
To find out more, please visit http://www.acesiowa.com/datasafe.htm

CONFIDENTIALITY NOTICE: This e-mail communication, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient or believe you received this communication in error, please reply to the sender indicating that fact and delete the copy you received. In addition, retention, dissemination, distribution, copying, or otherwise use of the information contained in this communication is strictly prohibited. Thank you.