1827635 Members
3847 Online
109966 Solutions
New Discussion

Re: sendmail errors

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

sendmail errors

Hi Everyone,

One of our support guys has requested I look at a filesystem capacity issue (/var). Having a look through to see why maillog is huge I have noticed the following errors

Mar 4 04:56:51 windomav sendmail[16926]: l218uop1022148: Warning: program /bin/bellmail unsafe: No such file or directory
Mar 4 04:56:51 windomav sendmail[16926]: l218uop1022148: SYSERR(root): Cannot exec /bin/bellmail: No such file or directory
Mar 4 04:56:51 windomav sendmail[16918]: l218uop1022148: to=, delay=2+20:00:00, xdelay=00:00:00, mailer=local, pri=6153182, dsn=4.0.0, stat=Operating system error

I can sendmail without a problem from this server to a server we use for alerting.

/bin/bellmail doesn't exist, there is however the following entry in sendmail.cf

sendmail.cf:Mlocal, P=/bin/bellmail, F=lsDFMAw5:/|@qmn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,

Has anyone seen anything like this before and know the reason why ?

TIA

Steve



take your time and think things through
2 REPLIES 2
Ivan Ferreira
Honored Contributor
Solution

Re: sendmail errors

It seems that bellmail is used in some old distributions to deliver mail to users mailboxes.

See:
http://www.securiteam.com/exploits/5FP0D2KFQQ.html

Probably, your configuration file was migrated from version to version and retained this legacy rule. Nowdays procmail is used.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: sendmail errors

Shalom,

maillog is huge for various reasons.

log level is turned above the default 9 in sendmail.cf or sendmail.mc which generates sendmail.cf

logrotate is not used and the darned thing grows and grows and iis never trimmed.

There appears to be some customization to sendmail.cf or sendmail.mc macro file that is causing this bellmail program which is not on your OS to be run instead of the regular mail processing programs that ship with sendmail.

Perhaps you sendmail configuration was copied in from another system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com