[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Building the sendmail.cf file



Hi Illmars,

>   The question is: where is right sendmail.mc file to generate
>   new sendmail.cf from. One in /usr/lib/sendmail-cf seems too old, it
>   is used before popauth package.

Yes, POP-before-SMTP was added later, but you can do it the same way:

Use the cobalt.mc from /usr/lib/sendmail-cf/cf/ to build a new sendmail.cf 
*without* popauth. 

Disable POP-before-SMTP in the GUI and save the new sendmail.cf as 
/etc/mail/sendmail.cf and /etc/mail/sendmail.cf.nopopauth

Then execute the following command:

  /usr/local/sbin/poprelayd.sendmailcf < /etc/mail/sendmail.cf.nopopauth \ 
  > /etc/mail/sendmail.cf.popauth

(That's supposed to be one line, a single command)

Then go to the GUI and enable POP-before-SMTP again and test out if 
POP-before-SMTP works again.

The script /usr/local/sbin/poprelayd.sendmailcf basically runs a search and 
replace and changes a few lines in th .cf around to add POP-before-SMTP. At 
the worst you can make this changes manually yourself when you use the script 
/usr/local/sbin/poprelayd.sendmailcf for guidance.

Using that method as a final touch-up I got Sendmail-8.12.3 working on the 
Qube3 and RaQ4 without any loss of compatability or functionality.

-- 

Mit freundlichen Grüßen / With best regards

Michael Stauber
mstauber@xxxxxxxxxxxxxx
Unix/Linux Support Engineer