1748269 Members
3737 Online
108760 Solutions
New Discussion юеВ

Re: spoofing sendmail

 
ROSS HANSON
Regular Advisor

Re: spoofing sendmail

Yes, this is in a script. so, the recipients are in a while loop.

What I am currenly doing is sending the email to myself:

sendmail -f dba@domain.com myself@domain.com

the myself@domain.com will be replaced in the while loop with the appropriate names
Ross Hanson
Patrick Wallek
Honored Contributor

Re: spoofing sendmail

If you're not receiving the e-mail, are you seeing anything in /var/adm/syslog/mail.log? What happens if you run the command 'mailq' to look at the mail queue? Does anything show up? If so, what is the reason for the message being queued?
ROSS HANSON
Regular Advisor

Re: spoofing sendmail

running mailq I receive nothing
/var/adm/syslog/mail.log this says that the message has been delivered though not in my email, spam or junk file does it appear
Ross Hanson
Steven Schweda
Honored Contributor

Re: spoofing sendmail

> sendmail -f dba@domain.com myself@domain.com

Does "-f dba@domain.com" cause the problem,
or can you simply not send e-mail from this
system to your desired destination?

> Yes, this is in a script. [...]

My psychic powers are too weak to show me
exactly what your script does. Is your
problem with the script or with the command
itself? Have you tried running a simple
command manually (not in the script)?

> [...] the message has been delivered though
> not in my email, spam or junk file does it
> appear

What, exactly, is the system which is
supposed to be receiving this e-mail? Hint:
Using "domain.com" to hide potentially useful
information may not be the best way to get
useful answers.