Hi, I have an OpenBSD 4.7 machine. I want to build a mailserver using sendmail MTA. Openbsd hostname : box.my.domain When i send a mail, i comes from u...@box.my.domain instead of u...@domainchosed.net
What i have done : cp /usr/share/sendmail/cf/openbsd-proto /etc/mail m4 /usr/share/sendmail/cf/cf.m4 /etc/mail/openbsd-proto >/etc/mail/sendmail.cf in /etc/rc.conf : sendmail_flags="-L sm-mta -C/etc/mail/sendmail.cf -bd -q30m in my /etc/mail/virtusertable : u...@domainchosed.net user in my /etc/mail/genericstable : user u...@domainchosed.net in my /etc/local-host-names : domainchosed.net i also done : makemap hash genericstable.db < genericstable makemap hash virtusertable.db < virtusertable restart sendmail But it still send mail using @box.my.domain ; someone can help me ? thanks