Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks!
Regards, infoomatic
Shouldn't the executable be dovecot-lda?: /usr/libexec/dovecot/dovecot-lda -d ${user}@${domain} -a {recipient} -f ${sender} -m ${extension}
Bill
On 1/24/2018 11:30 AM, Infoomatic wrote:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks!
Regards, infoomatic
Op 1/24/2018 om 5:30 PM schreef Infoomatic:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks!
Apparently, the ${sender} has no @domain part. Why?
Regards,
Stephan.
thanks for your input.
Bill: deliver is just a symlink to dovecot-lda Stephan: I don't know, and and it even does not work when I use deliver -f "postmaster@ourdomain.internal" - I get the same error message.
A part of the mail I got when using 2.2.23:
Return-Path: <MAILER-DAEMON> Delivered-To: user1@ourdomain.internal Received: from localhost (localhost [127.0.0.1]) by hosting.ourdomain.internal (Postfix) with ESMTP id 8E985424C7 for user1@ourdomain.internal; Thu, 25 Jan 2018 12:36:59 +0100 (CET) Content-Type: multipart/report; report-type=delivery-status;
That's strange. Any ideas, anyone?
Regards, infoomatic
Gesendet: Donnerstag, 25. Januar 2018 um 09:35 Uhr Von: "Stephan Bosch" stephan@rename-it.nl An: Infoomatic infoomatic@gmx.at, dovecot@dovecot.org Betreff: Re: problem with lda
Op 1/24/2018 om 5:30 PM schreef Infoomatic:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks!
Apparently, the ${sender} has no @domain part. Why?
Regards,
Stephan.
Right, I figured out the symlink after I sent my response.
Did you try the command switches from my post?
Bill
On 1/25/2018 8:07 AM, Infoomatic wrote:
thanks for your input.
Bill: deliver is just a symlink to dovecot-lda Stephan: I don't know, and and it even does not work when I use deliver -f "postmaster@ourdomain.internal" - I get the same error message.
A part of the mail I got when using 2.2.23:
Return-Path: <MAILER-DAEMON> Delivered-To: user1@ourdomain.internal Received: from localhost (localhost [127.0.0.1]) by hosting.ourdomain.internal (Postfix) with ESMTP id 8E985424C7 for user1@ourdomain.internal; Thu, 25 Jan 2018 12:36:59 +0100 (CET) Content-Type: multipart/report; report-type=delivery-status;
That's strange. Any ideas, anyone?
Regards, infoomatic
Gesendet: Donnerstag, 25. Januar 2018 um 09:35 Uhr Von: "Stephan Bosch" stephan@rename-it.nl An: Infoomatic infoomatic@gmx.at, dovecot@dovecot.org Betreff: Re: problem with lda
Op 1/24/2018 om 5:30 PM schreef Infoomatic:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks! Apparently, the ${sender} has no @domain part. Why?
Regards,
Stephan.
My workaround for this issue was to use lmtp which now works flawlessly.
Regards, infoomatic
Gesendet: Donnerstag, 25. Januar 2018 um 14:07 Uhr Von: Infoomatic infoomatic@gmx.at An: "Stephan Bosch" stephan@rename-it.nl, "Dovecot ML" dovecot@dovecot.org Betreff: Aw: Re: problem with lda
thanks for your input.
Bill: deliver is just a symlink to dovecot-lda Stephan: I don't know, and and it even does not work when I use deliver -f "postmaster@ourdomain.internal" - I get the same error message.
A part of the mail I got when using 2.2.23:
Return-Path: <MAILER-DAEMON> Delivered-To: user1@ourdomain.internal Received: from localhost (localhost [127.0.0.1]) by hosting.ourdomain.internal (Postfix) with ESMTP id 8E985424C7 for user1@ourdomain.internal; Thu, 25 Jan 2018 12:36:59 +0100 (CET) Content-Type: multipart/report; report-type=delivery-status;
That's strange. Any ideas, anyone?
Regards, infoomatic
Gesendet: Donnerstag, 25. Januar 2018 um 09:35 Uhr Von: "Stephan Bosch" stephan@rename-it.nl An: Infoomatic infoomatic@gmx.at, dovecot@dovecot.org Betreff: Re: problem with lda
Op 1/24/2018 om 5:30 PM schreef Infoomatic:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks!
Apparently, the ${sender} has no @domain part. Why?
Regards,
Stephan.
Op 1/25/2018 om 2:07 PM schreef Infoomatic:
Stephan: I don't know, and and it even does not work when I use deliver -f "postmaster@ourdomain.internal" - I get the same error message.
Are you sure about that? I don't get an error here; well only when I omit the domain. Did you try this from command line?
Regards,
Stephan.
A part of the mail I got when using 2.2.23:
Return-Path: <MAILER-DAEMON> Delivered-To: user1@ourdomain.internal Received: from localhost (localhost [127.0.0.1]) by hosting.ourdomain.internal (Postfix) with ESMTP id 8E985424C7 for user1@ourdomain.internal; Thu, 25 Jan 2018 12:36:59 +0100 (CET) Content-Type: multipart/report; report-type=delivery-status;
That's strange. Any ideas, anyone?
Regards, infoomatic
Gesendet: Donnerstag, 25. Januar 2018 um 09:35 Uhr Von: "Stephan Bosch" stephan@rename-it.nl An: Infoomatic infoomatic@gmx.at, dovecot@dovecot.org Betreff: Re: problem with lda
Op 1/24/2018 om 5:30 PM schreef Infoomatic:
Hello,
I am currently testing the upgrade from our dovecot v2.2.23 to 2.3.0. I have a strange problem with lda. We use bounce mails for internal users if they try to send virus/spammails. The exact same config works with 2.2.23, but not with 2.3.0.
The relevant postfix/master.cf part: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/opt/dovecot/libexec/dovecot/deliver -d ${recipient} -f ${sender}
On the same machine, with 2.2.23 I get a bounce mail when trying to send a virus, with the subject "VIRUS in message apparently from you (Eicar-Test-Signature)", to both the users inbox as well as to the mailbox of virusalert@ourdomain.internal
With 2.3.0, in the logs I get an error:
relay=dovecot, delay=0.01, delays=0/0/0/0, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Invalid -f parameter: Missing domain
and the alert message is only sent to virusalert@ourdomain.internal, but not to the user who tried to send the mail.
The relevant part of our dovecot.conf: protocol lda { mail_plugins = " quota zlib sieve acl mail_log notify" postmaster_address = postmaster@ourdomain.internal }
Does anyone know how to solve this problem? Or is there a workaround via postfix/amavis/spamassassin? Any hints are highly appreciated, thanks! Apparently, the ${sender} has no @domain part. Why?
Regards,
Stephan.
participants (3)
-
Bill Shirley
-
Infoomatic
-
Stephan Bosch