Quick Sendmail access question

Julian Field MailScanner at ecs.soton.ac.uk
Wed Feb 23 18:12:59 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

You should just need
my.domain.com RELAY
to allow incoming and outgoing mail for your users.

David Ballengee wrote:

> Are you sure your users machines cannot read mail? They should.  Not
> Sending is understandable,  you have to allow relaying to the users
> machines. that willl be sending the email.
>
> in my case I made a relay that allows my entire ip range.  It was easy
> since I have a class C range of ip addresses.
>
> Maybe your best bet is to use smtp auth.
>
> David Ballengee
>
> David C.M. Weber wrote:
>
>> 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!
>>
>>
>>
>>
>
> --
> David Ballengee
> IT Supervisor
> Unique Photo
> (973)377-5555x259
>
> ------------------------ 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!
>

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ 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