Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-05-2007, 01:36 AM   #1
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: I have set up Thunderbird to send emails to an SMTP server at, 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, 02:27 AM   #2
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 558

Rep: Reputation: 37
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.



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

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 03:20 PM
Can one configure sendmail to use an SMTP server? laggerific Linux - Software 1 02-16-2006 11:49 AM
using sendmail to forward to a remote smtp server selgip Linux - Software 1 03-21-2005 06:04 PM
configure sendmail to use a specific smtp server TheOneAndOnlySM Linux - Software 4 06-20-2004 06:15 AM
How to configure sendmail to use other smtp server? josealexandre Linux - Newbie 2 10-12-2003 06:09 PM

All times are GMT -5. The time now is 11:02 AM.

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