Re: building sendmail-sasl-8.12.10 problems

2003-10-05 Thread Noah
On Sat, 4 Oct 2003 16:35:41 +0100, Matthew Seaman wrote
 On Sat, Oct 04, 2003 at 07:13:28AM -0800, Noah wrote:
 
   Either that, or ditch the ports version of sendmail, and add the
   following to your /etc/make.conf:
   
   SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
   SENDMAIL_LDFLAGS=-L/usr/local/lib
   SENDMAIL_LDADD=-lsasl2
   
  
  when I uncomment these entries in /etc/make.conf - I get the folllowing errors
  during execution of 'make' .
  
  
  
  [EMAIL PROTECTED] make   
  /etc/make.conf, line 404: Unassociated shell command
  SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
  /etc/make.conf, line 405: Unassociated shell command
  SENDMAIL_LDFLAGS=-L/usr/local/lib 
  /etc/make.conf, line 406: Unassociated shell command
  SENDMAIL_LDADD=-lsasl2 make: fatal errors encountered -- cannot continue
 
 Check the syntax of your /etc/make.conf file carefully.  Make sure
 those variable assignments don't have any leading whitespace, and
 particularly that they don't follow an uncommented line ending in one
 or two colons.  make(1) has somehow become convinced that those lines
 are commands that it should execute rather than variable settings.
 


white space was the issue. thank you for your help.

- Noah



   Cheers,
 
   Matthew 
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 
 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Matthew Seaman
On Fri, Oct 03, 2003 at 12:46:12PM -0800, Noah wrote:
 FreeBSD 4.8-STABLE machine
 
 okay I just built sendmail-sasl version 8.12.10 from
 /usr/ports/mail/sendmail-sasl but my system is complaining that SASL support
 is required. what am I doing wrong.  why isnt SASL support being recognized?
 
 sasl2 'PORTVERSION=2.1.15' is in /usr/ports
 
 --- make stop  make start from /etc/mail ---
 # make start  [/etc/mail]
 Starting: sendmailWarning: Option: AuthMechanisms requires SASL support (-DSASL)
 Warning: Option: AuthOptions requires SASL support (-DSASL)
  sendmail-clientmqueue.
 --- snip 

Hmmm... Sounds like you're trying to start up the sendmail from the
base system but using the .mc/.cf files with all of the SASL stuff in
it.

Check the contents of /etc/mail/mailer.conf -- make sure you're
starting up the port version of sendmail, which will be
/usr/local/sbin/sendmail

Either that, or ditch the ports version of sendmail, and add the
following to your /etc/make.conf:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

plus install the the security/cyrus-sasl2 port.  (Read the comments in
/etc/make.conf if you prefer to use SASLv1 -- setup is almost
identical) That will build you a SASL enabled sendmail from the base
system.

See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
for details of setting up the base system with SASL-ized sendmail
using SASLv1.  Same instructions work for SASLv2 if you make the
obvious substitutions.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Noah

 Hmmm... Sounds like you're trying to start up the sendmail from the
 base system but using the .mc/.cf files with all of the SASL stuff in
 it.
 
 Check the contents of /etc/mail/mailer.conf -- make sure you're
 starting up the port version of sendmail, which will be
 /usr/local/sbin/sendmail

Hi,

okay I fixed /etc/mail/mailer.conf file and 8.12.10 is now running.


 
 Either that, or ditch the ports version of sendmail, and add the
 following to your /etc/make.conf:
 
 SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl2
 

when I uncomment these entries in /etc/make.conf - I get the folllowing errors
during execution of 'make' .



[EMAIL PROTECTED] make   
/etc/make.conf, line 404: Unassociated shell command
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
/etc/make.conf, line 405: Unassociated shell command
SENDMAIL_LDFLAGS=-L/usr/local/lib 
/etc/make.conf, line 406: Unassociated shell command
SENDMAIL_LDADD=-lsasl2 make: fatal errors encountered -- cannot continue


- Noah



 plus install the the security/cyrus-sasl2 port.  (Read the comments 
 in /etc/make.conf if you prefer to use SASLv1 -- setup is almost 
 identical) That will build you a SASL enabled sendmail from the base 
 system.
 
 See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
 for details of setting up the base system with SASL-ized sendmail
 using SASLv1.  Same instructions work for SASLv2 if you make the
 obvious substitutions.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 
 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building sendmail-sasl-8.12.10 problems

2003-10-04 Thread Matthew Seaman
On Sat, Oct 04, 2003 at 07:13:28AM -0800, Noah wrote:

  Either that, or ditch the ports version of sendmail, and add the
  following to your /etc/make.conf:
  
  SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
  SENDMAIL_LDFLAGS=-L/usr/local/lib
  SENDMAIL_LDADD=-lsasl2
  
 
 when I uncomment these entries in /etc/make.conf - I get the folllowing errors
 during execution of 'make' .
 
 
 
 [EMAIL PROTECTED] make   
 /etc/make.conf, line 404: Unassociated shell command
 SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
 /etc/make.conf, line 405: Unassociated shell command
 SENDMAIL_LDFLAGS=-L/usr/local/lib 
 /etc/make.conf, line 406: Unassociated shell command
 SENDMAIL_LDADD=-lsasl2 make: fatal errors encountered -- cannot continue

Check the syntax of your /etc/make.conf file carefully.  Make sure
those variable assignments don't have any leading whitespace, and
particularly that they don't follow an uncommented line ending in one
or two colons.  make(1) has somehow become convinced that those lines
are commands that it should execute rather than variable settings.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


building sendmail-sasl-8.12.10 problems

2003-10-03 Thread Noah
FreeBSD 4.8-STABLE machine

okay I just built sendmail-sasl version 8.12.10 from
/usr/ports/mail/sendmail-sasl but my system is complaining that SASL support
is required. what am I doing wrong.  why isnt SASL support being recognized?

sasl2 'PORTVERSION=2.1.15' is in /usr/ports

--- make stop  make start from /etc/mail ---
# make start  [/etc/mail]
Starting: sendmailWarning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
 sendmail-clientmqueue.
--- snip 

from the /etc/mail/hurricane.enabled.com.mc file

--- snip ---
### password authentication for relaying only
define(`confAUTH_OPTIONS', `p y')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confCACERT_PATH',`/usr/local/openssl/certs')
define(`confCACERT',`/usr/local/openssl/certs/ca-bundle.crt')
define(`confSERVER_CERT',`/usr/local/openssl/certs/sendmail.pem')
define(`confSERVER_KEY',`/usr/local/openssl/certs/sendmail.pem')
#define(`confCLIENT_CERT', `/usr/local/openssl/certs/sendmail.pem')dnl
#define(`confCLIENT_KEY', `/usr/local/openssl/certs/sendmail.pem')dnl
--- snip ---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]