[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sendmail header configuration problem (advanced)
- To: linux-il(at-nospam)linux.org.il
- Subject: sendmail header configuration problem (advanced)
- From: Gili Granot <gili(at-nospam)mintech.co.il>
- Date: Tue, 05 Dec 2000 20:42:05 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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