mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.98k stars 1.44k forks source link

sieve generated mails missing Return-path #1355

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello Devs.

I created a filter in roundcube replying to any message with a vacation message. This works in general but if the recieving mailserver checks for a "header_sender" (in my case exim) the message gets refused with "cannot verify header_sender in ACL for RCPT". This is the deny rule in exim:

    deny    senders = :
            message = A valid sender header is required for bounces
                     !verify  = header_sender

Mail Header in question:

Return-path: <>
Envelope-to: himbeere@mydomain
Delivery-date: Sat, 17 Feb 2018 21:22:29 +0100
Received: from box.mailinabox.de ([xxx.xxx.xxx.xxx])
        by mail.mydomain with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
        (Exim 4.90_1)
        id 1en909-0008Ds-Kp
        for himbeere@mydomain; Sat, 17 Feb 2018 21:22:29 +0100
Received: by box.mailinabox.de (Postfix, from userid 8)
        id 0620ABDF50; Sat, 17 Feb 2018 21:21:15 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailinabox.de;
        s=mail; t=1518898875;
        bh=aNy3OZeWGtJ/e5T0tNHuWTKj8eKMyZnEw+Etefww9wI=;
        h=Date:From:To:Subject:In-Reply-To:References:From;
        b=KLRPaFP7nD323/tSh4Usg0FkZKNO8uCiALpl81QQRuUTgkJ8JBl35VY16kcdfr4YW
         B+Xa3Adr0iBW1UsD0lKedkGibnRFHCBL0Bzl/Q+gv7Xxr6Ki+jKaVwj6az2V8EZOMv
         d5tMVL6KkGeGpgaHWIrQWMD5j63YnEVaBfBA69UHyz7lxehgg3gdXAEvPec3tFL3pO
         0h4Coqse9LVKnRFn7EHW3Nn/02Ndrgnf/sZguGtsbCy8gMSH6G1C6to4wJzvkisxgj
         rWP5TgoLwU5PQZI/+ycegVF4nbROlghlW9C3075Rr5HXNWiUIjjaDhfnTTqoyj4ATo
         f0F7X76FwZe6g==
X-Sieve: Pigeonhole Sieve 0.4.13 (7b14904)
Message-ID: <dovecot-sieve-1518898875-6480-0@mailinabox>
Date: Sat, 17 Feb 2018 21:21:15 +0100
From: himbeere@mailinabox.de
To: <himbeere@mydomain>
Subject: Urlaub 
In-Reply-To: <2040622.pseM4NPZSK@rather>
References: <2040622.pseM4NPZSK@rather>
Auto-Submitted: auto-replied (vacation)
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Bar: /

The domain names are changed obviousely.

Any ideas how to solve this?

thanks and cheers

widowsoft commented 6 years ago

Did anyone answer this ? I am having same issue