|    smrsh: spamassassin not available for sendmail programs
|    554 5.0.0 Service unavailable
|
| I'm guessing that maybe one must run spamd to whitelist with an alias
| because spamassassin called via the sendmil aliases mechanism can't run
| under the user id in this case?
| Would it be possible to create a user on the system for whitelisting and
| configure that user's .procmailrc and/or .forward file to update the
| auto-whitelist.db for the desired user?

As root, type:

ln -s /path/to/spamassassin /etc/smrsh/spamassassin

What's happening is the SendMail Restricted SHell (smrsh) isn't allowing the
alias to execute. From the smrsh man page:

   It sharply limits the commands that can be run
   using the ``|program'' syntax of sendmail in
   order to improve the over all security of your
   system.  Briefly, even if a ``bad guy'' can get
   sendmail to run a pro­gram without going through
   an alias or forward file, smrsh limits the set
   of programs that he or she  can  exe­cute.

Which basically means that if there's no symbolic link in the smrsh
(/etc/smrsh by default on RH systems), sendmail isn't allowed to execute it.

BTW, you don't need to create a real user with the same name as the alias.

St-





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to