Localhost relay

Void <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
This is probably a sendmail tweak and not anything to do with Neomail.. but 
I think I shall ask anyway.

Any time somebody uses neomail to send an email, it sends it from 
localhost, and sendmail sees the relay as 127.0.0.1 as shown in the below 
log of an email sent with neomail:

Jul 14 21:20:23 www sendmail[11069]: h6F4KNh1011069: [email protected], 
size=277, class=0, nrcpts=1, msgid=<[email protected]>, 
relay=void@localhost

Jul 14 21:20:23 www sendmail[11069]: h6F4KNh1011069: [email protected], 
[email protected] (500/500), delay=00:00:00, xdelay=00:00:00, 
mailer=relay, pri=30236, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, 
stat=Sent (h6F4KNbp011071 Message accepted for delivery)

This is all fine, and I can just allow localhost to relay email, but 
recently Im noticing that some spam filters will see email with localhost 
in the headers and just nuke it, and Im starting to get a lot of spammers 
trying to relay junk through me and they are beginning to scare me with 
their attempts to spoof mail from me, to others, and let my mail server 
relay the fake bounce with localhost as the sender. = (    I want to add 
localhost back in to the /etc/mail/access as a REJECT.

Is there a way for localy generated email to be identified as coming from 
my actual IP and not 127.0.0.1  ?

Its probably in sendmail somewhere and Im just missing the right line...

Thank in advance for advice, pointers, etc.
-Nathan



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.