Need help using mail

I need to send messages between two systems which change IP on a random
basis (Qwest DSL re-assigns the IPs every few weeks). I can query the
router from the local machines on each installation to get the IP assigned
by Qwest and I want the scripts to send an email to a mail server on my
hosted domain so that I have a fixed mail target to pass the info. Problem
is that the remote smtp is blacklisting the IPs assigned to my routers. Is
there a workaround to force the source IP on the email to a known
acceptable address?


Will Honea

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Considered signing up for one of the dynamic DNS services? If they work
on Linux they could help. Faking the IP address when sending it may be
tricky; you would probably have better luck finding a new relay for your
mail. Perhaps instead look into the dozens of sites that will send you
test messages via a web browser. Use curl or wget to send the browser
request crafted to your liking so you get a text message. Put in your
e-mail address as the sender and some of them may even CC you with the
message details.

It’s a long shot, perhaps, but you could also just pay a few extra dollars
for a static IP address.

Good luck.

Will Honea wrote:
> I need to send messages between two systems which change IP on a random
> basis (Qwest DSL re-assigns the IPs every few weeks). I can query the
> router from the local machines on each installation to get the IP assigned
> by Qwest and I want the scripts to send an email to a mail server on my
> hosted domain so that I have a fixed mail target to pass the info. Problem
> is that the remote smtp is blacklisting the IPs assigned to my routers. Is
> there a workaround to force the source IP on the email to a known
> acceptable address?
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKK0L5AAoJEF+XTK08PnB5/y8P/21M+pLMSwItsmh7rBNUYZah
G1j3vZM21R1f3Tp3W6L+V3Mtc4aC6I7gbuErl0PhPqCX2ivED/Yef032GoghKcTr
Rn51AbvT62k4GmGAvLfz7njGcqRM/jdE3x6dTwqn/x1u6WzTuNUXmxkl3Cg3nacZ
HGuZigLrC9oBCGCw+y91ot4XmGC5vyNjhk8gRGLxHqdc41uiRkV6GM29kg46Wp5w
vj35Ul7jyrXyacax30LF1GEcXPj+jtuuP/LyVvWKlBqTP8sEs3Uoh9u51hKvMRHJ
1YXqkBrYPK8/te+AI1jIyTbASFOOAj+zGkAweJ5vHH7fikylxPAFN7kb/lS5MPa6
MVQUJyVlVv13DTVRDyrAdQTVdBkqkPaakDf7o1fJWvA0HLbuYxu9q5qbngPxI/3Q
6m/fzSCA2lJ/HppMsabwnp/VZ6pbo6Hoq4lvEkaDEFqt2ZDxG6LKEf01lqqXkn57
9BCYz3I5oDlKCs1l+x917MJIccElLHQpdGO1ziPN5nxvJCrU1w15elWWWP9x07Mm
oHBVUxAyV4e1B7hpOs9B5ymct2I0gPfMw2s/R6I94wM53Z1i2AChTbtdtZy/U7oe
XT8fHJmH/aH+KR/Dl4t1z1tUWSoCgNZmd7YOZkYW2DFNIZkn8SMrk7kIqETFbKCK
dBE0j9PUAVBssN/0TqSQ
=mHVb
-----END PGP SIGNATURE-----

And so it should too. Malware infected zombie machines are the bane of everybody for relaying spam. The IP address of the sender can’t be faked. Banning connections from dynamic IP ranges that have been declared as such by the ISPs or blacklisted is one of the more effective measures to stop spam from entering.

Why aren’t you using Qwest’s mail relays to send outgoing email?

ken yap wrote:

>
> Will Honea;1995953 Wrote:
>> Problem
>> is that the remote smtp is blacklisting the IPs assigned to my routers.
>> Is
>> there a workaround to force the source IP on the email to a known
>> acceptable address?
>
> And so it should too. Malware infected zombie machines are the bane of
> everybody for relaying spam. The IP address of the sender can’t be
> faked. Banning connections from dynamic IP ranges that have been
> declared as such by the ISPs or blacklisted is one of the more effective
> measures to stop spam from entering.
>
> Why aren’t you using Qwest’s mail relays to send outgoing email?

Why some of us having balding foreheads: Now why didn’t I think of that???

Oops - Qwest stikes again. They provide only the DSL link and contract MSN
for IP services. Getting to the mail server is proving to be a PITA.
Strange - the mail sent from kmail or other clients gets thru the server I
wanted to use just fine but a direct mail send gets trapped. My ignorance
is showing here, I guess.

Is there any way to use a command line link into kmail (or some other email
client) to have it format and send a message? I’m with you on the spam
security thing - that’s why I haven’t even messed with setting up a mail
server here. ftp might just be a simpler approach anyway and I know that
works.


Will Honea

If it works for kmail there’s no reason it couldn’t be made to work for a script or a command line client. When you set up kmail you must have entered a SMTP relay that Qwest told you to. This is the relay host.