Hi there,

just a simple question about relaying a local mail with an alias instead of the user name.

so it works to relay mail to the alias address  via the relay

aliases file:

root: [email protected]

secrets file:
test [email protected]:secret_pass

smtpd.conf

table aliases file:/etc/mail/aliases
table secrets file:/etc/mail/secrets

listen on lo0

accept for local alias <aliases> deliver to mbox
accept for any relay via tls+auth://[email protected]:587 auth <secrets>


But I get mails in my log account
From: [email protected]
To:[email protected]

but i would like to have a it with
From: [email protected]
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 default when sending a mail from a user account?

Regards

--
Markus Rosjat    fon: +49 351 8107223    mail: [email protected]

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you print it, think about your responsibility and commitment to the ENVIRONMENT

Reply via email to