i. what do you mean by "uplink usage" ? is this smtp traffic measured
outbound from your server or router
looks to me like you need to do rate limiting in postfix itself. if
you can also post the "smtp" line from master.cf
it would help. also see http://www.postfix.org/rate.html
ii. could the failure be due to throttling at your gateway, and not
allowing the message processing to be completed? how are you
throttling? do you experience the same behaviour when sending internal mail?
iii.what version of postfix are you running?
Lule George William wrote:
Dear all,
Since I deployed my postfix server two weeks ago (after getting rid of good
ol' sendmail), it has two problems that I have failed to sort out.
1. From the time it got online, my uplink usage shot straight up to 100%!!
Before it used to hover between 40-70%. After monitoring it for a few days
and determining that this wasn't due to increased activity from my users, I
throttled it at the gateway. However, I am still interested to know why it
did it that way.
2. It has refused to send mails with attachments beyond 1 MB to any
destination.
Machine is running SuSE Linux 9.3. Some more info
=================================================================
postmaster1:~ # uname -a
Linux postmaster1 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 i686
i686 i386 GNU/Linux
==================================================================
An example of an entry from /var/log/mail
==================================================================
Nov 14 06:03:18 postmaster1 postfix/smtp[5968]: E5CAE77F1D:
to=<[EMAIL PROTECTED]>, relay=mx2.mail.yahoo.com[67.28.114.35], delay=386525,
status=deferred (conversation with mx2.mail.yahoo.com[67.28.114.35] timed out
while sending message body)
Nov 14 06:03:24 postmaster1 postfix/smtp[5950]: 65B251CB31:
to=<[EMAIL PROTECTED]>, relay=mx2.mail.ukl.yahoo.com[217.12.11.64],
delay=239985, status=deferred (lost connection with
mx2.mail.ukl.yahoo.com[217.12.11.64] while sending message body)
Nov 14 06:04:00 postmaster1 postfix/smtp[5957]: AC41378495:
to=<[EMAIL PROTECTED]>, orig_to=<xxxxx>,
relay=gsmtp83.google.com[66.249.83.27], delay=217864, status=deferred
(conversation with gsmtp83.google.com[66.249.83.27] timed out while sending
message body)
Nov 14 06:04:07 postmaster1 postfix/smtp[5934]: 2DF1C44A11:
to=<[EMAIL PROTECTED]>, relay=mx2.mail.yahoo.com[67.28.114.35], delay=216324,
status=deferred (lost connection with mx2.mail.yahoo.com[67.28.114.35] while
sending message body)
Nov 14 06:04:08 postmaster1 postfix/smtp[5504]: F06337809D: to=<[EMAIL PROTECTED]>,
relay=mx12.un.org[157.150.184.102], delay=250343, status=deferred
(conversation with mx12.un.org[157.150.184.102] timed out while sending
message body)
Nov 14 06:04:22 postmaster1 postfix/smtp[5955]: 92F7F781C1: to=<[EMAIL PROTECTED]>,
relay=in1.smtp.messagingengine.com[66.111.4.71], delay=418224,
status=deferred (conversation with in1.smtp.messagingengine.com[66.111.4.71]
timed out while sending message body)
===================================================================
And the output of postconf
=====================================================================
postmaster1:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = 127.0.0.1 172.16.22.30 ::1
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, $mydomain, localhost.$mydomain
mydomain = umu.ac.ug
myhostname = postmaster1.umu.ac.ug
mynetworks = 127.0.0.0/8
myorigin = umu.ac.ug
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
==================================================================================
I've googled and there are a number of references to this problem, but non has
helped me.
Sorry for the long post. I will appreciate any help thrown my way.
Thank you all.
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
The above comments and data are owned by whoever posted them (including
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------