[clug] Postfix Problem.....
Steve Walsh
steve at nerdvana.org.au
Wed Sep 8 13:37:03 GMT 2004
Donovan;
What is the MTU set on the two boxes network interfaces? DSL doesn't like a
MTU higher than 1492, which can lead to drop outs and failures while sending
mail. Check the two boxes, I think you might find that's part of the
problem. You can set it via ifconfig eth0 mtu 1492. 1500 is normally fine,
but ppoe needs to reserve 8 bytes for the header information, so you need to
throttle it back to 1492
Steve
%ifconfig
eth0 Link encap:Ethernet HWaddr <snip>
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:942455 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68127888 (64.9 Mb) TX bytes:151114763 (144.1 Mb)
Interrupt:11 Base address:0x2000
%ifconfig eth0 mtu 1492
%ifconfig
eth0 Link encap:Ethernet HWaddr <snip>
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:942455 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68127888 (64.9 Mb) TX bytes:151114763 (144.1 Mb)
Interrupt:11 Base address:0x2000
--------------------------------------------------------------
On behalf of Donovan J. Edye
Sent: Wednesday, 8 September 2004 11:19 PM
To: 'Linux List'
Subject: [clug] Postfix Problem.....
G'Day,
- I have PostFix running on a Fedora Core 2 System with the following
config:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, home.local mydomain =
home.local myhostname = smithers.edyeweb.com mynetworks = 192.168.40.0/24
myorigin = edyeweb.com newaliases_path = /usr/bin/newaliases.postfix
notify_classes = bounce, 2bounce, delay, policy, protocol, resource,
software queue_directory = /var/spool/postfix readme_directory =
/usr/share/doc/postfix-2.0.18/README_FILES
relayhost = mail.m.iinet.net.au
sample_directory = /usr/share/doc/postfix-2.0.18/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
soft_bounce = no
unknown_local_recipient_reject_code = 450
When sending from the mail server command line as such:
[donovan at moe donovan]$ mail -s "From Command Line" donovan at namsys.com.au aaa
Cc:
[donovan at moe donovan]$ mailq
Mail queue is empty
The logs reflects such (apologies for line breaks its Outlook not me)
Sep 8 21:25:12 moe postfix/pickup[2973]: 8A5872B08BF: uid=500
from=<donovan> Sep 8 21:25:12 moe postfix/cleanup[3151]: 8A5872B08BF:
message-id=<200409081125 12.8A5872B08BF at smithers.edyeweb.com>
Sep 8 21:25:12 moe postfix/nqmgr[2974]: 8A5872B08BF:
from=<donovan at edyeweb.com> , size=333, nrcpt=1 (queue active) Sep 8
21:25:13 moe postfix/smtp[3153]: 8A5872B08BF: to=<donovan at namsys.com.au>,
relay=mail.m.iinet.net.au[203.0.178.192], delay=1, status=sent (250 ok
10946428 66 qp 22181)
When sending from Outlook via 40.50 box homer.home.local
The mail log looks as follows (sorry CRLF is from Outlook once more)
[root at moe postfix]# tail -f /var/log/maillog
Sep 8 21:25:12 moe postfix/nqmgr[2974]: 8A5872B08BF:
from=<donovan at edyeweb.com>, size=333, nrcpt=1 (queue active) Sep 8 21:25:13
moe postfix/smtp[3153]: 8A5872B08BF: to=<donovan at namsys.com.au>,
relay=mail.m.iinet.net.au[203.0.178.192], delay=1, status=sent (250 ok
1094642866 qp 22181) Sep 8 21:31:42 moe postfix/smtpd[3156]: connect from
donovan.home.local[192.168.40.50] Sep 8 21:31:42 moe postfix/smtpd[3156]:
63DC12B08A3: client=donovan.home.local[192.168.40.50]
Sep 8 21:31:46 moe postfix/smtpd[3156]: 763852B08A3:
client=donovan.home.local[192.168.40.50]
Sep 8 21:31:46 moe postfix/cleanup[3158]: 763852B08A3:
message-id=<01ec01c49597$c5ad5d50$3228a8c0 at HOMER>
Sep 8 21:31:46 moe postfix/nqmgr[2974]: 763852B08A3:
from=<donovan at edyeweb.com>, size=3145, nrcpt=1 (queue active) Sep 8
21:31:46 moe postfix/smtpd[3156]: disconnect from
donovan.home.local[192.168.40.50] Sep 8 21:31:48 moe postfix/smtp[3107]:
405E52B08B6: to=<donovan at namsys.com.au>,
relay=mail.m.iinet.net.au[203.0.178.192], delay=221 5, status=deferred
(conversation with mail.m.iinet.net.au[203.0.178.192] timed out while
sending end of data -- message may be sent more than once) Sep 8 21:31:48
moe postfix/nqmgr[2974]: warning: qmgr_active_corrupt: save corrupt file
queue active id 405E52B08B6: No such file o r directory
763852B08A3 3145 Wed Sep 8 21:31:46 donovan at edyeweb.com
(conversation with mail.m.iinet.net.au[203.0.178.192] timed out while
sending end of data -- message may be sent more than once)
donovan at namsys.com.au
So any ideas how come mail sent from the homer.homer.local (192.168.40.50)
box does not get to my ISP's mail server, yet mail sent from the mail server
itself moe.home.local (192.168.40.3) works fine? After all 192.168.40.3
shows it has got the mail OK but then has a problem relaying? The error
message is consistent and happens for each message sent via Outlook on the
192.168.40.50 box. In other words I don't believe I have a connectivity
problem to my ISP.
Any help / suggestions greatly appreciated.
--Donovan
www.edyeweb.com
--
linux mailing list
linux at lists.samba.org
http://lists.samba.org/mailman/listinfo/linux
More information about the linux
mailing list