Please tell me how to set autoreply
OS Centos6 MTA sendmail
/etc/mail/virtusertable firstname.lastname@example.org tadao
And I have already worked with the information of 'https://www.virtualmin.com/node/14004'
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.
And testing maillog is followings
Jan 14 16:21:00 pasalt1 sendmail: t0E7L0WF006968: alias <email@example.com> => |'autoreply.pl /home/tadao/autoreply.0.txt' Jan 14 16:21:00 pasalt1 sendmail: t0E7L0WF006968: to=|'autoreply.pl /home/tadao/autoreply.0.txt', ctladdr=<firstname.lastname@example.org> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=33515, dsn=5.3.0, stat=unknown mailer error 127