pkgsrc-Bugs archive

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

Re: pkg/47207 (install problems with sendmail)



The following reply was made to PR pkg/47207; it has been noted by GNATS.

From: Richard PALO <richard.palo%baou.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Tue, 08 Jan 2013 18:37:58 +0100

 This is a multi-part message in MIME format.
 --------------000703060102090906080804
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I believe the last communications were unfortunately not made here but 
 to pkgsrc-users...
 
 Here is a copy:
 
 
 -------- Message original --------
 Sujet: Re: pkgsrc/mail/sendmail anomalies
 Date : Tue, 25 Dec 2012 16:52:31 +0100
 De : Richard PALO <richard.palo%baou.fr@localhost>
 Pour : pkgsrc-users%netbsd.org@localhost
 
 I come back with an update on my findings.
 
 First, I agree with the observations that the paths documented in
 pkgsrc/mail/sendmail/Makefile should be largely applied.
 
 The supplied files break this philosophy and generate, frankly speaking,
 a mess; definitely not intuitive when perusing the pkgsrc sendmail bits.
 
 (I do believe that the local /usr/sbin/sendmail is a special case, but
 in reality it really doesn't seem to affect anything directly in the
 pkgsrc bits, THAT, like any pkgsrc bits, is a different local issue)
 
 On the same note, I'm not entirely OKAY with /etc/mail being used
 instead of ${PKG_SYSCONFBASE}/mail, I suggest that it be re-evaluated,
 but I don't propose any patches here at the moment.
 
 The attached patch puts certain critical cf files in order, as well as
 cf/ostypes/solaris8.mc which is my particular target at the moment.
 
 Do note that cf/cf is built now in order to supply the updates for install.
 
 By the way, the other files in cf/ostypes are also candidates to
 upgrade, just do
        
        grep -E "bin|etc|var" cf/ostypes/*
 
 but if this approach is selected, perhaps it would be better to more
 specifically replace with the m4 parameter name (e.g. confEBINDIR) as
 part of the selection.
 
 With this patch, the pid file is correctly placed where
 /etc/rc.d/sendmail expects it, and the various directories and files are
 also in the place created during pkgsrc make install (namely in ${VARBASE}.
 
 MTA to MTA testing seems ok, now I will tackle the MTA/UA part where I
 hope there is nothing special anymore to do in sendmail...
 
 here are some pertinent outputs:
 
 richard@devzoneX:~$ pfexec /etc/rc.d/sendmail status
 sendmail is running as pid 20707.
 richard@devzoneX:~$ telnet localhost 25
 Trying ::1...
 Connected to localhost.
 Escape character is '^]'.
 220 devzoneX.baou.fr ESMTP Sendmail 8.14.5/8.14.5; Tue, 25 Dec 2012
 16:38:01 +0100 (CET)
 ehlo localhost
 250-devzoneX.baou.fr Hello localhost [IPv6:::1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-EXPN
 250-VERB
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5
 250-STARTTLS
 250-DELIVERBY
 250 HELP
 quit
 221 2.0.0 devzoneX.baou.fr closing connection
 Connection closed by foreign host.
 
 This is with the following sendmail.mc file which simply adds the
 missing domain statements from solaris provided solaris-generic.m4,
 and adding GSS-SPNEGO and STARTTLS support (naturally I needed to
 install security/cy2-crammd5, cy2-digestmd5 and cy2-gssapi and
 recuperate my certificate files) :
 
 divert(0)dnl
 VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro
 Exp $')
 OSTYPE(solaris8)dnl
 DOMAIN(generic)dnl
 FEATURE(`nouucp', `reject')
 FEATURE(`use_ct_file')dnl
 FEATURE(`accept_unqualified_senders')dnl
 FEATURE(`accept_unresolvable_domains')dnl
 FEATURE(`relay_entire_domain')dnl
 dnl set SASL options
 TRUST_AUTH_MECH(`GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confAUTH_MECHANISMS', `GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5
 LOGIN')dnl
 define(`confCACERT_PATH', `/etc/mail/certs')dnl
 define(`confCACERT', `/etc/mail/certs/CAcert.pem')dnl
 define(`confSERVER_CERT', `/etc/mail/certs/MYcert.pem')dnl
 define(`confSERVER_KEY', `/etc/mail/certs/MYkey.pem')dnl
 define(`confCRL', `/etc/mail/certs/revoke.crl')
 define(`confCLIENT_CERT', `/etc/mail/certs/MYcert.pem')dnl
 define(`confCLIENT_KEY', `/etc/mail/certs/MYkey.pem')dnl
 MAILER(local)dnl
 MAILER(smtp)dnl
 
 
 
 
 
 
 
 --------------000703060102090906080804
 Content-Type: text/plain; charset=UTF-8;
  name="sendmail-diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="sendmail-diff"
 
 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3BrZ3Ny
 Yy9tYWlsL3NlbmRtYWlsL01ha2VmaWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjExMgpk
 aWZmIC11IC1wIC1yMS4xMTIgTWFrZWZpbGUKLS0tIE1ha2VmaWxlCTE2IERlYyAyMDEyIDAx
 OjUyOjIzIC0wMDAwCTEuMTEyCisrKyBNYWtlZmlsZQkyNSBEZWMgMjAxMiAxNTowMzozMCAt
 MDAwMApAQCAtNyw2ICs3LDggQEAgUEtHUkVWSVNJT049CTIKIENPTkZMSUNUUys9CWNvdXJp
 ZXItbXRhLVswLTldKiBmYXN0Zm9yd2FyZD49MC41MW5iMiBwb3N0Zml4LVswLTldKgogQ09O
 RkxJQ1RTKz0JZXNtdHA+PTEuMgogCitQS0dfREVTVERJUl9TVVBQT1JUPWRlc3RkaXIKKwog
 LmluY2x1ZGUgIm9wdGlvbnMubWsiCiAuaW5jbHVkZSAiLi4vLi4vbWFpbC9zZW5kbWFpbC9N
 YWtlZmlsZS5jb21tb24iCiAKQEAgLTMzLDcgKzM1LDggQEAgUEtHX0dST1VQUz0JCXNtbXNw
 CiBQS0dfVVNFUlM9CQlzbW1zcDpzbW1zcAogUEtHX0dFQ09TLnNt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QC9zcG9vbC9jbGllbnRtcXVldWUvc20tY2xpZW50
 LnBpZCIKIHJlcXVpcmVkX2ZpbGVzPSIvZXRjL21haWwvc3VibWl0LmNmIgogZXh0cmFfY29t
 bWFuZHM9InJlbG9hZCIKIAogc21iaW49IkBQUkVGSVhAL2xpYmV4ZWMvc2VuZG1haWwvc2Vu
 ZG1haWwiCiBzbW1zcF9mbGFncz0iLUxzbS1tc3AtcXVldWUgLUFjIC1xMzBtIgorY29tbWFu
 ZD0kc21iaW4KIAogbG9hZF9yY19jb25maWcgJG5hbWUKIHJ1bl9yY19jb21tYW5kICIkMSIK
 
 --------------000703060102090906080804--
 


Home | Main Index | Thread Index | Old Index