Re: How to configure sendmail



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@xxxxxxxxxx (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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Anthonys drive issues.Re: ssh password delay
    ... The dmesg you sent indicated that the 2 disks were negotiating at ... > possible cause in the universe before blaming it on FreeBSD. ... to take the risk of it being hardware, ... believe is that it's a bug in the FreeBSD driver. ...
    (freebsd-questions)
  • Re: What do you dislike about OSX?
    ... is is when you claim that OS X is derivative of FreeBSD. ... about *other people* not needing to have all windows visible at all times. ... Most end users don't even know the bug exists. ... offer reasons for me to change my mind. ...
    (comp.sys.mac.advocacy)
  • Re: Support for 5.x (Was: Re: What about BIND 9.3.4 in FreeBSD in base system ?)
    ... Handling other people's send-pr bug input would be boring ... I've filed some send-pr diffs years back & not seen action, ... so if the FreeBSD Foundation ever has spare ...
    (FreeBSD-Security)
  • Re: Do we need this junk?
    ... I have an 1742A if any developer needs it for bug chasing. ... It's a full length card. ... To counter Nikolas' `stats' argument to abandon much hardware support: ... There's scanners with FreeBSD embedded inside: ...
    (freebsd-current)
  • cvs-src summary for November 8-15
    ... It is intended to help the FreeBSD community keep up with the fast-paced ... You can get old summaries, and an HTML version of this one, at ... sf driver gets polling and ALTQ support ... Xin Li committed a fix to pppd, the PPP daemon, to a bug ...
    (freebsd-current)