Sender address when notifying original recipient
Hello,
I am using sieve with notification of the original recipient in the case
that an email has been identified to contain a virus. After upgrading
dovecot from 2.2.21 to 2.2.29.1, I now detected that in these
notifications, their sender address is now
Is it possible to revert to the old format?
Regards Christoph
Hello,
On 2017-05-14 21:29, I wrote:
I am using sieve with notification of the original recipient in the case that an email has been identified to contain a virus. After upgrading dovecot from 2.2.21 to 2.2.29.1, I now detected that in these notifications, their sender address is now
, instead of postmaster@mailserver.domain, like it was before. Is it possible to revert to the old format?
No idea so far? Though I forgot to write that I also updated pigeonhole, the change in the format of the sender address must be caused by the updates, for I changed nothing else on my server.
Regards Christoph
Op 5/19/2017 om 8:33 AM schreef Christoph Pleger:
Hello,
On 2017-05-14 21:29, I wrote:
I am using sieve with notification of the original recipient in the case that an email has been identified to contain a virus. After upgrading dovecot from 2.2.21 to 2.2.29.1, I now detected that in these notifications, their sender address is now
, instead of postmaster@mailserver.domain, like it was before. Is it possible to revert to the old format?
No idea so far? Though I forgot to write that I also updated pigeonhole, the change in the format of the sender address must be caused by the updates, for I changed nothing else on my server.
That looks like a bug of some sort. What is your configuration (output
from dovecot -n
)? What exact Sieve script demonstrates this behavior?
Regards,
Stephan.
Hello,
I am using sieve with notification of the original recipient in the case that an email has been identified to contain a virus. After upgrading dovecot from 2.2.21 to 2.2.29.1, I now detected that in these notifications, their sender address is now
, instead of postmaster@mailserver.domain, like it was before. Is it possible to revert to the old format?
No idea so far? Though I forgot to write that I also updated pigeonhole, the change in the format of the sender address must be caused by the updates, for I changed nothing else on my server.
That looks like a bug of some sort. What is your configuration (output from
dovecot -n
)? What exact Sieve script demonstrates this behavior?
The output of 'dovecot -n' is attached.
The sieve script is:
if header :is "X-Virus-Status" "Yes" { discard; notify :method "mailto" :options "christoph@plmail.de" :high :message "Hallo,
$env-from$ hat Ihnen eine Nachricht von $from$ mit dem Betreff $subject$ gesendet, die vom Virenscanner als infiziert erkannt und daher gelöscht wurde.
Mit freundlichen Grüßen postmaster@plmail.de";
stop; }
Regards Christoph
Op 22-5-2017 om 9:07 schreef Christoph Pleger:
Hello,
I am using sieve with notification of the original recipient in the case that an email has been identified to contain a virus. After upgrading dovecot from 2.2.21 to 2.2.29.1, I now detected that in these notifications, their sender address is now
, instead of postmaster@mailserver.domain, like it was before. Is it possible to revert to the old format?
No idea so far? Though I forgot to write that I also updated pigeonhole, the change in the format of the sender address must be caused by the updates, for I changed nothing else on my server.
That looks like a bug of some sort. What is your configuration (output from
dovecot -n
)? What exact Sieve script demonstrates this behavior?The output of 'dovecot -n' is attached.
The sieve script is:
if header :is "X-Virus-Status" "Yes" { discard; notify :method "mailto" :options "christoph@plmail.de" :high :message "Hallo,
$env-from$ hat Ihnen eine Nachricht von $from$ mit dem Betreff $subject$ gesendet, die vom Virenscanner als infiziert erkannt und daher gelöscht wurde.
Mit freundlichen Grüßen postmaster@plmail.de";
stop; }
This looks like a bug to me. For now, you can circumvent this by specifying the postmaster_address setting explicitly.
Regards,
Stephan.
On 22 May 2017, at 10.07, Christoph Pleger Christoph@plmail.de wrote:
Hello,
I am using sieve with notification of the original recipient in the case that an email has been identified to contain a virus. After upgrading dovecot from 2.2.21 to 2.2.29.1, I now detected that in these notifications, their sender address is now
, instead of postmaster@mailserver.domain, like it was before. Is it possible to revert to the old format? No idea so far? Though I forgot to write that I also updated pigeonhole, the change in the format of the sender address must be caused by the updates, for I changed nothing else on my server. That looks like a bug of some sort. What is your configuration (output from dovecot -n
)? What exact Sieve script demonstrates this behavior?The output of 'dovecot -n' is attached.
It's because you have auth_username_format = %Ln, which strips away the domain.
participants (3)
-
Christoph Pleger
-
Stephan Bosch
-
Timo Sirainen