[MAILSCANNER] MS 4.45.4-1 installation help

Scott Silva ssilva at SGVWATER.COM
Thu Sep 22 22:31:56 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Alden Levy spake the following on 9/22/2005 1:18 PM:
> On Thu, 22 Sep 2005 12:08:56 -0700, Scott Silva <ssilva at SGVWATER.COM> wrote:
> 
> 
>>Alden Levy spake the following on 9/22/2005 11:44 AM:
>>
>>>On Thu, 22 Sep 2005 13:44:19 -0400, Dimitri Yioulos <dyioulos at FIRSTBHPH.COM>
>>>wrote:
>>>
>>>
>>>
>>>>On Thursday 22 September 2005 1:24 pm, Denis Beauchemin wrote:
>>>>
>>>>
>>>>>Dimitri Yioulos wrote:
>>>>>
>>>>>
>>>>>>On Thursday 22 September 2005 12:45 pm, Julian Field wrote:
>>>>>>
>>>>>>
>>>>>>>Julian Field wrote:
>>>>>>>
>>>>>>>
>>>>>>>>Scott Silva wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>>Alden Levy spake the following on 9/21/2005 5:33 PM:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>On Wed, 21 Sep 2005 16:57:39 -0700, Scott Silva
>>>>>>>>>>
>>>>>>>>>><ssilva at SGVWATER.COM> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>Alden Levy spake the following on 9/21/2005 4:26 PM:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>Sorry for the duplicate messages.  I realized that I had written the
>>>>>>>>>>>>messages first from my mail program, then from the web interface,
>>>>>>>>>>>>and--after
>>>>>>>>>>>>realizing that noone would get these messages--from the jiscmail
>>>>>>>>>>>>interface.
>>>>>>>>>>>>
>>>>>>>>>>>>In any event, I still have one problem, but it still looks like it's
>>>>>>>>>>>>working, namely:
>>>>>>>>>>>>    incoming sendmail: head: /var/run/sendmail.in.pid: No such
>>>>>>>>>>>>file or
>>>>>>>>>>>>directory
>>>>>>>>>>>>
>>>>>>>>>>>>There was no file named sendmail.in.pid, so I copied sendmail.pid
>>>>>>>>>>>>over.
>>>>>>>>>>>>While the system works, when I check the status of MailScanner, I
>>>>>>>>>>>>get:
>>>>>>>>>>>>Checking MailScanner daemons:
>>>>>>>>>>>>     MailScanner:                                      [  OK  ]
>>>
>>>
>>>>>>>>>>>>     incoming sendmail:                                [FAILED]
>>>>>>>>>>>>     outgoing sendmail:                                [  OK  ]
>>>>>>>>>>>>
>>>>>>>>>>>>However, I seem to have the same services running as I had this
>>>>>>>>>>>>morning.  I
>>>>>>>>>>>>am able to send emails to accounts on this box from outside
>>>>>>>>>>>>accounts, as
>>>>>>>>>>>>well as send emails from accounts on this box to accounts outside
>>>>>>>>>>>>this box
>>>>>>>>>>>>(and, of course, emails between accounts on this box).
>>>>>>>>>>>>
>>>>>>>>>>>>Suggestions?
>>>>>>>>>>>>
>>>>>>>>>>>>Thanks,
>>>>>>>>>>>>Alden
>>>>>>>>>>>
>>>>>>>>>>>Delete the copied pid, then stop MailScanner and run
>>>>>>>>>>>touch /var/run/sendmail.in.pid
>>>>>>>>>>>then restart MailScanner and see if that helps.
>>>>>>>>>>
>>>>>>>>>>I tried that. When I check service MailScanner status, I get:
>>>>>>>>>>Checking MailScanner daemons:
>>>>>>>>>>      MailScanner:                                      [  OK  ]
>>>>>>>>>>      incoming sendmail:                                [FAILED]
>>>>>>>>>>      outgoing sendmail:                                [  OK  ]
>>>>>>>>>>
>>>>>>>>>>And in my mail logs, I get:
>>>>>>>>>>Sep 21 20:35:42 engine sendmail[27938]: NOQUEUE: SYSERR(root):
>>>>>>>>>>opendaemonsocket: daemon MTA: cannot bind: Address already in use
>>>>>>>>>>Sep 21 20:35:42 engine sendmail[27938]: daemon MTA: problem creating
>>>>>>>>>>SMTP socket
>>>>>>>>>>Sep 21 20:35:45 engine sendmail[28052]: NOQUEUE: SYSERR(root):
>>>>>>>>>>opendaemonsocket: daemon MTA: cannot bind: Address already in use
>>>>>>>>>>Sep 21 20:35:45 engine sendmail[28052]: daemon MTA: problem creating
>>>>>>>>>>SMTP socket
>>>>>>>>>>
>>>>>>>>>>Any other suggestions?
>>>>>>>>>>
>>>>>>>>>>Thanks, again,
>>>>>>>>>>Alden
>>>>>>>>>
>>>>>>>>>Did you stop sendmail and run chkconfig sendmail off as per the install
>>>>>>>>>docs?
>>>>>>>>
>>>>>>>>Can you check if you have any postfix processes running? Many RedHat
>>>>>>>>systems ship using Postfix by default instead of sendmail. There is a
>>>>>>>>tool somewhere to switch which MTA you are using on your RedHat setup.
>>>>>>>
>>>>>>>The tool is called system-switch-mail-nox, it's in /usr/bin so will be
>>>>>>>on your $PATH already.
>>>>>>
>>>>>>Hi, Julian.
>>>>>>
>>>>>>No postfix processes running.  Our MTA is sendmail.
>>>>>>
>>>>>>Dimitri
>>>>>>
>>>>>>------------------------ MailScanner list ------------------------
>>>>>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>>>>>'leave mailscanner' in the body of the email.
>>>>>>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>>>>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>>>>
>>>>>>Support MailScanner development - buy the book off the website!
>>>>>
>>>>>Dimitri,
>>>>>
>>>>>What's the output from: netstat -tpa|grep :smtp
>>>>>
>>>>>Denis
>>>>
>>>>Hi, Denis.
>>>>
>>>>I worked with a guy from Sherbrooke once.  Nice person (all Canadians are, in
>>>>my estimation).  Sorry for the aside, all.
>>>>
>>>>Here's the output of :
>>>>
>>>>tcp        0      0 *:smtps                     *:*
>>>>LISTEN      1753/stunnel
>>>>tcp        0      0 *:smtp                      *:*
>>>>LISTEN      17087/sendmail: acc
>>>>
>>>>Looks like the last line was concatenated, but still gives the general
>>>>picture.
>>>>
>>>>Dimitri
>>>
>>>
>>>
>>>There are no postfix processes running on my system.  I DID have this
>>>running properly in an earlier version, but I'll keep checking to make sure
>>>my host didn't "fix" anything when they were actually fixing another problem.
>>>
>>>The output is:
>>># netstat -tpa|grep :smtp
>>>tcp        0      0 *:smtp                  *:*                     LISTEN
>>>    25916/sendmail: acc
>>>
>>>I also had the following the first time I ran it
>>>tcp        0      0 engine.engineno9i:37521 mailwash26.pair.co:smtp TIME_WAIT
>>>
>>>but that's gone now.
>>>
>>>I'm still scratching my head, because it SEEMS to be working (none of my
>>>clients are complaining).
>>>
>>>Oddly, service MailScanner status returned:
>>>Checking MailScanner daemons:
>>>         MailScanner:                                      [  OK  ]
>>>         incoming sendmail:                                [  OK  ]
>>>         outgoing sendmail:                                [FAILED]
>>>
>>>before I restarted.  Now it's back to:
>>>Checking MailScanner daemons:
>>>         MailScanner:                                      [  OK  ]
>>>         incoming sendmail:                                [FAILED]
>>>         outgoing sendmail:                                [  OK  ]
>>>
>>>Stranger and stranger....
>>>
>>>--Alden
>>>
>>
>>Does the sendmail section of /etc/sysconfig/MailScanner look ok?
>>Especially the inpid and outpid declarations.
>>Also check /etc/rc.d/init.d/MailScanner for the same thing.
>>Somewhere, the init scripts have a problem.
>>Also look for MailScanner.rpmnew. Maybe an old init script is lurking
>>and the .rpmnew just needs to be renamed.
>>
>>
>>--
> 
> That's it!  Scott (and everyone else): Thank you!  It WAS the init scripts.
>  After viewing MailScanner.rpmnew in both /etc/sysconfig and
> /etc/rc.d/init.d and comparing them with MailScanner, I realized that they
> needed to be replaced.
> 
> Thank you!
> 
> --Alden
> 
You must have been replacing a very old version of MailScanner, as that
bit me at least a year or more ago.

-- 

/-----------------------\           |~~\_____/~~\__  |
| MailScanner; The best |___________ \N1____====== )-+
| protection on the net!|                   ~~~|/~~  |
\-----------------------/                      ()

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list