> OK, that other problem about curly braces and mailonerr is considered
> fixed.
>
> Now, when I receive Email generated by mailonerr/moe.config, the _From:_
> address is strangely formed:
>
> Full headers from received message:
>
> Return-Path:
> <[EMAIL PROTECTED]>
> Received: from 207.155.183.72 (thejenkinsgroup.com [64.120.86.68]) by
> [216.234.189.108] (8.10.2/8.10.2) with SMTP id f63L1Lk01913 for
> <[EMAIL PROTECTED]>; Tue, 3 Jul 2001 15:01:22 -0600
> Message-ID:
> <[EMAIL PROTECTED]>
> Received: from bluetrout.LRP-CD_domain.net ([64.135.66.2]) by
> 207.155.183.72; Tue, 03 Jul 2001 16:01:01 -0500
> Date: Tue, 3 Jul 2001 16:01:01 -0500
> From: [EMAIL PROTECTED]
> Subject: Important message from LRP
> To: [EMAIL PROTECTED]
> X-Mozilla-Status: 8005
> X-Mozilla-Status2: 00000000
> X-UIDL: Xg*#!$E'"!F/c!!]4W!!
>
>
> lrp.conf:
>
> lrp_MAIL_SERVER="my_working_smtp_server.com"
> lrp_MAIL_ADMIN="[EMAIL PROTECTED]"
>
> moe.config:
>
> su_usr=root
> mailto="[EMAIL PROTECTED]"
>
>
> Notice, the From: and Return-Path: headers!
>
> From what I know about sendmail, they _should_ be:
>
> Return-Path: <[EMAIL PROTECTED]>
> From: [EMAIL PROTECTED]
>
>
> I also know that our local GroupWise server will *not* route Email from
> our LRP-CD, claiming that helices.org server is down ;<
>
> "my_working_smtp_server.com" is also a <remote> GroupWise server; but,
> for some reason, it routes the Email -- in this fashion.
>
> Notice, that I have substituted real names with bogus substitutes.
> Please, don't pull out RFC's about underscores, dashes, &c.  Outside of
> LRP-CD, all of these Email servers and addresses work properly and as
> expected . . .
>
> What is going on here?  How can this be rectified?

Are you sure your smtp server is working *properly*?  It looks like it's
doing header mangaling...adding helices_pop_server_domain.com to the end of
your e-mail headers.  The mail command on LRP uses your default FQDN to
create the headers, so they should be of the form:

From: <user>@<FQDN>

You can see what LRP thinks your hostname is by running "hostname -f".  This
is what should be after the "@" if you haven't modified anything.  You can
override the FQDN setting using either the lrp_MAIL_DOMAIN setting in
lrp.conf or the -d switch to the mail command.

If the above looks correct, and you refuse to believe your mail server is
causing problems, you can uncomment the debugging output of the mail
command.  Find the following line in the mail procedure and remove the
leading #:

#  eecho "$state: $nrep $line"

This will cause the mail script to dump it's conversation with your smtp
server to err out.  You should be able to see if it's sending the correct or
bogus From: and Reply-to: headers.  This will at least tell you for sure if
your LRP system is broken, or if there's something wacky with your smtp
server config...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to