Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/sbin/sendmail: can't open the smtp port (25) on mail.
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
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Mon Oct 07, 2002 12:48 am    Post subject: /usr/sbin/sendmail: can't open the smtp port (25) on mail. Reply with quote

Can anyone tell me why I'm getting this message? Is it something to do with cron? If so, why is it trying to send email from my computer?

Also, how do I remove cron (specifically vcron) from my startup?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Oct 07, 2002 2:19 am    Post subject: Re: /usr/sbin/sendmail: can't open the smtp port (25) on mai Reply with quote

Looks like something is trying to send an email and sendmail is not installed. Nothing serious, I think. Some scripts may try to send emails to root when things go bad.



IvanHoe wrote:
Can anyone tell me why I'm getting this message? Is it something to do with cron? If so, why is it trying to send email from my computer?

Also, how do I remove cron (specifically vcron) from my startup?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 07, 2002 2:47 am    Post subject: Re: /usr/sbin/sendmail: can't open the smtp port (25) on mai Reply with quote

IvanHoe wrote:
Is it something to do with cron?

Quite possibly.

Quote:
If so, why is it trying to send email from my computer?

Probably to tell you that something unusual happened trying to run a job.

Quote:
Also, how do I remove cron (specifically vcron) from my startup?

Code:
# rc-update del vcron default

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Mon Oct 07, 2002 3:07 am    Post subject: Reply with quote

Thanks, I'll give that a try after I've finished dealing with Gnome.
:)
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Sat Nov 16, 2002 7:24 pm    Post subject: Reply with quote

Perhaps the port is already beeing used... To check who's using it do:
Code:
fuser 25/tcp
which will give you the PID of the process that opened that port :-)
Back to top
View user's profile Send private message
djprotoss
n00b
n00b


Joined: 14 Nov 2002
Posts: 37

PostPosted: Sun Nov 17, 2002 1:20 am    Post subject: Reply with quote

its something to do with vcron apparenty (I was having the same problem). I found the fix else where on the forums (can't remember where though)
add the line MAILTO="" to the top of /etc/crontab
note: this hasn't worked for everyone apparently!
Back to top
View user's profile Send private message
Mats L
n00b
n00b


Joined: 17 Nov 2002
Posts: 1

PostPosted: Sun Nov 17, 2002 2:43 pm    Post subject: /usr/sbin/sendmail: can't open the smtp port (25) on mail. Reply with quote

I had the same problem, i used ssmtp and vcron. Ssmtp is not a real mailserver (can only handel sending post) and neads to be configured to a real server. This is maybe about port 25. I use now postfix instead.
The next problem is that vcron has some script error, it told me that 'root' is not a valid komando. I mad a chance in /etc/crontab...
*/15 * * * * test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly
0 0 * * * rm -f /var/spool/cron/lastrun/cron.daily
0 0 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly
0 0 1 * * rm -f /var/spool/cron/lastrun/cron.monthly
and run 'crontab /etc/crontab' and restarted vcron, I do not know if this is the right but I think the error from vcron still be working for me, and I don't get more mail from vcron.
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