Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail using wrong interface

72 views
Skip to first unread message

Kevin Vogt

unread,
May 30, 2003, 5:59:52 AM5/30/03
to
Hi , I have been unable to send an e-mail across the internet from my
machine. I try to send a message using the "mail" command and it goes to
dead.letter. I think it is because I have two NICs set up and sendmail is
wrongfully trying to use the internal network to send external mail.

I tried searching for "interface", "eth0", "eth1", and "NIC" through all the
documentation that came in the sendmail debian package, and I google
searched sendmail.org and google groups but found virtually no help on this.
Can somebody please point me to the documentation that tells me how to
specify which network interface sendmail should use?

Kevin

panther:/usr/share/doc/sendmail# uname -a
Linux panther 2.4.18-kevin2 #1 Tue May 27 16:56:01 PDT 2003 i586 unknown

panther:/usr/share/doc/sendmail# tail /var/log/mail/mail.log
May 30 01:21:22 panther sendmail[6329]: My unqualified host name (panther)
unknown; sleeping for retry
May 30 01:22:22 panther sendmail[6329]: unable to qualify my own domain name
(panther) -- using short name
May 30 01:22:26 panther sendmail[6329]: h4U8MM46006329: from=kevin,
size=9383, class=0, nrcpts=1, msgid=<200305300822.h4U8MM46006329@panther>,
relay=kevin@localhost
May 30 01:22:27 panther sm-mta[6335]: h4U8MRYV006335: ruleset=check_mail,
arg1=<kevin@panther>, relay=panther [127.0.0.1], reject=553 5.1.8
<kevin@panther>... Domain of sender address kevin@panther does not exist
May 30 01:22:27 panther sendmail[6329]: h4U8MM46006329:
to=testn...@qayo.com, ctladdr=kevin (1000/1000), delay=00:00:05,
xdelay=00:00:01, mailer=relay, pri=30034, relay=[127.0.0.1] [127.0.0.1],
dsn=5.6.0, stat=Data format error
May 30 01:22:27 panther sm-mta[6335]: h4U8MRYV006335: from=<kevin@panther>,
size=9383, class=0, nrcpts=0, proto=ESMTP, daemon=MSA, relay=panther
[127.0.0.1]
May 30 01:26:00 panther sm-mta[6281]: restarting /usr/sbin/sendmail due to
signal
May 30 01:26:01 panther sm-mta[6281]: gethostbyaddr(192.168.0.1) failed: 1
May 30 01:26:01 panther sm-mta[6411]: starting daemon (8.12.3):
SMTP+queueing@00:10:00
May 30 01:58:02 panther sendmail[6567]: gethostbyaddr(192.168.0.1) failed: 1

panther:/usr/share/doc/sendmail# ifconfig
eth0 Link encap:Ethernet HWaddr 00:AA:00:4C:38:56
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:383296 errors:0 dropped:0 overruns:0 frame:0
TX packets:1266918 errors:0 dropped:0 overruns:0 carrier:0
collisions:25 txqueuelen:100
RX bytes:30972672 (29.5 MiB) TX bytes:661491834 (630.8 MiB)
Interrupt:10 Base address:0x300

eth1 Link encap:Ethernet HWaddr 00:00:C0:B6:3E:C9
inet addr:207.6.172.134 Bcast:207.6.175.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:477592 errors:2 dropped:0 overruns:0 frame:3
TX packets:268995 errors:0 dropped:0 overruns:0 carrier:0
collisions:17 txqueuelen:100
RX bytes:610578780 (582.2 MiB) TX bytes:18663766 (17.7 MiB)
Interrupt:5 Base address:0x290 Memory:c0000-c2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:292 errors:0 dropped:0 overruns:0 frame:0
TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:82071 (80.1 KiB) TX bytes:82071 (80.1 KiB)

panther:/usr/share/doc/sendmail#


0 new messages