Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSMTP problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Thu Mar 18, 2004 6:39 am    Post subject: SSMTP problems Reply with quote

Hello.

I've set up my ssmtp.conf (and i'm almost sure it's configured correctly), but when i'm trying to send an email from my box (in Pine) i always get this message:
Code:
[Error sending: SMTP greeting failure: 421 SMTP connection went away!]


What that does mean? If i try manualy connect to my ISP's mail server on port 25 it works fine.

ANd here is my ssmtp.conf:

Code:
# ssmtp.conf: Config file for Cygwin's sstmp sendmail
#
# The person who gets all mail for userids < 10
root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and you mailhub is so named.
mailhub=mail.myisp.net
# Where will the mail seem to come from?
rewriteDomain=
# The full hostname
hostname=mybox.dyndns.org
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
EOF


Any ideas? Don't know what to try next? :?
_________________
Beat your dick like it owes you money
Back to top
View user's profile Send private message
qubix
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2003
Posts: 146
Location: Warsaw/Poland

PostPosted: Thu Mar 18, 2004 7:30 am    Post subject: Reply with quote

try at the commandline

Code:

sendmail you@mail.com < /tmp/somefile.txt


Maybe your isp has got some smtp greylist stuff working, that drops your smtp connections. If you tried posting from pine ONCE and then telneted onto smtp ONCE then the greylist started to accept connections from your box. Try sending the mail through pine again.
_________________
qubix
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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