Date: Sun, 16 Feb 2003 10:14:13 -0500 From: Chuck Swiger <cswiger@mac.com> To: freebsd-questions@FreeBSD.ORG Cc: "Jack L. Stone" <jackstone@sage-one.net> Subject: Re: Setting proper From host in Sendmail Message-ID: <3E4FAAC5.5050806@mac.com> In-Reply-To: <3.0.5.32.20030216090543.02216038@sage-one.net> References: <3.0.5.32.20030216090543.02216038@sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jack L. Stone wrote: > Pardon me if this is OT, but it is probably an easy question for many on > this list. > > The problem: > Host on my Internal network sends out formmail replies as FROM > "www.thehost.com" > > QUESTION: > How can I make it show the replies as being from the sender -- my web forms > provide for picking up the "From" field. > > If I test this on my gateway/router machine, it inserts the right FROM info > as "sender@somewhere.net" instead of the "www". You want formmail-generated mail to go out as <sender@somewhere.net>? Add: MASQUERADE_AS(`somewhere.net')dnl ...to your sendmail.mc (perhaps /etc/mail/freebsd.mc). Other options, like masquerade_envelope, might also be required, but that's the place to start.... -Chuck -Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4FAAC5.5050806>