Please tell me how to set autoreply
OS Centos6
MTA sendmail
/etc/mail/virtusertable
test@xxxx.com tadao
And I have already worked with the information of ‘https://www.virtualmin.com/node/14004’
“Email Messages” setting. Click the triangle and a list of four options should appear. Click on “Spam and Virus Scanning.” Now on the right side, in the form that appears, look for the “Allow mailbox users to create mail filters?” setting. Click “Yes” and save that.
our /etc/procmailrc is following.
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
MAILDIR=$HOME/Maildir
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
Login to Usermin by user tadao, and set autoreply.pl.
The page shows followings.
Filter and Forward Mail
Warning - The system is configured to forward all email to your mailbox to the following destinations. Filters defined here will not be used.
Program 'autoreply.pl
File /home/tadao/autoreply.0.txt'
Warning - The system is configured to not process user-defined mail filters. Filters defined here will not be used.
You do not have any mail filters defined yet. All email will be delivered to your Inbox.
Add a new email filter. | Quick automatic reply setup. | Quick forwarding setup.
And testing maillog is followings
Jan 14 16:21:00 pasalt1 sendmail[6969]: t0E7L0WF006968: alias <test@xxxx.com> => |'autoreply.pl /home/tadao/autoreply.0.txt'
Jan 14 16:21:00 pasalt1 sendmail[6969]: t0E7L0WF006968: to=|'autoreply.pl /home/tadao/autoreply.0.txt', ctladdr=<test@xxxx.com> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=33515, dsn=5.3.0, stat=unknown mailer error 127