Differences

This shows you the differences between two versions of the page.

Link to this comparison view

unknownmailtransporterror [2016/03/23 12:12] (current)
yassine chaouche created
Line 1: Line 1:
 +\\
 +[[:index|Home]] > [[:computers|computers]] > [[:mail|mail]] > [[:postfix|postfix]] > [[UnknownMailTransportError|UnknownMailTransportError]] | [[:about|About]]
 +
 +
 +There could be multiple origins for this error, you must check the log files for more clues. For example, looking at mail.log you would see something like this : 
 +
 +<code>
 +
 +Mar 23 11:06:34 messagerie postfix/smtpd[6104]: connect from mta-gw11.infomaniak.ch[84.16.68.70]
 +Mar 23 11:06:34 messagerie postfix/smtpd[6104]: 727691E92409: client=mta-gw11.infomaniak.ch[84.16.68.70]
 +Mar 23 11:06:34 messagerie postfix/cleanup[7130]: 727691E92409: message-id=xxx@
 +Mar 23 11:06:34 messagerie postfix/qmgr[3024]: 727691E92409: from=<xxx@infomaniak.com>, size=4153, nrcpt=1 (queue active)
 +
 +
 +Mar 23 11:06:34 messagerie postfix/pipe[7131]: fatal: get_service_attr: unknown username: spamd  <------------
 +
 +
 +
 +Mar 23 11:06:34 messagerie postfix/smtpd[6104]: disconnect from mta-gw11.infomaniak.ch[84.16.68.70]
 +Mar 23 11:06:35 messagerie postfix/qmgr[3024]: warning: private/spamassassin socket: malformed response
 +Mar 23 11:06:35 messagerie postfix/qmgr[3024]: warning: transport spamassassin failure -- see a previous warning/fatal/panic logfile record for the problem description
 +Mar 23 11:06:35 messagerie postfix/master[3016]: warning: process /usr/lib/postfix/pipe pid 7131 exit status 1
 +</code>
 +
 +5th line indicates that spamd is an unknown username. Does it exist on the system ? a quick grep on /etc/passwd showed that it didn't. The solution was just to create the spamd user with 
 +
 +<code>
 +adduser --system spamd
 +</code>
 +
 +Restart postfix, everything back to normal.
 +
 +----
 +
 +contact : [[http://twitter.com/ychaouche|@ychaouche]] yacinechaouche at yahoocom
  

QR Code
QR Code unknownmailtransporterror (generated for current page)