Autoresponder floods email when enabled

When the autoresponder is enabled on a client's email account (through VM or UM) and a test email is sent to the account to verify it works, the sender does not receive the autoresponder but the receiver has over 100 copies of the original testing email in their mail account.

I've looked through autoresponder issues and ensured the files and directories referred to exist but have had no luck. I've tested the autoresponder feature on other VM servers we have and they work correctly but the others are CentOS 5.4 and this one is Ubuntu 10.04-LTS.

Status: 
Closed (fixed)

Comments

Was the client sending email to himself, perhaps triggering an autoresponder loop?

No I thought that to but it occurs when sending from any account.

After a few days I received this:

peter@sane-aws-ap1b.cloudulo.us (expanded from peter@sane.org): temporary failure. Command output: local: fatal: execvp /etc/webmin/virtual-server/autoreply.pl: Permission denied Reporting-MTA: dns; sane-aws-ap1b.cloudulo.us X-Postfix-Queue-ID: 673B282102 X-Postfix-Sender: rfc822; peter@cyandigital.com Arrival-Date: Fri, 17 Dec 2010 04:49:28 +0000 (UTC)

But the file perms are as follows:

ls -al /etc/webmin/virtual-server/autoreply.pl -rwxr-xr-x 1 root root 10807 2010-08-29 12:33 /etc/webmin/virtual-server/autoreply.pl

What are the permissions on /etc/webmin and /etc/webmin/virtual-server ? They should be at least 711 , so that non-root users can access autoreply.pl

drwxr-xr-x 122 root root 4096 2011-01-07 20:52 /etc/webmin drwx--x--x 16 root root 4096 2011-01-07 20:41 /etc/webmin/virtual-server

That looks Ok to me.

You can double-check permissions by logging in as some non-root user and trying to run /etc/webmin/virtual-server/autoreply.pl

Thanks Jamie, that put me on the right track. The Perl binary was set to 700. Cheers, Peter

Ok, that would explain it.

Any idea how it got the wrong permissions? Virtualmin should set it to 755 by default ..

Jamie not sure but will keep you posted if anything comes to light. Thanks for your help.