All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Fullmer <jon@jonfullmer.com>
To: Andrew Kelly <akelly@transparency.org>,
	Linux Admin <linux-admin@vger.kernel.org>
Subject: Re: Here's an easy one
Date: Thu, 20 Mar 2003 20:33:36 -0700	[thread overview]
Message-ID: <BA9FD620.B5C2%jon@jonfullmer.com> (raw)
In-Reply-To: <3E79CD36.BDDB33CE@transparency.org>

The command line really shouldn't make any difference.  I've got
masquerading configured on a couple of servers and I can manually send
e-mails using either the "mail" command or even the "sendmail" command, and
it successfully masquerades them.

I can offer you this, though.  Are you sending these command line messages
as "root"?  If so, there is a default setting on most sendmail
configurations to masquerade every host and every user EXCEPT root.  I
haven't figured out where to add this to the sendmail.mc file, but I can
tell you what to do with the sendmail.cf file.  It's a line that typically
reads:

C{E}root

This line tells sendmail to masquerade everything except mail sent from the
root user.  You can simply comment this line out:

#C{E}root

You might also check to see if you have any "EXPOSED_USER" settings in your
sendmail.cf file.  This function defines specific users that should NOT be
masqueraded. 

Hope that helps.

 - Jon

on 3/20/03 7:16 AM, Andrew Kelly at akelly@transparency.org wrote:

> 
> 
> Jon Fullmer wrote:
>> 
>> It sounds to me like you would want to masquerade your domain in your
>> sendmail configuration.  If you add these lines to your mc file:
> 
> My thanks to you and to Tim Gildersleeve who answered much
> as you did. I appreciate your help, both of you.
> 
> Unfortunately, I forgot to mention that I also already have
> masquerading in place and it seems to be working fine, at
> least as long as I use an application to send mail.
> 
> That's what's got me so baffled. Everything I'm looking at tells
> me I've configured what's supposed to be configured and
> it even functions. Until I start sending from a bit closer
> to the command line.
> 
> I could really just let it all slide but for the mail
> being sent from the vacation program.
> 
> Andrew
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  parent reply	other threads:[~2003-03-21  3:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 13:55 Here's an easy one Andrew Kelly
2003-03-20 14:06 ` Jon Fullmer
2003-03-20 14:16   ` Andrew Kelly
2003-03-20 14:51     ` Adam T. Bowen
2003-03-20 14:59       ` Andrew Kelly
2003-03-20 15:04       ` Andrew Kelly
2003-03-20 15:51         ` Adam T. Bowen
2003-03-20 20:55     ` Glynn Clements
2003-03-20 21:41     ` davidgn
2003-03-21  3:33     ` Jon Fullmer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-20 14:04 Tim Gildersleeve

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BA9FD620.B5C2%jon@jonfullmer.com \
    --to=jon@jonfullmer.com \
    --cc=akelly@transparency.org \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.