Koozali.org: home of the SME Server

E-mail returning MAILER-DAEMON Failure Notice

Offline belyache

  • **
  • 28
  • +0/-0
E-mail returning MAILER-DAEMON Failure Notice
« on: December 03, 2006, 03:32:27 AM »
Hi All:

I am trying to get e-mail to work properly but all incoming e-mail have a message returned to the sender saying:
 "Failure notice"
"Hi. This is the qmail-send program at xxxxxxx.local.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<maillog@rand.xxxxxxx.local>:
Recipient unknown"

I am not sure where to start. I have added a domain, which I own and have it pointed properly via DNS. I have users created.

The e-mail are received by the users, but the senders get the returned mail, regardless of which user they send to.

Any help would be great.

Glenn

Offline mmccarn

  • *
  • 2,656
  • +10/-0
E-mail returning MAILER-DAEMON Failure Notice
« Reply #1 on: December 03, 2006, 04:24:22 PM »
Does config getprop qpsmtpd Bcc return "enabled" or "disabled"?

If it returns "enabled", and if config getprop qpsmtpd BccUser returns the default value of "maillog", then the server will try to deliver a copy of all incoming email to "maillog@<your.default.domain>"

Unfortunately, "maillog" does not exist as a local user or alias by default.  

You can fix this by:
    1) Disabling the "Bcc" function:
config setprop qpsmtpd Bcc disabled
2) Creating a user named "maillog"
3) Creating a pseudonym named "maillog" for an existing local user
4) Changing the Bcc recipient address to one that works[/list]

Offline MSmith

  • *
  • 675
  • +0/-0
E-mail returning MAILER-DAEMON Failure Notice
« Reply #2 on: December 03, 2006, 10:50:38 PM »
I see your SME server thinks of itself as "rand.XXXXX.local".  Have you told it via the appropriate server-manager panel that it is authorized to receive email for "XXXXXX.COM" (or .net, or whatever you're using)?  If the email  is coming to foo@bar.com and your server only knows about foo@bar.local, you'd get that bounce.
...

Offline belyache

  • **
  • 28
  • +0/-0
E-mail returning MAILER-DAEMON Failure Notice
« Reply #3 on: December 03, 2006, 11:37:46 PM »
mmccarn : Disabling Bcc didn't seem to work, so I created the maillog user. That worked. Bcc showed disabled, but still sent an e-mail back.

MSmith : Yes, I had added the domain.

Thanks for all of your help.

Glenn

Offline mmccarn

  • *
  • 2,656
  • +10/-0
E-mail returning MAILER-DAEMON Failure Notice
« Reply #4 on: December 04, 2006, 05:26:58 PM »
I neglected to mention that after running config setprop qpsmtpd Bcc disabled you would also need to run signal-event email-update.

As it is, your "maillog" user will be filling up with copies of all emails for all users.