From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Fullmer Subject: Re: Here's an easy one Date: Thu, 20 Mar 2003 20:33:36 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: References: <3E79CD36.BDDB33CE@transparency.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3E79CD36.BDDB33CE@transparency.org> List-Id: Content-Type: text/plain; charset="us-ascii" To: Andrew Kelly , Linux Admin 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 >