I am trying to set up the "info" alias on my Unix (SunOS) machine so it
automatically returns the contents of a text file to the sender.
When I send a message to "info", the Sendmail command that is listed in the
/etc/aliases file is executed, which looks like this:
>info-owner: don
># the following "sendmail" command returns the text file
># "/home/mdomo/lists/info.info" to the original sender
>info: "|/usr/lib/sendmail -f info-owner $SENDER < /home/mdomo/lists/info.info"
^^^^^^^^ ^^^^^^^
What happens at this point (according to the verbose output) is that the
sender's actual address does not replace $SENDER, so it produces this
error:
> ----- Transcript of session follows -----
>501 info-owner... Recipient names must be specified
I have been told by several people on the 'Net that they use this Sendmail
command (just as I have it here) very successfully. I am using Sendmail V8
(just like them).
However, I haven't been able to find *any* references to $SENDER in the
O'Reilly Sendmail documentation book. I am now thinking that perhaps
$SENDER is some sort of add-on script or macro that may not be defined on
my system. Is this possible? If so, can someone send it to me? If this
isn't the problem, does anyone have any ideas/suggestions? THIS CAN'T BE
THAT HARD, SINCE EVERYONE'S DOING IT! (sorry, my exasperation is
showing...)
Is there a more efficient way of achieving my goal (other than using a
Majordomo competitor like Procmail)?
Thanks in advance,
Don
--
_____________________________________________________________________
Don Gray
International Sales Director Talarian Corporation
444 Castro Street, Suite 140
e-mail (preferred): don@talarian.com Mountain View, CA 94041
Tel: +1-415-965-9066 x138 (direct) U.S.A.
Fax: +1-415-965-9077
_____________________________________________________________________
|
|