LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2007, 12:36 AM   #1
fcdev
Member
 
Registered: Sep 2005
Posts: 47

Rep: Reputation: 15
can I use sendmail for SMTP instead of my ISP's SMTP server?


Hi. This may seem simple, but it has me baffled as to why my emails aren't getting through ...

The Problem: Either my ISP has a completely unreliable SMTP server, or there is something wrong with my network that prevents me from reaching it 9 times out of 10 (I still can send emails, but only after about 9 failures).

I thought I could solve the problem by using sendmail to act as my SMTP server (it says it's capable of it). I'm only trying to send emails originating from THIS computer (ie: 127.0.0.1). I have set up Thunderbird to send emails to an SMTP server at 127.0.0.1, and turned off authentication to try and simplify things. When I send a mail, Thunderbird says it's gone out successfully, but it never arrives at it's destination (it may be being spam-filtered, for all I know). I have my firewall set up to allow access to port 25, and I'm using the root account for these tests, so no user permissions should be getting in the way. I have checked the sendmail service, and it is running.

I haven't really modified any other files, like /etc/resolve.conf, or anything like that, since I didn't see that as relevant ... or am I mistaken?

So, is there anything I have forgotten? some silly mistake, or switch I was supposed to flick?

Any help would be appreciated.
 
Old 02-05-2007, 01:27 AM   #2
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 13.37
Posts: 535

Rep: Reputation: 36
The /etc/log/maillog, depending on your distro, should show you what's happening.

You don't need to modify your firewall for port 25, as that's only needed if you're receiving e-mails via smtp, not sending.

Your problem may be down to how other system "trust" your ISP. Some systems will only accept e-mails if the e-mail originates from the ISP's mail server, and not an IP within the ISP's "domain". This is to stop "hacked" machines being used to send spam.

Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send emails through ISP's smtp server coontie Linux - Software 14 06-07-2006 02:20 PM
Can one configure sendmail to use an SMTP server? laggerific Linux - Software 1 02-16-2006 10:49 AM
using sendmail to forward to a remote smtp server selgip Linux - Software 1 03-21-2005 05:04 PM
configure sendmail to use a specific smtp server TheOneAndOnlySM Linux - Software 4 06-20-2004 05:15 AM
How to configure sendmail to use other smtp server? josealexandre Linux - Newbie 2 10-12-2003 05:09 PM


All times are GMT -5. The time now is 06:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration