Quick Sendmail access question
Pentland G.
G.Pentland at SOTON.AC.UK
Wed Feb 23 18:09:28 GMT 2005
Different approach...
Instead of the access map, use virtusers.
Default recipient: 550 user does not exist at this site
dave: Dave at exchangeservername.yourdomain
etc.
Just a quick thought.
For either approach you must check/understand the sendmail.cw file.
Gary
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!
------------------------ 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