1752587 Members
4361 Online
108788 Solutions
New Discussion юеВ

spoofing sendmail

 
ROSS HANSON
Regular Advisor

spoofing sendmail

I am trying to "spoof" sendmail. Instead of saying that the mail is coming from root@domain.com I am trying to say it is coming from dba@domain.com. No, what we are doing is for work only. We are trying to send this to about 150 recipients. I have been trying to:
sendmail -f dba@domain.com
body
.
but I never receive the email. We are using sendmail 8.13.3
any help would be appreciated
Ross Hanson
13 REPLIES 13
Steven Schweda
Honored Contributor

Re: spoofing sendmail

> [...] I have been trying to:
> sendmail -f dba@domain.com
> body
> .
> but I never receive the email. [...]

Uh, I see whom it's from, but I don't see
whom it's to. (Or are you using some new
intuitive interface to sendmail?)
ROSS HANSON
Regular Advisor

Re: spoofing sendmail

No, no new interface at all. Isn't that the correct way???
Ross Hanson
Steven Schweda
Honored Contributor

Re: spoofing sendmail

> [...] Isn't that the correct way???

To send a message TO WHOM? Who is the
intended recipient? And where did you
specify him/her/it/them?
Jim Walls
Trusted Contributor

Re: spoofing sendmail

Hakki Aydin Ucar
Honored Contributor

Re: spoofing sendmail

Hi,
The syntax is;

echo test |mailx -s "Subject Part" ├в r ├в from address├в recipient1@domain.com.,recipient2@domain.com.
Steven Schweda
Honored Contributor

Re: spoofing sendmail

> The syntax is;
> [...]

It should be possible to specify one or more
recipients using sendmail, too. (mailx has
some handy features, but its intuition is
probably not superior to that of sendmail.)
ROSS HANSON
Regular Advisor

Re: spoofing sendmail

I am trying to do this in sendmail though
Ross Hanson
Patrick Wallek
Honored Contributor

Re: spoofing sendmail

This worked for me:

# /usr/sbin/sendmail -f fido@fido.com me@myaddress.com
test
test
test
.

I received the message and the from said fido@fido.com.
Steven Schweda
Honored Contributor

Re: spoofing sendmail

> I am trying to do this in sendmail though

Have you tried specifying a recipient yet?

I'll stop asking now.