Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot send email message from console
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
disparo
n00b
n00b


Joined: 30 Aug 2005
Posts: 10
Location: Moscow,Russia

PostPosted: Fri Mar 24, 2006 9:25 am    Post subject: Cannot send email message from console Reply with quote

Hi all!

Yesterday i've been updated a world. After that i can't send any mail from console with mail or nail command.

Every time i trying to execute a command:

mail aa@bb.com < mail.txt

getting an error:

No SMTP support compiled in.

What's wrong? :(
Back to top
View user's profile Send private message
disparo
n00b
n00b


Joined: 30 Aug 2005
Posts: 10
Location: Moscow,Russia

PostPosted: Fri Mar 24, 2006 9:35 am    Post subject: Reply with quote

Ah! I'm a dumb! :oops:

I forgot to add "net" parameter to nail package! :lol:
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Tue Apr 18, 2006 3:55 pm    Post subject: Reply with quote

I've compiled with 'net' support but I get

Code:
mail -s test mail@address.com
this is the test!
EOT
send-mail: Cannot open mail:25


Any ideas?
_________________
gentoo user
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Apr 18, 2006 10:15 pm    Post subject: Reply with quote

You don't have a mail server running on port 25.

You can either install an MTA which might be more than you need or configure ssmtp and use mailx which you'll need to install.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Wed Apr 19, 2006 6:22 am    Post subject: Reply with quote

tnt wrote:
I've compiled with 'net' support but I get

Code:
mail -s test mail@address.com
this is the test!
EOT
send-mail: Cannot open mail:25


Any ideas?


You're using the ssmtp package which is trying to connect to a MTA named 'mail'. You'll want to edit the /etc/ssmtp.conf file but I'd suggest installing a real MTA instead.
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