• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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