<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Hello,<br>
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.<br>
What I've done (unsuccessfully):<br>
in my "/etc/mail/virtusertable" : <br>
<font face="Courier New, Courier, monospace">subscribe+*@mydomain
subscribe+%2</font><br>
<br>
and in my "/etc/mail/aliases" :<br>
<font face="Courier New, Courier, monospace">subscribe+*: "|/path/script.pl
%2"<br>
<br>
</font>the script "script.pl" is executed but instead of the real variable
* it gets "%2" as an input.<br>
thank you.<br>
<br>
<br>
</body>
</html>