7 msgproblem sending cc messages
13 msgPostfix not doing TLS like I need
6 msgcannot open file: File too large
4 msgPostfix, quotas, and bouncing back (rejecting)
2 msgRestrict sending host for some (but not all) re...
1 msgRe: Implementing custom blacklists
6 msgSMTP question
7 msgApplication to integrate Postfix, Dovecot, and ...
6 msgHow to use smtpd_reject_unlisted_recipient?
2 msgProblem
4 msgSpam issues

Emails from postfix and php
\ WebDeal AS - Jørn Skjerven (12 Jun 2007)

9 msgPostfix Body Check Questions part 2
12 msgrelay_recipient_maps
5 msgNewbie to both Linux and Postfix looking for he...
3 msgproblem with postfix and dns updates
4 msgSteps to create virtual email boxes
6 msgBest Practices (looking for some) : Attachment ...
1 msghaving postfix deliver mail for one host name i...
2 msgPostfix Body Check Questions
Subject:Emails from postfix and php
Group:Postfix-users
From:WebDeal AS - Jørn Skjerven
Date:12 Jun 2007


 
Hi!

I have a problem with one of our servers. It posts mail through php mail
forms, but i get strange entries in the maillog that says the following:

postfix/pickup[12965]: warning: premature end-of-input on public/cleanup
socket while reading input attribute name
postfix/pickup[12965]: warning: maildrop/B54B22425A8: Error writing
message file
postfix/master[12964]: warning: process /usr/lib/postfix/cleanup pid
13285 killed by signal 6
postfix/master[12964]: warning: /usr/lib/postfix/cleanup: bad command
startup -- throttling
postfix/pickup[12965]: CFE772360CB: uid=30 from=<wwwrun>
postfix/pickup[12965]: warning: premature end-of-input on public/cleanup
socket while reading input attribute name
postfix/pickup[12965]: warning: maildrop/DE679240855: Error writing
message file
postfix/master[12964]: warning: process /usr/lib/postfix/cleanup pid
13286 killed by signal 6
postfix/pickup[12965]: 236DC236FC4: uid=30 from=<wwwrun>
postfix/pickup[12965]: warning: premature end-of-input on public/cleanup
socket while reading input attribute name

This leads me to that the problem is with the maildrop queue, but the
permissions there should be right:

drwxr-xr-x 16 root root 384 2005-06-28 01:32 .
drwxr-xr-x 10 root root 272 2005-12-02 02:04 ..
drwx------ 18 postfix root 432 2005-12-02 07:05 active
drwx------ 18 postfix root 432 2006-04-04 11:44 bounce
drwx------ 2 postfix root 48 2005-06-28 01:32 corrupt
drwx------ 18 postfix root 432 2006-02-21 16:20 defer
drwx------ 18 postfix root 432 2006-02-21 16:20 deferred
drwx------ 3 postfix root 72 2006-07-16 17:34 flush
drwx------ 2 postfix root 48 2005-06-28 01:32 hold
drwx------ 18 postfix root 432 2007-06-12 10:15 incoming
drwx-wx--- 2 postfix maildrop 112 2007-06-12 10:15 maildrop
drwxr-xr-x 2 root root 304 2007-03-09 12:00 pid
drwx------ 2 postfix root 528 2007-03-14 11:10 private
drwx--x--- 2 postfix maildrop 168 2007-03-14 11:10 public
drwx------ 2 postfix root 48 2005-06-28 01:32 saved
drwx------ 2 postfix root 48 2005-06-28 01:32 trace

PHP calls sendmail from /usr/sbin/sendmail -t -i

Mails from CGI-scripts comes throught ok, no errors in th. The PHP
version is 4.4.7 and the postfix version is 2.1 (SuSE SLES9)

Any help is appreciaded :-)

--
mvh
Jørn Skjerven

System Engineer, WebDeal AS






© 2004-2008 readlist.com