Click to See Complete Forum and Search --> : local SMTP
plasmid
01-25-2001, 08:30 PM
Right now I have Qmail as my local SMTP server, which is great for delivering local mail, but since don't have regestered domain (I have dynamic ip address), certain servers (namely my schools server) won't accept email from me. How can I set up my system so that all my outgoing mail (non local) which I send through elm (my favorite email program) uses another SMTP server rather than the local one on my computer? Help is appriciated greatly.
-plasmid
Craig McPherson
01-25-2001, 08:48 PM
You need to replace qmail with a simple SMTP server that simply forwards mails through a full SMTP server (like your ISP's SMTP server) rather than taking care of things itself. There are several that do things like that, ssmtp might be one of them.
But why won't those servers accept mail from you? As long as your IP address reverse-resolved to SOME hostname (likely it's something like rweqrwe123.243.foo.bar.baz.yourisp.net, but it's still a fully-qualified domain name), any server should take your mail (as long as you send a HELO). If your IP DOESN'T resolve to a hostname, that's a misconfiguration on the part of your ISP.
[This message has been edited by Craig McPherson (edited 25 January 2001).]
plasmid
01-25-2001, 09:16 PM
here is my problem: mail I send locally to my email account provided by my ISP seems to go through just fine. Mail I send locally to my email account provided by my school doesn't get delivered. Instead I recieve this message
"Hi. This is the qmail-send program at localhost.localdomain. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
<plasmid@myschool.edu>: Connected to 123.45.6.789 (my schools IP address) but sender was rejected. Remote host said: 501 <plasmid@localhost.localdomain>... Sender domain must exist
What should I change so that my mail will go through??
Thanks for the help
-plasmid
Craig McPherson
01-26-2001, 01:50 AM
Ah... the localhost.localdomain part is what's causing the problem.
Go ahead and set your hostname to your ISP's hostname. That'll fix the problem, and won't hurt anything.
plasmid
01-26-2001, 09:50 AM
how do I get my ISP's Hostname??
plasmid
WeDeliver
01-26-2001, 01:01 PM
just ask them, or, try NS look ups on things like "mail.yourisp.com" or "smtp.yourisp.com" etc.
I think I may have misunderstood the question a bit, but I think this is what you meant.
dvdnut
01-26-2001, 07:40 PM
in linuxconf you can set your hostname automatically when you connect
this is very vague but i got it working on a cablemodem using linux.
should work the same or similar using dialup