[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: basic sendmail configuration question
On Sun, 2003-09-07 at 11:18, Eric Dillenseger wrote:
> I have a box that's used to act as lab. I make every tests on this one.
> But I don't wan't to install postfix everytime I format the disk, so I
> though about using sendmail. But I don't want the mail to stick on that
> box so after some readings I modified
> /usr/share/sendmail/cf/openbsd-localhost.mc like that:
I don't know if this is the "correct" way to do it, but I just copied
the openbsd-localhost.mc and added the following line:
Then I rebuilt the .cf file and installed it. Then I edited
/etc/mail/aliases and redirected root and my own account to
<accountname>@mydomain.tld so my smarthost would accept the relaying
(and ran newaliases). Now all the local mail to accounts I care about
goes to my main mailbox on a third machine (e.g. test box -> mail
gateway -> host w/mailbox).