| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| A server in my lan, AK, is trying to send mail to my desktop, DD, via its IP address: dale@[192.168.7.35]. "dale" is a local user on the desktop DD. However, sendmail on DD is rejecting the mail with the message "Relaying denied". Here are the relevant maillog messages, wrapped for reading convenience: Sep 2 23:11:21 DD sendmail[2591]: m834BKur002591: ruleset=check_rcpt, arg1=<dale@[192.168.7.35]>, relay=AK [192.168.7.201], reject=550 5.7.1 <dale@[192.168.7.35]>... Relaying denied Sep 2 23:11:21 DD sendmail[2591]: m834BKur002591: from=<root@AK.EckhardtTrading.com>, size=582, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=AK [192.168.7.201] DD's sendmail config is a stock Fedora 8 config except that I modified sendmail.mc to listen on the NIC that connects DD to the lan, and opened port 25 on the firewall. Why is sendmail on DD trying to relay for a local user? Why doesn't it recognize that dale is a local user? How can I debug this? I appreciate any help you can give me. -- Dale Dellutri <ddelQQQlutr@panQQQix.com> (lose the Q's) |
|
#2
| |||
| |||
| On Wed, 3 Sep 2008 11:31:28 +0000 (UTC), Dale Dellutri <ddelQQQlutr@panqqqix.com> wrote: > A server in my lan, AK, is trying to send mail to my > desktop, DD, via its IP address: dale@[192.168.7.35]. > "dale" is a local user on the desktop DD. However, > sendmail on DD is rejecting the mail with the message > "Relaying denied". Here are the relevant maillog messages, > wrapped for reading convenience: >... I added the following line to /etc/mail/local-host-names, and now it's working: [192.168.7.35] Apparently, sendmail didn't the IP address was local. -- Dale Dellutri <ddelQQQlutr@panQQQix.com> (lose the Q's) |
|
#3
| |||
| |||
| Dale Dellutri <ddelQQQlutr@panQQQix.com> writes in comp.mail.sendmail: > On Wed, 3 Sep 2008 11:31:28 +0000 (UTC), Dale Dellutri <ddelQQQlutr@panqqqix.com> wrote: > > A server in my lan, AK, is trying to send mail to my > > desktop, DD, via its IP address: dale@[192.168.7.35]. > > "dale" is a local user on the desktop DD. However, > > sendmail on DD is rejecting the mail with the message > > "Relaying denied". Here are the relevant maillog messages, > > wrapped for reading convenience: > >... > > I added the following line to /etc/mail/local-host-names, and now > it's working: > [192.168.7.35] > > Apparently, sendmail didn't the IP address was local. Normally sendmail gets IP addresses of interfaces. But may be that there is some limitions. Try: sendmail -d0.4 -bt < /dev/null > -- > Dale Dellutri <ddelQQQlutr@panQQQix.com> (lose the Q's) / Kari Hurtta |
|
#4
| |||
| |||
| Dale Dellutri <ddelQQQlutr@panQQQix.com> wrote: > On Wed, 3 Sep 2008 11:31:28 +0000 (UTC), Dale Dellutri <ddelQQQlutr@panqqqix.com> wrote: >> A server in my lan, AK, is trying to send mail to my >> desktop, DD, via its IP address: dale@[192.168.7.35]. >> "dale" is a local user on the desktop DD. However, >> sendmail on DD is rejecting the mail with the message >> "Relaying denied". Here are the relevant maillog messages, >> wrapped for reading convenience: >>... > > I added the following line to /etc/mail/local-host-names, and now > it's working: > [192.168.7.35] > > Apparently, sendmail didn't the IP address was local. Sendmail should add it "auto-magically" unless: a) it is a dynamic interface (e.g. ppp dialup started after sendmail daemon statup) b) DontProbeInterfaces is used in your /etc/mail/sendmail.cf file URL(s): http://www.sendmail.org/m4/tweaking_...OBE_INTERFACES -- [pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl Never volunteer for anything. -- Lackland |
|
#5
| |||
| |||
| Andrzej Adam Filip <anfi@onet.eu> writes in comp.mail.sendmail: > Dale Dellutri <ddelQQQlutr@panQQQix.com> wrote: > > > On Wed, 3 Sep 2008 11:31:28 +0000 (UTC), Dale Dellutri <ddelQQQlutr@panqqqix.com> wrote: > >> A server in my lan, AK, is trying to send mail to my > >> desktop, DD, via its IP address: dale@[192.168.7.35]. > >> "dale" is a local user on the desktop DD. However, > >> sendmail on DD is rejecting the mail with the message > >> "Relaying denied". Here are the relevant maillog messages, > >> wrapped for reading convenience: > >>... > > > > I added the following line to /etc/mail/local-host-names, and now > > it's working: > > [192.168.7.35] > > > > Apparently, sendmail didn't the IP address was local. > > Sendmail should add it "auto-magically" unless: > a) it is a dynamic interface > (e.g. ppp dialup started after sendmail daemon statup) > b) DontProbeInterfaces is used in your /etc/mail/sendmail.cf file > > URL(s): > http://www.sendmail.org/m4/tweaking_...OBE_INTERFACES No, sendmail does _not_ get all IP addresses on Linux. Specially, if there is several ip addresses on one interface, sendmail does not get them all. Look "ip addr" command. Basically sendmail gets only addresses, which "ifconfig" -command is listing. / Kari Hurtta |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.