The file you're looking for is either /etc/aliases or /etc/mail/aliases. It's a file that's associated with sendmail. Once you modify it, you need to run the command 'newaliases' as the root user. That rebuilds the actual aliases.db file which is what sendmail actually uses. You do not need to restart sendmail.
You should be able to run "man aliases" and get a description of how to properly set up an alias to shell out to a program. Typically, it'd be something like: somealias: |"/path/to/some/program -arg1 -arg2" HTH, St- | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]]On Behalf Of Don | Lindbergh | Sent: Tuesday, October 01, 2002 1:44 PM | To: [EMAIL PROTECTED] | Subject: [SAtalk] Whitelisting with an alias | | | I'm running SpamAssassin v2.31 on linux v7.2. I'm the only user on the | system and use my .procmailrc to filter incoming mail through | SpamAssassin. | I have added some commands to my /home/<username>.spamassassin/user_prefs. | So far it's working well. | | I want to be able to forward emails which should get whitelisted | to an email | address as per the docs. I'm missing something fundamental as this is | described in the man page. I don't understand exactly how to set up a mail | alias and/or how to use a line such as the below from the man page. | | spamtrap1: ""| /path/to/spamassassin -r -w spamtrap1"" | | or in my case I guess something more like | | spam_whitelist: ""|/usr/bin/spamassassin -W"" | | Does this line get executed/run from the command line (shell prompt?) Does | it go in /user/home/.spamassassin/user_prefs? Some other | configuration file? | Do I need to actually create this user on the machine? | | thanks for any clues, | | --Don | | | | ------------------------------------------------------- | This sf.net email is sponsored by: DEDICATED SERVERS only $89! | Linux or FreeBSD, FREE setup, FAST network. Get your own server | today at http://www.ServePath.com/indexfm.htm | _______________________________________________ | Spamassassin-talk mailing list | [EMAIL PROTECTED] | https://lists.sourceforge.net/lists/listinfo/spamassassin-talk | ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk