Monday, June 18, 2012

Sendmail Daemon Port Option

Having the following option in will restrict receiving of mail only within the same host:

DaemonPortOptions=Port=smtp,Addr=, Name=MTA

Further information of this option is found in the following page.

Note on default options are as follow:
  • Address= specifies the address to listen on (default: all)
  • Port= specifies the port to listen on (default: smtp (25))
  • Family= specifies the protocol family (e.g., inet (IPv4) or inet6 (IPv6)) (default: both)

The proper way to configure the sendmail is not to edit the directly but to change it in the and then generate the cf file by issuing the command:

m4 > /etc/

The sendmail daemon will need to be restarted for the changes to take effect. Information on this can be found in the following

No comments: