Header lines inserted when using deliver

Vladimir Artemov vladar at mospravda.ru
Wed Oct 8 05:04:43 EDT 2003


Hello.

Due to a non-standard configuration the mail is delivered to an imap
mailbox through the procmail. In each user home directory there is a
procmailrc file containing
":0
| tail +2 | /usr/cyrus/bin/deliver -a `whoami` `whoami`"

So when the message is delivered to an imap mailbox there are
additional header lines "Return-Path:" and "Received:" pointing to the local account.

Here what happens:

Return-Path: <myuser at mydomain.com>
Received: from mail.mydomain.com ([unix socket])
        by mail.mydomain.com (Cyrus v2.1.14) with LMTP; Wed, 08 Oct 2003 12:03:12 +0400
Return-Path: <actual_sender at anotherdomain.com>
Received: from mail.anotherdomain.com (root at mail.anotherdomain.com [xxx.xxx.xxx.xxx])
        by mail.mydomain.com (8.12.9/8.12.9) with ESMTP id h98836ji003128
        for <myuser at mydomain.com>; Wed, 8 Oct 2003 12:03:11 +0400
...


Can i somehow disable the insertion of two upper header lines in the
message when using cyrus deliver?

-- 
Best regards,
 Vladimir                          mailto:vladar at mospravda.ru





More information about the Info-cyrus mailing list