madsere Regular Pleskian Jan 7, 2006 #1 How do I setup Plesk/Qmail to pipe email to an email account into a script. Under standard sendmail all that's needed is a line in /etc/aliases like: email-addy: "| /etc/smrsh/script" How's it done in Plesk/Qmail?
How do I setup Plesk/Qmail to pipe email to an email account into a script. Under standard sendmail all that's needed is a line in /etc/aliases like: email-addy: "| /etc/smrsh/script" How's it done in Plesk/Qmail?
madsere Regular Pleskian Jan 7, 2006 #2 Thanks for the suggestion, but I think you misunderstood the question. Since the forum in the link requires signing up just to even read the forum here is the content of the post: Hello. To redirect the output of a comman to a mail we have to do following. For example: ls |mail -s"Subject" emailaddress This mail the ls output to the email address specified. Thanks. Click to expand... I am not asking how I can send a mail from a process, that's simple stuff. I'm asking how to send a mail to a process. It's the other way around.
Thanks for the suggestion, but I think you misunderstood the question. Since the forum in the link requires signing up just to even read the forum here is the content of the post: Hello. To redirect the output of a comman to a mail we have to do following. For example: ls |mail -s"Subject" emailaddress This mail the ls output to the email address specified. Thanks. Click to expand... I am not asking how I can send a mail from a process, that's simple stuff. I'm asking how to send a mail to a process. It's the other way around.