[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sendmail questions



>> 1. can i make an alias to all users without explicitly writing usernames
>> ?

Not that I know. How do you imagine it? What about mails to nobody@,
httpd@, uucp@, halt@, daemon@ and other funny users?

>> 2. can sendmail take usernames not from /etc/passwd (maytbe
>> /etc/mailusers ??? )

Maybe UserDb feature could help... You might also use procmail recipes (or
sendmail recipes, if you like to write something in the $*@&#$*$# style) 
to reject users not from /etc/mailusers.

>> 3. can i make a mail alias which takes a list and removes some
>>    ( e.g.       all:       avi,dani,yossi,efraim
>>            >>   all-:      all execpt avi     <<
>>    )

I fear that's a bit beyond what aliases were designed to do. Use procmail
or some mailing list manager.

-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il