Latest LQ Deal: Latest LQ Deals
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 01-03-2004, 10:43 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Edmonton, Alberta, Canada
Posts: 1

Rep: Reputation: 0
Sendmail: cannot open mail:25

I've just finished an install of Gentoo Linux and now, every 10 minutes or so, I get a message saying "Sendmail: cannot open mail:25". Once I get this message, it also adds a line, "/bin/sh: line 1: root: command not found" to dead.letter in my /root directory.

I do not have Sendmail, or any mail program, installed and cannot find any seem to find any information as to why this is happening.
Old 01-17-2004, 10:49 AM   #2
LQ Newbie
Registered: Jan 2004
Location: Sterling, MA, USA
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
It's ssmtp

Gentoo Linux installs a package called ssmpt by default which creates a simlink to sendmail. You can see this for yourself by typing:

ls -l /usr/sbin/sendmail

You should see a link to a program called /usr/sbin/ssmpt

You can get some more information on ssmtp by checking the man page for it:

man ssmtp

To get this application to work, you will need to edit the configuration file for it which is:


Most likely, you will just need to change two lines. You need to give it the name of your out going e-mail server (the smtp server), and your host name.

The e-mail server is the machine that handles your out going mail, it's probably the mail server of your ISP. Check your normal e-mail program's configuration to see what it's set to if you don't know.

For your host name, you can probably use the host name of your ISP. For example, if you e-mail address is '' then you could use '' as the host name.

Now, your real question was probably why is your system constantly trying to send e-mail, and I can't help you with that. This configuration should make the error messages go away.

Good luck,


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 make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
/etc/mail/ line 0: cannot open: No such file or directory l_9_l Linux - General 2 02-10-2002 07:25 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:38 PM.

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
Open Source Consulting | Domain Registration