Ionut Stoica

Programator PHP / Frontend developer / Pasionat de Electronica Auto
3Aug

Postfix: unknown user

De ceva timp ma confruntam cu o “mica” problema pe serverul meu de mail. Primeam undelivered email returned to sender cand incercam sa trimit un email pe o adresa virtuala de tip forward (forwarding email sau catch-all email). Adresele virtuale ce aveau cont definit functionau impecabil.

Dupa multe lupte cu Postfix rezolvarea este simpla. Aveam o linie ce imi dezactiva mappings-urile fix in main.cf, mai exact asta:

receive_override_options = no_address_mappings

Dupa ce am comentat linia, serverul si-a revenit miraculos 🙂

P.S. Asa arata eroarea din mail.log

Aug 3 13:28:33 dabv postfix/smtpd[30275]: connect from mail-yx0-f178.google.com[209.85.213.178]
Aug 3 13:28:34 dabv postfix/smtpd[30275]: 803F76380045: client=mail-yx0-f178.google.com[209.85.213.178]
Aug 3 13:28:34 dabv postfix/cleanup[30357]: 803F76380045: message-id=
Aug 3 13:28:34 dabv postfix/qmgr[30149]: 803F76380045: from=, size=2957, nrcpt=1 (queue active)
Aug 3 13:28:34 dabv postfix/pipe[30378]: 803F76380045: to=, relay=dovecot, delay=0.44, delays=0.43/0/0/0, dsn=5.1.1, status=bounced (user unknown)
Aug 3 13:28:34 dabv postfix/cleanup[30357]: C874E6380086: message-id=
Aug 3 13:28:34 dabv postfix/qmgr[30149]: C874E6380086: from=<>, size=4657, nrcpt=1 (queue active)
Aug 3 13:28:34 dabv postfix/bounce[30380]: 803F76380045: sender non-delivery notification: C874E6380086
Aug 3 13:28:34 dabv postfix/qmgr[30149]: 803F76380045: removed
Aug 3 13:28:35 dabv postfix/smtp[30382]: C874E6380086: to=, relay=ASPMX.L.GOOGLE.com[173.194.70.27]:25, delay=1.1, delays=0/0/0.36/0.76, dsn=2.0.0, status=sent (250 2.0.0 OK 1343989715 77si11149613wet.99)
Aug 3 13:28:35 dabv postfix/qmgr[30149]: C874E6380086: removed
Comments(0)

Leave a comment

Your email address will not be published.Field is required

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

 Previous  All works Next