Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Sendmail Relay

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Sendmail Relay

    I need to be able to configure sendmail to allow all ip addresses in a subnet to relay email 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:@INTERNET

    something like that..

  2. #2
    Linux Newbie
    Join Date
    Feb 2008
    Bangalore, India
    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.
    Registered Linux User: #476440

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts