Live Scores
Sport Statistics
Movie Stars
Programming
Multimedia
Mobile
Database
Enterprise
in
Qmail
Email Servers
(Entire Site)
Is it possible to have the email server run a command when it receives mail?
We have a website that tracks messages sent to and from people. It keeps the messages in a database and sends them in email. The from/reply-to address is always the same and does not send it back to the originator of the message. We thought it would be nice if we could make it where the recipient could reply to the email, have it send the message to the originator, and make the email server call a php script that will put the message in the database.
In summary, I need the email server to run a command when it receives an email at the specified address. I think the server is qmail, and it runs on linux. Is this possible, and if so, how do I do it? I don't have root access, but I know who does.
John
Solution: Is it possible to have the email server run a command when it receives mail?
There are LOTS of options with QMail -- including per-user processes that can be run when messages arrive.
Read the LifeWithQMail article on .qmail file usage and it should be apparent how to do it...
Installing ProcMail is like swatting a gnat with a sledgehammer! (IMHO!)
Dan
IT4SOHO
Popular Tags
Tags:
1.03
CentOS
email
error
exchange
fedora
files
forwarding
gmail
Linux
mail
Patched with Ldap
personal
php
plesk
Qmail
Qmail 1.03
sieve rules
slow
small business server 2003
smarthost
SMTP
sqwebmail
Ubuntu
Unable to start Plesk SMTP service (QMail)
vmoduser
vpopmail
vpopmail + qmail
webmail
Browse All Tags