Hello Community. I’m having trouble setting up Postfix to send a Vacation Auto-reply.
I have postfix configured to authenticate against mysql and I am using postfixadmin to configure postfix virtual mailboxes and the vacation auto responder.
postfix-mysql-3.5.8-7.el8.x86_64
postfixadmin-3.3.8-4.el8.x86_64
postfix-3.5.8-7.el8.x86_64
I modified /usr/share/postfixadmin/config.local.php and set:
$CONF[‘vacation’] = ‘YES’;
That allowed me to see the “Vacation” settings in PostfixAdmin.
However, after setting up a Vacation responder on an e-mail address, I don’t get the expected response.
Instead I get:
This is the mail system at host host.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<info#example2.com@host.example.com> (expanded from
<info@example2.com>): unknown user: "info#example2.com"
In spite of that error, it does appear that the sender’s message is delivered to the recipients inbox, but I get the above instead of the configured auto-reply…
maillog doesn’t offer much help.
Nov 30 14:44:15 host dovecot[3354961]: lda(info@example2.com)<3354961><UNmJNQ/maGVRMTMA2LEwmQ>: mail from sender@gmail.com: msgid=<CANg5pCPK6O0MM5R7DV0fNRg2noD1CnMkH3F7+Q+MxnYi+Kr5gg@mail.gmail.com> saved mail to INBOX
Nov 30 14:44:17 host postfix/smtp[3354963]: E087361DC7C1: to=<sender@gmail.com>, relay=ALT2.ASPMX.L.GOOGLE.com[172.253.62.27]:25, delay=1.7, delays=0/0.01/1.2/0.53, dsn=2.0.0, status=sent (250 2.0.0 OK 1701373457 fj13-20020a05622a550d00b00423d65135f7si1739506qtb.809 - gsmtp)
I’m having difficulty finding documentation on the correct way to configure this on a Rocky 8 system. It seems there are a LOT of different ways this could be configured, but I don’t know the proper Rocky 8 way to do it.
Any help would be greatly appreciated. If I need to provide any additional information regarding my configuration, please let me know.