Penning email from a user "other" than tfilePro
Bill Vermillion
fp at wjv.com
Wed Aug 25 07:08:52 PDT 2004
On Wed, Aug 25 06:40 Fairlight said 'Who you talkin' to? You talkin'
to Fairlight? I didn't do nuttin'. I said:
> With neither thought nor caution, John Esak blurted:
>
> > root"... and some other factors which govern this...
> > So, in light of all this, how should I run my process
> > to ensure that it is mailed from something more like
> > "info at nexusplastics.com" or "quotes at nexusplastics.com". Of
>
> [snip]
> > I get the data in from a process that runs based on incoming
> > email, this sends the data into a filepro process which sends
> > out the auto response. At what point should I be trying
> > to change the user-id and how? Wasn't there a PFEUID or
> > something??
> Lightmail will let you arbitrarily set the sending address (and
> any other headers you want, like Reply-to: and the like) as you
> wish, regardless of the "facts", as it were. There is no need
> to actually worry about EUID, UID, or anything other than what
> you -want- it to look like.
> Assuming you know exactly what address you want to send it out
> as being from, whether or not your process is actually running
> as that user is rendered wholly and utterly irrelevant. In
> effect, you "forge" it. So long as your SMTP outbound server
> (be it the sendmail-compliant MTA as an executable, or port
> 25 somewhere as a relay--it can utilise either transport
> method) allows outbound mail from the address specified, you're
> good to go. IOW, you might not be able to send outbound as
> john at fairlite.com from your mail server, but that's a function
> of the MTA not being configured as an open relay, not of
> Lightmail--allow it at the MTA level (or use an open relay
> somewhere, I know they exist! *chuckle*) and it would work
> fine.
If you send from your machine as some other domain that is not what
is known as an open relay. A open relay is one that you can send
mail through so the far machine receieves it from a machine that is
'trusted' [eg not in some spam list].
But sending from your own server you can have your MTA set to
send mail showing a being sent from different domain name, which
is not the same as coming from user at domainname. There is the
concept of masquerading the NTA. If you want to do it permanently
just set the Dj variable in sendmail.cf. Or change it, restart
sendmail, send your mail, and set it back.
What will happen is that many machines will reject that as
the IP from which the mail is sent does not match the MX records
for that domain.
I just wanted to clear up your use of open-relay.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the Filepro-list
mailing list