Spam Re: need help modifying shell script

René Berber r.berber at computer.org
Mon Oct 16 03:41:57 IST 2006


Chris Yuzik wrote:
[snip]
> Apparently, you're right. The rpmnew file DOES indeed start sendmail
> listening on port 25, as expected. I guess what isn't working is that
> the sendmail it starts doesn't seem to interface with PAM or something.
> So, if I issue the following commands:
> 
> service sendmail start
> service MailScanner start
> 
> Then all is well. However...
> 
> service sendmail stop
> service MailScanner_app_init_rpmnew start (I haven't replaced the old
> one with the one from the rpm yet)
> 
> Then everything seems great UNTIL I try to send an email and it asks me
> for my password. If I put the correct password in, it says "nope, try
> again" (well, not exactly in those words, but you get the idea).
> 
> So what is it that starts up in the stock sendmail service script that
> isn't getting started with the rpmnew MailScanner one?

One difference between those scripts is that the new one doesn't use
/etc/sysconfig/sendmail, there could be some additional options in there.

You'll probably get faster at the problem by looking at the mail log, is there a
complaint when sendmail starts? what's the error when your password is not accepted?

Is it normal that your server asks for a password when sending mail?  If it is,
then sendmail depends on saslauthd and I don't know how RedHat has that one
configured, in Solaris I installed an independent (except that it starts
earlier) start script... so you may see if saslauthd is running and if it's not
then start it yourself and see if now sendmail accepts your password.
-- 
René Berber



More information about the MailScanner mailing list