Quick Sendmail access question

David C.M. Weber david.weber at BACKBONESECURITY.COM
Wed Feb 23 17:46:44 GMT 2005


So, I'm working on an automatic valid MS Exchange access script.  My
first thought, was just adding/removing users from the access file, but
I'm having an issue.  When I switch over to the new setup, my users are
unable to send/receive email from anywhere but the localhost.

Below is a sanitized version of my access file.  


-----------------------------------------------------
# My new access file
# standard local defintions
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY

#To:mydomain.com                RELAY

# allow the internal email server to use this as a smart host
1.2.3.4                   RELAY
1.2.3.5                   RELAY

#user defined black lists
#Keep these at a bare minimum!
someone at somewhere.com                   REJECT



# --- BEGIN ADDRESSES AUTOMATICALLY GATHERED FROM EXCHANGE SERVER ---
someone at mydomain.com         RELAY

-----------------------------------------------------

The only difference between working/not working is the "To:mydomain.com
RELAY" is not commented, and everything below the "# --- ..." is not
there.  From reading the sendmail docs, it would seem (to me at least)
that by adding the individual email addresses would be sufficient to get
the inbound relaying working.  Obviously, it isn't. Any ideas what I'm
doing wrong, or an alternative plan?

Side note: I looked at the LDAP example in the MAQ, and it wasn't quite
what I wanted.  If I could put all these addresses in a single file,
instead of the access db, that would be ideal, but I'll take what I can
get.  I'm far from a sendmail guru unfortunately.

Thanks

--dw

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list