LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-18-2007, 04:55 PM   #1
karlochacon
Member
 
Registered: Dec 2006
Posts: 107

Rep: Reputation: 17
Lightbulb ssmtp problem


Hi people

I got this problem on my ssmtp ( Debian 2.6.8 ) A few days ago I install ssmtp
on my debian. but when I try sending a message


Code:
#ssmtp karlo@gmail.com
subj: Test
I'm testing this
[[ hi ]]
I got this and the mail is not delivered

ssmtp: cannot open 192.168.2.30:25


this is my ssmtp.conf

Code:
root=postmaster 
mailhub=192.168.2.30
rewriteDomain=asterisk 
hostname=debian
FromLineOverride="YES"
I don't know if the parameter hostname is OK, the default was localhost.localdomain

What could it be the problem? with this configuration

regards

Last edited by karlochacon; 01-18-2007 at 04:56 PM.
 
Old 01-19-2007, 03:41 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
The error is that 192.168.2.30 does not have port 25 open. 25 is the port for smtp, simple mail transfer protocol. You configured 192.168.2.30 as a mail hub, meaning anything this box sends out should go to 182.168.2.30, but 192.168.2.30 is not listening. There probably should not be a hub configured, the linux box can run exim4 on its own, and send and receive. If 192.168.2.30 is actually a hub, then it should be set to receive the connection from the linux box.

Peace,
JimBass
 
Old 01-19-2007, 03:58 PM   #3
karlochacon
Member
 
Registered: Dec 2006
Posts: 107

Original Poster
Rep: Reputation: 17
well

I'm a little confused about you wrote


this command shows me nothing about 25 port

lsof -i :25

what can I do to open?

----- another point ----
I tried this too using the gmail smtp

[CODE]root=karlo@gmail.com
mailhub=smtp.gmail.com
rewriteDomain=gmail.com
hostname=debian
FromLineOverride="YES"[CODE]

but I got this error

ssmpt: 530 5.7.0 Must issue a STARTTLS command first
 
Old 01-19-2007, 04:02 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Wait a second. What is 192.168.2.30? Is that the debian box? If it is, then you don't set it as a mail hub. A hub is a server that other mail servers bounce their mail off of.

I have no idea about trying to mail through your gmail account. Why not google for how to issue the starttls command that it asks for?

Peace,
JimBass
 
Old 12-02-2008, 06:21 PM   #5
jpsecher
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by karlochacon View Post
[CODE]root=karlo@gmail.com
mailhub=smtp.gmail.com
rewriteDomain=gmail.com
hostname=debian
FromLineOverride="YES"[CODE]

but I got this error

ssmpt: 530 5.7.0 Must issue a STARTTLS command first
It is probably because the local user trying to send via ssmtp does have read permission to /etc/ssmtp/ssmtp.conf .
 
  


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
getmail and ssmtp - stumped courtontherun Linux - Software 0 09-17-2006 11:26 PM
SSMTP and mailhub iskrem Linux - Software 2 02-11-2006 09:45 AM
sSMTP and Mandrake steve_beebe Linux - Networking 0 08-25-2003 02:43 PM
Mutt + MTA (ssmtp/smail) lea Linux - General 0 10-07-2002 07:32 AM
mutt/ssmtp - no recipients supplied lea Linux - General 0 09-24-2002 06:45 AM


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

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