1 (edited by alexandercolhost 2021-08-12 13:17:45)

Topic: Issue with roundcube out of office or automatic replies

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: CentOS Linux release 8.3.2011
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro    4.8 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello, our mailboxes accounts have issues with the automatic replies created in the roundcube webmail. the messages sent to our mailboxes are not generating the automatic replies

we checked the file /var/log/dovecot/lda.log info like:
Aug 10 17:08:50 mail5 dovecot[3425518]: lda(proyectosria@riaforestal.org)<3425518><xlU4JPL4EmHuRDQAxI7+Hg>: Error: sieve: from=infotransturilujo@gmail.com, envelope_sender=infotransturilujo@gmail.com, subject=Re: Cotización, msgid=<CAAraJ2Y_15K6Uq6zqCBtfXov17Afu0tf1ZQiXV22NisHBi2zng@mail.gmail.com>, size=672675, delivery_time=22ms, failed to send vacation response to infotransturilujo@gmail.com: <Sendmail program returned error> (temporary error)

the file /var/log/dovecot/dovecot.log show the next info:
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: sieve: Executing script from `/mailbox4/vmail1/riaforestal.org/p/r/u/prueba1-2021.08.10.09.57.40/sieve/dovecot.sieve'
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: program exec:/usr/sbin/sendmail: Created
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: program exec:/usr/sbin/sendmail: Establishing connection
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: program exec:/usr/sbin/sendmail: Forked child process
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: program exec:/usr/sbin/sendmail (2885029): Connected to program
Aug 10 09:59:21 mail5 dovecot[2885028]: lda(prueba1@riaforestal.org)<2885028><8NaVI0mUEmGkBSwAxI7+Hg>: Debug: program exec:/usr/sbin/sendmail (2885029): Finished streaming payload to program


the file /var/log/maillog show:
Aug 10 09:59:21 mail5 postfix/sendmail[2885029]: warning: unexpected attribute queue_id from /usr/sbin/postdrop -r (expecting: protocol)
Aug 10 09:59:21 mail5 postfix/sendmail[2885029]: fatal: prueba1@riaforestal.org(2000): unable to execute /usr/sbin/postdrop -r: Application error


additionally commands like /usr/sbin/sendmail show the next error:
sendmail: warning: unexpected attribute queue_id from /usr/sbin/postdrop -r (expecting: protocol)
sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Application error

what can be the origin of this issue?

Many thanks for your help

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Issue with roundcube out of office or automatic replies

alexandercolhost wrote:

<Sendmail program returned error> (temporary error)

Please run command "doveconf sendmail_path" and check the path to "sendmail" program.
By default it uses "/usr/sbin/sendmail", but may be different.

Postfix usually creates /usr/sbin/sendmail by linking it to "/usr/sbin/sendmail.postfix", Debian/Ubuntu system may link it to /etc/alternatives/mta, but it's a symbol link of /usr/sbin/sendmail.postfix too.

3 (edited by alexandercolhost 2021-08-14 07:12:32)

Re: Issue with roundcube out of office or automatic replies

ZhangHuangbin wrote:
alexandercolhost wrote:

<Sendmail program returned error> (temporary error)

Please run command "doveconf sendmail_path" and check the path to "sendmail" program.
By default it uses "/usr/sbin/sendmail", but may be different.

Postfix usually creates /usr/sbin/sendmail by linking it to "/usr/sbin/sendmail.postfix", Debian/Ubuntu system may link it to /etc/alternatives/mta, but it's a symbol link of /usr/sbin/sendmail.postfix too.

Thanks, we executed the suggested command queries:
[root@mailserver ~]# doveconf sendmail_path
sendmail_path = /usr/sbin/sendmail

[root@mailserver ~]# /usr/sbin/sendmail
sendmail: warning: unexpected attribute queue_id from /usr/sbin/postdrop -r (expecting: protocol)

sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Application error

[root@mailserver ~]# ls -la /usr/sbin/sendmail
-rwxr-xr-x 1 root root 1781832 May 11 20:45 /usr/sbin/sendmail
[root@mailserver ~]# ls -al /usr/sbin/sendmail.postfix
-rwxr-xr-x 1 root root 29136 Apr  8 23:36 /usr/sbin/sendmail.postfix

additionally, we enabled the vacation option in the sogo webmail and the issue persist:
Aug 13 18:07:37 mail5 amavis[2125004]: (2125004-01) Passed CLEAN, <pruebacolhost@gmail.com> -> <test@24crea.com>, Hits: 2.603, tag=2, tag2=6.2, kill=6.9, queued_as: 4GmfN903JhzZcVX, L/Y/0/0
Aug 13 18:07:37 mail5 postfix/amavis/smtp[2125426]: 4GmfN64kpczZcTm: to=<test@24crea.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.4, delays=0.03/0/0.01/2.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4GmfN903JhzZcVX)
Aug 13 18:07:37 mail5 postfix/pipe[2125475]: 4GmfN903JhzZcVX: to=<test@24crea.com>, relay=dovecot, delay=0.1, delays=0/0/0/0.09, dsn=2.0.0, status=sent (delivered via dovecot service (sendmail: warning: unexpected attribute queue_id from /usr/sbin/postdrop -r (expecting: protocol) se))
Aug 13 18:07:37 mail5 postfix/qmgr[2125315]: 4GmfN903JhzZcVX: removed

What can be the issue? many thanks

4

Re: Issue with roundcube out of office or automatic replies

Try to append this line in /etc/dovecot/dovecot.conf, then restart dovecot service and try again:

sendmail_path = /usr/sbin/sendmail.postfix