Home > computers > mail > postfix > UnknownMailTransportError | 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 :

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

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

adduser --system spamd

Restart postfix, everything back to normal.


contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code unknownmailtransporterror (generated for current page)