Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-18-2004, 05:25 PM
|
#1
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
configure sendmail to use a specific smtp server
since many isp's don't allow residential isp's to send out emails, i want to use my isp's native smtp server (smtp-server.hot.rr.com) to send out emails with sendmail; i don't know where/how to configure this, though....
i know that roadrunner and many other isp's are supposed to block outgoing on port 25, but i want to try nonetheless
thx in advance!
|
|
|
06-18-2004, 05:46 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You will need to add a line like this to sendmail.mc:
define(`SMART_HOST',`smtp.yourisp.com')
The remake sendmail.cf (you might want to make a backup first):
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
After you restart sendmail it should use your ISPs smtp server as relay.
I've not heard of many ISPs blocking all outgoing SMTP - they will at least let you reach their server.
|
|
|
06-18-2004, 07:50 PM
|
#3
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Original Poster
Rep:
|
hmm, didn't work; i successfully created the .cf file, but afaik, the roadrunner smtp server was not being used; when i try to email people at services like roadrunnner or aol, i get a mailer-daemon notice telling me that their services reject dynamic/residential IP e-mail transactions
web-based mail like yahoo and hotmail work perfectly, though
here is the mail i get when emailing roadrunner accounts:
(edited out: don't want people too many people to see this info just yet; the e-mail you will see if you try to send mail with a residential ip will be pretty distinct)
perhaps i'm looking at the wrong thing... it is the fact that i'm using my own smtp server that is causing problems, right?
Last edited by TheOneAndOnlySM; 06-19-2004 at 06:12 PM.
|
|
|
06-19-2004, 06:22 PM
|
#4
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Original Poster
Rep:
|
awesome, i think i've got this sorted out
first, it Was the smtp server that was causing the problem; if you don't use a business-class mail transfer protocol/ip, then many isp's will reject the e-mail
however, instead of using localhost as the transfer program, just use the native isp server by editing you sendmail.cf file (for slackware it is in /etc/mail) and looking for this line:
# "Smart" relay host (may be null)
DS
and append the correct server right next to DS (no spaces); so for roadrunner you can use
# "Smart" relay host (may be null)
DSsmtp-server.hot.rr.com
and it will work! i am sending to aol and roadrunner users with no problems
no authentication required, it seems, since the only people who can access that are the actual roadrunner subscribers
also, in regards to your isp's blocking your ability to do this: usually only if you are a spammer or a big-time p2p user will they block port 25 usage for mail servers
|
|
|
06-20-2004, 06:15 AM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
That is what editing the sendmail.mc fils should do but i gave you the wrong path to sendmail.cf - sorry.
|
|
|
All times are GMT -5. The time now is 05:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|