Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail error on fresh 1.4rc1 box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tfandango
n00b
n00b


Joined: 08 Nov 2002
Posts: 44

PostPosted: Sun Nov 10, 2002 3:15 pm    Post subject: sendmail error on fresh 1.4rc1 box Reply with quote

Hi-

I have a fresh 1.4 install, nothing else added. However, I am constantly getting the following error:
Code:

[sSMTP mail] unable to locate host mail.
[sSMTP mail] can't open the smtp port (25) on mail.
[sSMTP mail] smtp server didn't accept TCPT to: command,
                    replied "550 5.1.6 Recipient Address is Invalid.
                    Check spelling for: postmaster@_HOSTNAME_".


Now, I have sSMTP installed and I assume it is running, although I can't find it in:
Code:

ps -eaf | grep ssmtp


And I'm not sure how to check is postmaster is a valid address on my system.. I assume it forwards to root, but how can I check that?

Thanks!
Back to top
View user's profile Send private message
tredman2
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 169
Location: Holiday, FL

PostPosted: Tue Jan 14, 2003 7:46 am    Post subject: sSMTP error message Reply with quote

I have this same problem on my machine, with sSMTP and fcron.

sSMTP doesn't run as a daemon; it's stricly on demand, and works like a highly stripped down version of sendmail. As such, it doesn't use standard alias files the way sendmail does.

Instead, you should be able to get things working by editing /etc/ssmtp/ssmtp.conf and /etc/ssmtp/revaliases. It's going to ask you things like what youre mail hub is and who the mail should appear to come from by default. The comments in both files should be enough to get you started. The man page for ssmtp.8 explains alot about the program itself, but there is no man page documentation for the configuration files. There is some sketchy info in /usr/share/doc/ssmtp-?.??.??-r?, but since there's not much to configure, you won't find a whole lot there.

The package is deliberately simple to use, so a quick peek at /etc/ssmtp/ssmtp.conf should help you the most.
_________________
Tim
"I drank what?" - Socrates, 399 BCE
Back to top
View user's profile Send private message
Kratos
n00b
n00b


Joined: 15 Feb 2004
Posts: 8

PostPosted: Sun Jan 09, 2005 9:41 pm    Post subject: Reply with quote

Hey I had a similar problem
just

nano -w /etc/ssmtp/ssmtp.conf

then change mailhub=mail to

mailhub=localhost

8)
_________________
http://secondlife.com/ss/?u=82f397242679775053dbb88fb04dff10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum