omsendin request results in sendmail startup error message?!

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

fb
Posts: 22
Joined: Sun Jul 01, 2007 10:45 am

omsendin request results in sendmail startup error message?!

Postby fb » Sun Jul 22, 2007 12:19 pm

hi there,

I made some changes to my /etc/mail/linux.mc as I played a little with SpamAss-Milter and ClamAV-Milter on openSUSE 10.2. There's no sendmail.mc on openSUSE 10.2 so I edited linux.mc and did

Code: Select all

sudo sh -c "m4 /etc/mail/linux.mc > /etc/sendmail.cf" && omsendin
afterwards

Before all my modification to linux.mc I made a backup of the original sendmail.cf file made by scalix when I installed it.

When I restarted sendmail after rebuild I always got this error:

Code: Select all

Initializing SMTP port (sendmail)554 5.0.0 /etc/sendmail.cf: line 159: unknown configuration line "
"
startproc:  exit status of parent of /usr/sbin/sendmail: 70


The line number differed depending on the lines in linux.mc of course.

I then removed all my modifications and rebuilt sendmail.cf as mentioned above. Like this, it should be exactly the same as my backup sendmail.cf, right??

But it's not, as omsendin always prompts changes, modifies it and rebuilds sendmail.cf. Now the funny thing is that a diff shows the following:

Code: Select all

diff /etc/sendmail.cf.scalix-orig /etc/sendmail.cf
19,21c19,21
< ##### built by root@localhost on Mon Jul 9 21:34:07 CEST 2007
< ##### on SUSE LINUX 10.1 (i586) OSS
< ##### in /tmp/scalix-wizard.w20686/py
---
> ##### built by root@localhost on Sun Jul 22 17:54:11 CEST 2007
> ##### on openSUSE 10.2 (i586)
> ##### in /etc
158a159
>


As you can see, it differs only in line 158 to 159 where omsendin adds an empty line, for no obvious reason.

When I remove this empty line and restart sendmail, it starts up with NO error message.

Is there anybody who can explain to me where the sense is for that behaviour??

Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests