Henning Brauer wrote:
* Jay Hart <[EMAIL PROTECTED]> [2008-02-11 17:58]:
Regardless, I can't seem to get mail forwarding working. The two main openbsd
books say all I need to do is create a .forwarding file and give the name of
the email address to forward to, but for two months not one email was
forwarded.
it is ~/.forward - not .forwarding
you could also set up all mail to be sent to a smart host:
three changes required -
* configure sendmail to use a remote host for all mail in
/etc/mail/submit.cf
# changes to fwd mail directly to smart host
#D{MTAHost}[127.0.0.1]
D{MTAHost}[smtp.muse.net.nz]
* configure local aliases mapping to remap users to a destination
address in /etc/mail/aliases
# Well-known aliases these should be filled in!
# root:
root: [EMAIL PROTECTED]
& permit relaying on smart host (postfix in my case) in /etc/postfix/main.cf
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
somehost.$mydomain
although Henning's solution is simpler, the other one moves all config
into /etc which i like more.
a+
scorch