We recently upgraded some systems from postfix 2.6.6 to postfix 2.7.4,
and the behavior when trying to submit messages through the sendmail
interface seems to have changed.

In the previous version, if a message exceeded the configured
message_size_limit, it would look like this:

$ (printf "From: r...@csupomona.edu\nTo: hen...@csupomona.edu\nSubject: big 
email test\n\n"; yes test | head -c 10000000) | /usr/sbin/sendmail -t
postdrop: warning: uid=1005: File too large
sendmail: fatal: henson(1005): message file too big

With the new version, it now emits:

$ (printf "From: r...@csupomona.edu\nTo: hen...@csupomona.edu\nSubject: big 
email test\n\n"; yes test | head -c 10000000) | /usr/sbin/sendmail -t
sendmail: fatal: henson(1005): internal protocol error

At first I thought something was broken with my new installation, but
everything seems to be working ok other than this different message.

Was this an intentional change? Accidental change? I've got something
broken after all?

The systems in question are running gentoo linux, with the following
config:

# postconf -n
allow_mail_to_commands = 
allow_mail_to_files = 
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = //usr/lib64/postfix
data_directory = /var/lib/postfix
fast_flush_domains = 
forward_path = 
html_directory = /usr/share/doc/postfix-2.6.5/html
local_transport = error:local delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10240000
mydomain = unx.csupomona.edu
mynetworks_style = host
myorigin = csupomona.edu
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.5/readme
relayhost = [smtp.csupomona.edu]
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop


Thanks...

-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  hen...@csupomona.edu
California State Polytechnic University  |  Pomona CA 91768

Reply via email to