Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2009 20:03:41 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
Cc:        questions@freebsd.org
Subject:   Re: How to configure sendmail
Message-ID:  <alpine.BSF.2.00.0911081948100.92390@wonkity.com>
In-Reply-To: <200911090225.nA92PxYp079632@banyan.cs.ait.ac.th>
References:  <alpine.BSF.2.00.0911060754570.81381@wonkity.com> <200911090225.nA92PxYp079632@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Nov 2009, Olivier Nicole wrote:

>>> but the alias for user2 is not parsed
>>
>> newaliases(1) is needed after editing /etc/mail/aliases.  And there is a
>> bug if you're using 8.0:
>
> Yes I did newaliases and the version of sendmail is the default with
> FreeBSD, that must be 8.14.3

I mean there is a bug with sendmail not always sending to aliases on 
FreeBSD 8.0-RC2:

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/139870

>> Masquerade again.  Not clear whether that's what you want.
>
> How to configure sendmail on a.domain.net so that:
>
> 1) users with an alias defined in /etc/mail/aliases have their
>  messages sent to the alias;
>
> 2) users with no alias have their mail sent to user@domain.net (same
>  username).
>
> It seems that masquerade does the part 2) but users in 1) are not sent
> to the alias.

Maybe a mail hub setup in addition to the aliases will do what you need. 
/usr/share/sendmail/cf/README has more information.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0911081948100.92390>