> aliases file: > root: [email protected] > > ... > > But I get mails in my log account > From: [email protected] > To:[email protected]
Isn't this the expected result? I think it is the purpose of mailaliases that you receive in the log account mbox the emails with "To: root@..." > but i would like to have a it with > From: [email protected] > To: [email protected] Then you have to tell the mailer (syslogd or logcheck or whatever) that sends to "[email protected]" that he should send his emails not to "root" but to "[email protected]". > to make my filtering easier in the mail account. > So is it possible to get smtpd to use the alias in the to: field by of course it is possible to rewrite an emailheader, but you should better not change standards. In your case, I think you should better modify your filter rules in the mail client.

