View previous topic :: View next topic |
Author |
Message |
disparo n00b

Joined: 30 Aug 2005 Posts: 10 Location: Moscow,Russia
|
Posted: Fri Mar 24, 2006 9:25 am Post subject: Cannot send email message from console |
|
|
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 |
|
 |
disparo n00b

Joined: 30 Aug 2005 Posts: 10 Location: Moscow,Russia
|
Posted: Fri Mar 24, 2006 9:35 am Post subject: |
|
|
Ah! I'm a dumb!
I forgot to add "net" parameter to nail package!  |
|
Back to top |
|
 |
tnt Veteran


Joined: 27 Feb 2004 Posts: 1227
|
Posted: Tue Apr 18, 2006 3:55 pm Post subject: |
|
|
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 |
|
 |
kashani Advocate


Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Apr 18, 2006 10:15 pm Post subject: |
|
|
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 |
|
 |
zeek Guru


Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Wed Apr 19, 2006 6:22 am Post subject: |
|
|
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 |
|
 |
|