Vacation Auto-responder

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.


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

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

<> (expanded from
    <>): unknown user: ""

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(<3354961><UNmJNQ/maGVRMTMA2LEwmQ>: mail from msgid=<> saved mail to INBOX
Nov 30 14:44:17 host postfix/smtp[3354963]: E087361DC7C1: to=<>,[]: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.

dnf info dovecot-pigeonhole

dnf install dovecot-pigeonhole

Package dovecot-pigeonhole-1:2.3.16-4.el8.x86_64 is already installed.

And ?
Did you read what it says on the link shown?

dovecot.conf ?

#;# Enabled mail protocols.
protocols = pop3 imap sieve lmtp

#;# Pigeonhole managesieve service.
#;# Reference: Sieve — Dovecot documentation
#;# Per-user sieve settings.
sieve_dir = ~/sieve
sieve = ~/sieve/dovecot.sieve

#;# Global sieve settings.
sieve_global_dir = /dir/dir/dir/sieve

#;# Use recipient as vacation message sender instead of null sender (<>).
sieve_vacation_send_from_recipient = yes

It doesn’t matter if it’s Rocky 8 or 9.
PostfixAdmin is for create domains, accounts, aliases, passwords and such administrative things.

Auto-replies are the job of the local delivery agent.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.