[TriLUG] sendmail question (unrelated to YaST)

Jeremy Portzer jeremyp at pobox.com
Mon Aug 30 11:38:05 EDT 2004


On Mon, 2004-08-30 at 11:23, Brian Henning wrote:
> ...to Yet another Sendmail Trick...or in this case, question.
> 
> Should I have to restart sendmail for changes to /etc/aliases to take
> effect?  I didn't think it was necessary, but there's circumstantial
> evidence suggesting otherwise..

No, but you have to run the program called "newaliases" (it's in
/usr/bin on my system).

newaliases parses the aliases file into a binary format into the file
aliases.db. 

This applies to both sendmail and postfix by the way (on a postfix
system, there's also a more generic command called "postmap" used for
building other database files.)

Jeremy
-- 
/---------------------------------------------------------------------\
| Jeremy Portzer        jeremyp at pobox.com      trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040830/ce682cbb/attachment.pgp>


More information about the TriLUG mailing list