On Sep 2, 2008, at 9:08 AM, Prashanth wrote:

Hi,

           I want to push all the incoming mail to db even though the
sender address or the receiver address is not dbmail user or unix
user. I tried doing this dbmail rejects the mail. how to do this?

DBMail matches incoming mail against the alias and users table to find out which account should get the message. Catch-all aliases are supported in a couple of formats. One such format is '@domain' which grabs all mail for a domain and gives it to a single user. There is no 'catch-everything' however.

Another option is to use some rewrite rules in your MTA, or deliver everything with an explicit user via dbmail-smtp -u <username>, instead of dbmail-smtp -t <headerfield> which is normally used when injecting mail from the MTA like this.

Aaron
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to