Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
never installed sendmail, yet it is present?
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
progster
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 271

PostPosted: Mon Jun 30, 2003 11:36 pm    Post subject: never installed sendmail, yet it is present? Reply with quote

Well first of all even though portage says it's not installed, sendmail + man page are present. Second something tries mailing with it every 30 seconds or so, verbosely I get "Sendmail : Cannot open mail: 25" on my shell.

Is there any way I can see which daemon is triggering this? Also how come portage doesn't know it's installed? :?

There's nothing special in my crontab and "ps aux" returns the following:
Code:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  1352  484 ?        S    Jun30   0:06 init
root         2  0.0  0.0     0    0 ?        SW   Jun30   0:00 [migration_CPU0]
root         3  0.0  0.0     0    0 ?        SW   Jun30   0:00 [keventd]
root         4  0.0  0.0     0    0 ?        SW   Jun30   0:02 [kapmd]
root         5  0.0  0.0     0    0 ?        SWN  Jun30   0:00 [ksoftirqd_CPU0]
root         6  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kswapd]
root         7  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kscand]
root         8  0.0  0.0     0    0 ?        SW   Jun30   0:00 [bdflush]
root         9  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kupdated]
root        11  0.0  0.0     0    0 ?        SW   Jun30   0:00 [khubd]
root        14  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kreiserfsd]
root      4200  0.0  0.2  1808  968 ?        S    Jun30   0:00 /sbin/devfsd /dev
root     21751  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kjournald]
root     24309  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kjournald]
root      2304  0.0  0.0     0    0 ?        SW   Jun30   0:00 [kjournald]
root     19076  0.0  0.1  1400  540 ?        S    Jun30   0:00 metalog [MASTER]                                       
root      4094  0.0  0.1  1376  452 ?        S    Jun30   0:00 metalog [KERNEL]                                       
root     23437  0.0  0.1  1364  436 ?        S    Jun30   0:00 /sbin/dhcpcd eth0
root     26049  0.0  0.1  1492  628 ?        S    Jun30   0:00 /usr/sbin/cron
root     20051  0.0  0.2  2708 1004 ?        S    Jun30   0:00 esd
root     31450  0.0  0.3  2284 1240 ?        S    Jun30   0:00 [login]
root     15747  0.0  0.1  1344  452 vc/2     S    Jun30   0:00 /sbin/agetty 38400 tty2 linux
root     29128  0.0  0.1  1344  452 vc/3     S    Jun30   0:00 /sbin/agetty 38400 tty3 linux
root     20144  0.0  0.1  1344  452 vc/4     S    Jun30   0:00 /sbin/agetty 38400 tty4 linux
root     26615  0.0  0.1  1344  452 vc/5     S    Jun30   0:00 /sbin/agetty 38400 tty5 linux
root      7435  0.0  0.1  1344  452 vc/6     S    Jun30   0:00 /sbin/agetty 38400 tty6 linux
progster 10936  0.0  0.3  4584 1444 vc/1     S    Jun30   0:00 -bash
progster 10522  0.0  0.2  4320 1072 vc/1     S    Jun30   0:00 /bin/sh /usr/X11R6/bin/startx
progster 20153  0.0  0.1  2324  632 vc/1     S    Jun30   0:00 xinit /etc/X11/xinit/xinitrc -- -deferglyphs 16
root     14038  0.6 10.2 304592 39220 ?      SL   Jun30   1:19 [X]
progster 20311  0.0  0.2  4316 1056 vc/1     S    Jun30   0:00 sh /etc/X11/xinit/xinitrc
progster 28210  0.0  0.7  7464 2708 vc/1     S    Jun30   0:01 /usr/bin/fluxbox
progster 23413  0.3  1.6 13428 6484 vc/1     S    Jun30   0:45 gkrellm2
progster 22104  0.0  1.6 13428 6484 vc/1     S    Jun30   0:00 gkrellm2
progster 11917  0.0  0.2  4316 1048 ?        S    Jun30   0:00 /bin/sh /usr/bin/phoenix
progster  4863  0.0  0.2  4356 1104 ?        S    Jun30   0:00 /bin/sh /usr/lib/phoenix/run-mozilla.sh /usr/lib/phoenix/phoenix-bin
progster 18272  1.2  7.8 47908 30212 ?       S    Jun30   2:23 /usr/lib/phoenix/phoenix-bin
progster 11387  0.0  7.8 47908 30212 ?       S    Jun30   0:00 /usr/lib/phoenix/phoenix-bin
progster   722  0.0  7.8 47908 30212 ?       S    Jun30   0:00 /usr/lib/phoenix/phoenix-bin
progster 12793  0.0  7.8 47908 30212 ?       S    Jun30   0:00 /usr/lib/phoenix/phoenix-bin
progster  7045  0.0  7.8 47908 30212 ?       S    Jun30   0:02 /usr/lib/phoenix/phoenix-bin
progster 30612  0.0  7.8 47908 30212 ?       S    Jun30   0:00 /usr/lib/phoenix/phoenix-bin
progster 26144  0.6  0.7  8224 2704 ?        S    01:35   0:00 [xterm]
progster  1352  0.1  0.3  4600 1456 pts/0    S    01:35   0:00 bash
progster  2635  0.0  0.2  2664  804 pts/0    R    01:35   0:00 ps aux


