|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Customised Message-ID
Subject: Re: Customised Message-ID
From: Wietse Venema (wietse
porcupine.org)
Date: Thu Jan 27 2000 - 09:00:05 CST
- Next message: Wietse Venema: "Re: problem described at http://postfix.affinity.net/faq.html#virtual_setup appears inPostfix-19991231"
- Previous message: Ben Rosengart: "Re: problem described at http://postfix.affinity.net/faq.html#virtual_setup appears inPostfix-19991231"
- In reply to: Lionel Cons: "Customised Message-ID"
- Reply: Wietse Venema: "Re: Customised Message-ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lionel Cons:
Hey guy, long time no see.
> I would like to customise the Message-ID generated by Postfix so that,
> for instance, the sender host name does not appear. It seems that this
> is currently hard-coded in cleanup/cleanup_message.c:
>
> /*
> * Add a missing (Resent-)Message-Id: header. The message ID gives the
> * time in GMT units, plus the local queue ID.
> */
> if ((cleanup_headers_seen & (1 << (cleanup_resent[0] ?
> HDR_RESENT_MESSAGE_ID : HDR_MESSAGE_ID))) == 0) {
> tp = gmtime(&cleanup_time);
> strftime(time_stamp, sizeof(time_stamp), "%Y%m%d%H%M%S", tp);
> cleanup_out_format(REC_TYPE_NORM, "%sMessage-Id: <%s.%s
%s>",
> cleanup_resent, time_stamp, cleanup_queue_id, var_myhostname);
> msg_info("%s: %smessage-id=<%s.%s
%s>",
> cleanup_queue_id, *cleanup_resent ? "resent-" : "",
> time_stamp, cleanup_queue_id, var_myhostname);
> }
Eventually, all message headers will be configurable, with $name
expansions in them. It is all a matter of getting something out
the door before life is over.
Wietse
- Next message: Wietse Venema: "Re: problem described at http://postfix.affinity.net/faq.html#virtual_setup appears inPostfix-19991231"
- Previous message: Ben Rosengart: "Re: problem described at http://postfix.affinity.net/faq.html#virtual_setup appears inPostfix-19991231"
- In reply to: Lionel Cons: "Customised Message-ID"
- Reply: Wietse Venema: "Re: Customised Message-ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Thu Jan 27 2000 - 09:02:22 CST