Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail and relay

Status
Not open for further replies.

Daxwells

Technical User
Oct 27, 2004
2
GB
Hi,

We are currently configuring a new sendmail server to act as a SMTP relay by a number of clients for a public email domain.

This relay server accepts mail for our domain mydomain.com from all external servers, via a rule in the access.db for the domain name which allows RELAY as long as the detination email address is *@mydomain.com.

Access:

mydomain.com RELAY

We then re-direct this mail with the mailertable to the actual mail server:

Mailertable:

mydomain.com esmtp:[host.mydomain.com]

this is working fine and all is happy with inbound mail.


However our problem arises in outbound mail from the same domain. Clients that use this domain need to be able to relay mail via this server if they come from a valid IP address listed in the access file AND also if their source email address is a user@mydomain.com address. We can do it at present just on the host name or ip address however we cannot combine the 2 requirements.

Does anyone know how to do this with sendmail?

Regards
Dax



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top