• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

autoresponder using .qmail-default

A

atin

Guest
We provide auto-responder service and for this we execute a script when any new mail arrives. We have done it using following lines in .qmail-default file (in our old server):
|/home/httpd/vhosts/isendinfo.net/cgi-bin/subscribe34.pl

It was working fine on old server, we tried to put these lines on our new Plesk 7.5 Reloaded server's .qmail-default file
(/var/qmail/mailnames/isendinfo.net/.qmail-default) , but the script subscribe34.pl is not getting executed when any new mail arrives.

Could you please give us some idea what we might be doing wrong.

OR, if this is not possible this way, please let us know how we can do the same thing i.e. call a script when any new mail arrives.

Thanks!
Atin Kapoor
 
Check that you have permissions to execute it as a non owning user.

ie check that all directories up to and including the file are chmod to 755 and not 750
 
.qmail-default file problem

Hi,
This worked great before .... we are calling a autoresponder script (perl script) when any new mail arrives using the following code in .qmail-default file:
|/usr/bin/perl /home/httpd/vhosts/domain.com/httpdocs/subscribe.pl

This had correct permissions and was working perfectly ... not sure what happened, i just restarted qmail usign the following command /etc/rc.d/init.d/qmail restart .......... and now it stopped working.
When i send a mail to the server, it bounces back with error as
Sorry, no mailbox here by that name. (#5.1.1)

Obviously there is no mailbox with that name, but we dont' want to send the mail to any mailbox, we just want to pipe it to a perl script.

Can anybody give any idea.

Best Regards
Atin Kapoor
 
Back
Top