~Progster
[/code]
Back to top
View user's profile Send private message
tphamm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2003
Posts: 112
Location: Saskatoon, SK, CA

PostPosted: Mon Jun 30, 2003 11:51 pm    Post subject: Reply with quote

Do you have postfix or some other mailer installed? Some mailers provide their own "sendmail" replacement so that other mail programs expecting to see sendmail will find it.
_________________
"This is a UNIX system! I know this!" -- little girl from dinasaur park
Back to top
View user's profile Send private message
progster
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 271

PostPosted: Mon Jun 30, 2003 11:55 pm    Post subject: Reply with quote

apparently it's linked to ssmtp, how can I check which daemons / programs are depending on that?

~Progster
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


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

PostPosted: Tue Jul 01, 2003 12:17 am    Post subject: sendmail Reply with quote

ssmtp will have installed /usr/sbin/sendmail which it sort of a generic sendmail binary for getting mail off the box and not actually Sendmail itself. The cron daemon you installed requires some sort of mailer which is how it got there and is also the most likely suspect for trying to sendmail every 30 seconds.

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
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Jul 01, 2003 4:00 am    Post subject: Reply with quote

Code:
# qpkg -q ssmtp
might help, but I wouldn't bet on it. Maybe metalog is trying to mail something?
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
progster
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 271

PostPosted: Tue Jul 01, 2003 11:09 am    Post subject: Reply with quote

Code:

bash-2.05b$ qpkg -q ssmtp
net-mail/ssmtp-2.48 *
DEPENDED ON BY:
net-mail/ssmtp-2.48
DEPENDED ON BY:
net-mail/ssmtp-2.60.3
DEPENDED ON BY:
net-mail/ssmtp-2.38.14-r1
DEPENDED ON BY:


Can I unmerge it without running into problems later?

~Progster[/code]
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Jul 01, 2003 12:18 pm    Post subject: Reply with quote

No, probably not. Several items, cron being one example, assume that there's a sendmail available. The sendmail in ssmtp is a local-delivery-only stub designed to meet the minimum requirement in these areas.

Is there a mail client in Phoenix? Perhaps a queued mail it cannot send?
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Vxster
n00b
n00b


Joined: 16 Jan 2003
Posts: 66
Location: London, UK

PostPosted: Tue Jul 01, 2003 1:47 pm    Post subject: Reply with quote

I have a similar thing on my console too. I am assuming it is from crons. I get dead.letter files as the outputs that it cannot mail. I am just leaving it for the moment :)
Back to top
View user's profile Send private message
progster
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 271

PostPosted: Sat Jul 05, 2003 1:34 pm    Post subject: Reply with quote

same here, I also have a dead.letter in my home dir (didn't notice it until you mentioned it ;))
Back to top
View user's profile Send private message
doctorgonzo
n00b
n00b


Joined: 14 Jul 2003
Posts: 20

PostPosted: Mon Jul 14, 2003 3:06 pm    Post subject: Reply with quote

Me too.
Also, in regular intervals, "sendmail: Cannot open mail: 25" pops up on my console.
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