Results 1 to 2 of 2
I need to be able to configure sendmail to allow all ip addresses in a subnet to relay email @mydomain.com and I need to allow only specific IP addresses to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-29-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 5
Sendmail Relay
I need to be able to configure sendmail to allow all ip addresses in a subnet to relay email @mydomain.com and I need to allow only specific IP addresses to be able to relay to the entire internet.
I tried playing with the /etc/mail/access file but if I set
x.x.x.x RELAY
then it can send email anywhere. I need to be able to do something like:
x.x.x.x RELAY:@MYDOMAIN.COM
x.x.x.x RELAY:@INTERNET
something like that..
- 07-30-2008 #2Linux Newbie
- Join Date
- Feb 2008
- Location
- Bangalore, India
- Posts
- 112
The /etc/mail/relay-domains file is used to determine domains from which it will relay mail.
The contents of the relay-domains file should be limited to those domains that can be trusted not to originate spam. By default, this file does not exist.
Be sure to run the restart sendmail script for these changes to take effect.Code:my-relay-site.com
bigunix.blogspot.com
Registered Linux User: #476440


Reply With Quote
