[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sendmail header configuration problem (advanced)
- To: linux-il(at-nospam)linux.org.il
- Subject: Re: sendmail header configuration problem (advanced)
- From: Guy Cohen <guy(at-nospam)crypto.org.il>
- Date: Tue, 5 Dec 2000 23:59:00 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3A2D36FD.C8B6C1C3@mintech.co.il>; from Gili Granot on Tue, Dec 05, 2000 at 08:42:05PM +0200
- Mail-Followup-To: linux-il@linux.org.il
- References: <3A2D36FD.C8B6C1C3@mintech.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
This is realy an intersting question, so I've spent my evening search
sendmail book (O`reilly) for the answer and I'm sorry to say i didn't
find an answer. I think what is happening is the header first written
then the delivery agent get into work to modify the $u with the aliases
file (F=A).
If you find any other answer (what did the guys at comp.mail.sendmail said ?)
please let me know.
Guy
Gili Granot <gili@mintech.co.il> wrote:
> I use sendmail (8.9.3) on a Linux machine.
>
> I have many aliases on the machine defined in /etc/aliases.
> For example:
> mailaddress23: mailbox8
>
> My problem is that I need a header line in the messages when it is
> received locally.
> The header should include the username that actually received the mail.
> In my example I need the Header to show the name "mailbox8" and not
> "mailaddress23".
>
> This is a problem since "mailbox8" does not appear at all in the header.
> I need it to appear for later processing.
>
> I tried adding the following line to /etc/sendmail.cf:
> H?l?X-test: $u
>
> It adds the header, but with the username before the translation -
> "mailaddress23":
> X-test: mailaddress23
>
> I know that qmail inserts a similar header by default,
> but I have to use sendmail for other reasons.
>
> Can anybody help?
>
> Regards,
> Gili
>
>
> Gili Granot E-mail: gili@mintech.co.il
> SunGard Business Integration Tel: +972-9-960-4888
> 3 Sapir St. Herzeliya 46852, Israel Direct: +972-9-960-4817
> URL: www.integration.sungard.com Fax: +972-9-960-4889
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il