[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bounce address domain diff then sent-to domain; how to fix?



Scenario:

I send email to bogus@xxxxxxxxxxx is a virtualdomain on my qmail server that also hosts y.com.

There is no user named "bogus" in the x.com virtual domain, and the catch-all setting for x.com says "bounce." The eamil sender receives a bounce msg as expected, but the bounce msgs has this field:

From:MAILER-DAEMON@xxxxxxxxxx

(presumably because /var/qmail/control/me = mail.y.com). I prefer that the bounce msg instead contain:

From:MAILER-DAEMON@xxxxxxxxxx

In short, the email sent to x.com gets a bounce msg from y.com, potentially confusing a user, among other things.

Is there a way to fix this per my preference above?

-Matt