[plug] sendmail: generic aliases

lamya bencheikh lamyab at marocinternet.com
Wed Mar 26 18:43:56 WST 2003


 Hello,
Can somebody help me please. I have a problem with sendmail: I'm using 
sendmail 8.11.6 on RedHat 7.3 and I need to define some generic email 
addresses, like subscribe+*@mydomain, where * is a variable. When an 
email is sent to one of these email addresses I need to execute a script 
 "script.pl" with the variable * as an input.
What I've done (unsuccessfully):
in my "/etc/mail/virtusertable" :
    subscribe+*@mydomain    subscribe+%2

and in my "/etc/mail/aliases" :
    subscribe+*:    "|/path/script.pl %2"

the script "script.pl" is executed but instead of the real variable * it 
gets "%2" as an input.
thank you.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20030326/e1acd93b/attachment.html>


More information about the plug mailing list