Submitted by tlamont on Wed, 01/05/2011 - 16:21 Pro Licensee
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
Submitted by JamieCameron on Wed, 01/05/2011 - 16:45 Comment #1
Was the client sending email to himself, perhaps triggering an autoresponder loop?
Submitted by tlamont on Thu, 01/06/2011 - 16:14 Pro Licensee Comment #2
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
Submitted by JamieCameron on Thu, 01/06/2011 - 16:16 Comment #3
What are the permissions on
/etc/webmin
and/etc/webmin/virtual-server
? They should be at least 711 , so that non-root users can accessautoreply.pl
Submitted by tlamont on Fri, 01/07/2011 - 03:56 Pro Licensee Comment #4
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
Submitted by JamieCameron on Fri, 01/07/2011 - 12:35 Comment #5
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
Submitted by tlamont on Fri, 01/07/2011 - 15:35 Pro Licensee Comment #6
Thanks Jamie, that put me on the right track. The Perl binary was set to 700. Cheers, Peter
Submitted by JamieCameron on Fri, 01/07/2011 - 17:55 Comment #7
Ok, that would explain it.
Any idea how it got the wrong permissions? Virtualmin should set it to 755 by default ..
Submitted by tlamont on Sat, 01/08/2011 - 14:29 Pro Licensee Comment #8
Jamie not sure but will keep you posted if anything comes to light. Thanks for your help.