AutoReply script missing on freshly installed system

Hi folks,

We recently migrated a customer's virtual server (domain) using the backup/restore method, and subsequently the client's inboxes started filling with duplicate messages. The migration was from a Debian 7 to a Debian 7 machine, both with standard Virtualmin GPL installs.

The mail.log revealed that this was occurring because a file, /etc/webmin/virtual-server/autoreply.pl, did not exist:

Nov  3 10:10:04 server postfix/local[3592]: 8797F2489B: to=<user.migrated-domain@server.example.com>, orig_to=<user@migrated-domain.com>, relay=local, delay=1487, delays=1481/0.01/0/6.5, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)

Nov  3 10:10:04 server local[3688]: fatal: execvp /etc/webmin/virtual-server/autoreply.pl: No such file or directory

Nov  3 10:10:04 server postfix/local[3592]: 8797F2489B: to=<user.migrated-domain@server.example.com>, orig_to=<user@migrated-domain.com>, relay=local, delay=1487, delays=1481/0.01/0/6.5, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /etc/webmin/virtual-server/autoreply.pl: No such file or directory )

Following this temporary solution, I have created the same perl "script", but as soon as users want to create auto-replies (which, unlike that page, I do want them to be able to do) presumably that script will not let the auto-reply get processed.

Could you advise which packages need to be safely (re-)installed and what to run to restore correct auto-reply functionality?

And does this qualify as a bug?

Many thanks.

Status: 
Closed (fixed)

Comments

It's possible that Virtualmin isn't automatically setting up that particular script during a restore, which could be a bug. Jamie will be able to comment on that more.

However, what would create that script is to go into Virtualmin, disable the auto-reply feature for that user, and then re-enable it.

Once you do that, it should automatically create that autoreply script.

There's a Virtualmin bug here - it should have created that autoreply.pl script at install time. I will fix this in the next release.

Till then, the work-around of disabling and then re-enabling autoreply for a mailbox will work.

Many thanks for your assistance.

As indicated, the process worked and the proper autoreply.pl is now in place.

Automatically closed -- issue fixed for 2 weeks with no activity.