User login

Debian server not sending mail to recipients that share its domain name

In Agaric's case for this server, mail for the domain was in fact being handled elsewhere. The problem was the server thought it should do it, so it caught all the mail with its domain name and squashed it, saying "there's no user by this name."

Jan 8 11:01:31 stedile postfix/local[28262]: A35D064CFD: to=<>, orig_to=, relay=local, delay=0.12, delays=0.05/0.01/0/0.06, dsn=5.1.1, status=bounced (unknown user: "herrera")

Jan 6 13:07:41 stedile postfix/local[22758]: 3419664CA2:, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "support")

List all the domains you wish to handle mail for, in the file /etc/postfix/virtual/domains.

Thanks to the ever-amazing

I figured out where to look

a search for example:
And there it was:

mydestination =, stedile, localhost.localdomain, localhost

xxxxx... to get rid of

mydestination = stedile, localhost.localdomain, localhost

and shift-ZZ to save and get out of there

And to reload the configuration:

postfix reload

should be good now.

Jan 10 10:34:46 stedile postfix/postfix-script: refreshing the Postfix mail system
Jan 10 10:34:46 stedile postfix/master[1618]: reload configuration /etc/postfix
Jan 10 10:34:47 stedile postfix/qmgr[10249]: E194C64CC7:, size=898, nrcpt=1 (queue active)

And the e-mail came through! Yay!


Remove your domain from the mydestination string in Postfix's

Searched words: 
debian send local e-mail pass-through server e-mail to handle elsewhere tell Debian postfix not to use domain as local users


Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.