Greetings, I tried that configuration several ways (On Sendmail 8.12). With an Addr=IP, localhost didn't work and vice-versa. Putting several address entries (Addr=IP,Addr=127.0.0.1) defaulted to the last entry. So I went to the bat book and decided:
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=MTA')dnl Hope this helps, Ken (Excerpts from Sendmail bat book 2nd edition pg. 692) The 'Addr' key is used to specify the network to use. The value is the name or IP address of one of your network interfaces. If the 'Addr' pair is omitted, the default network becomes INADDR_ANY, which allows any connection from any network. Syntax: DAEMON_OPTIONS(`key=value,key=value')dnl All the defined keys I could find: Addr The network to accept the connection from Family The type of network you are connect to (inet,inet6,iso,ns,x25) Listen The size of the listen(2) queue Port The port number Sendmail should listed to ReceiveSize The size of the TCP/IP receive buffer SendSize The size of the TCP/IP send buffer Name Which Sendmail Parameter is set (MTA,MSA,MTA-v4; 32bit IPv4,MTA-v6; 128bit IPv6) M Modifier for optional processing ( M=E turns off the ESMTP ETRN command, M=a requires authentication by a trusted auth before the MSA will accept the message) >The following line states where sendmail will be listening. It seems if it >is set to: > >DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl > >I can send mail out but not receive. If i change it to: > >DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.2, Name=MTA')dnl > >then it receives mail but doesnt send. Is it possible to do the following, >or am i going about it the wrong way? > >DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1 192.168.0.2, Name=MTA')dnl > >I have tried the latter, but wasnt sure if it was correct. 192.168.0.2 is >the ip for eth0. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list