• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How to pipe mail to a process in Plesk/Qmail?

madsere

Regular Pleskian
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?
 
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.

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.
 
Back
Top