Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail question

1 view
Skip to first unread message

Peter Philipp

unread,
Jun 21, 2006, 1:51:06 PM6/21/06
to
Hi,

I'm trying to modify my outgoing Message-Id, with my mailer MUA (mutt) I can
configure this. However when I try to use mail(1) it does not update the
Message-Id, I read a bit in the source and it doesn't seem to be set in
mail(1), and a ktrace shows that it pipes everything to sendmail directly.

Here is what I stuck in my sendmail .mc file:

define(`confMESSAGEID_HEADER', `<$t.$i@NEPTUNE>')dnl

That's how I'd like it to look here is how it looks in the H config in the
.cf file:

H?M?Resent-Message-Id: <$t.$i@NEPTUNE>
H?M?Message-Id: <$t.$i@NEPTUNE>

I read up what the ?M? means.. it means that if the flags M are set,

Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,

... and so they are.

But it still doesn't overwrite the Message-Id: to how I want it.


What am I missing?

Thanks for any useful replies,

-peter

Hugo Villeneuve

unread,
Jun 21, 2006, 7:17:57 PM6/21/06
to
On Wed, Jun 21, 2006 at 07:22:28PM +0200, Peter Philipp wrote:
> Hi,
>
> I'm trying to modify my outgoing Message-Id, with my mailer MUA (mutt) I can
> configure this. However when I try to use mail(1) it does not update the
> Message-Id, I read a bit in the source and it doesn't seem to be set in
> mail(1), and a ktrace shows that it pipes everything to sendmail directly.
>
> Here is what I stuck in my sendmail .mc file:
>
> define(`confMESSAGEID_HEADER', `<$t.$i@NEPTUNE>')dnl

Put that in submit.mc and recreate submit.cf.

Sendmail doesn't allow the rewriting of message-id, that rule is
used when one needs to be created.


--
Hugo Villeneuve <hu...@EINTR.net>
http://EINTR.net/

Peter Philipp

unread,
Jun 22, 2006, 4:33:31 PM6/22/06
to
On Wed, Jun 21, 2006 at 06:39:28PM -0400, Hugo Villeneuve wrote:
> > Here is what I stuck in my sendmail .mc file:
> >
> > define(`confMESSAGEID_HEADER', `<$t.$i@NEPTUNE>')dnl
>
> Put that in submit.mc and recreate submit.cf.
>
> Sendmail doesn't allow the rewriting of message-id, that rule is
> used when one needs to be created.

Thanks! That worked like a charm.

-peter

0 new messages