Re: postfix smtp_sasl_auth

2006-04-21 Thread Alan Curtis
Thanks for everyone's help. I have tried various things to get postfix
running again.

I was confused by 'make config' not working, but Paul explained that so I did

make deinstall clean
make install clean

But that failed because I had the wrong mysql version which was
required by dovecote.
I deinstalled and installed both dovecote and mysql and restored all
the config files I could think of and now I get the following message
in maillog

Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis,
method=PLAIN, rip=128.33.80.129, lip=192.168.1.100, TLS
Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database
sasl_passwd.db: No such file or directory
Apr 21 10:59:59 ** postfix/master[650]: warning: process
/usr/local/libexec/postfix/smtp pid 957 exit status 1
Apr 21 10:59:59 ** postfix/master[650]: warning:
/usr/local/libexec/postfix/smtp: bad command startup -- throttling

I tried
postmap hash:sasl_passwd
and reloading postfix, but get the same messages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix smtp_sasl_auth

2006-04-20 Thread Paul Schmehl

Zimmerman, Eric wrote:


I think you can do a 'make config' as well in the port directory to
reconfigure

Not with postfix you can't.  It doesn't use OPTIONS.  Unless you put 
your preferences in the make.conf file, Postfix will prompt you every 
time you install.


--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: postfix smtp_sasl_auth

2006-04-19 Thread Emil Thelin

On Wed, 19 Apr 2006, Alan Curtis wrote:


I had postfix set up to use  smtp_sasl_auth for outgoing mail. But now
it's broken and I get this message in maillog.

Apr 19 15:11:23  postfix/smtp[17464]: warning:
smtp_sasl_auth_enable is true, but SASL support is not compiled in
Apr 19 15:11:23  postfix/smtp[17464]: warning: TLS has been
selected, but TLS support is not compiled in

I think I must have broken something during a port upgrade. How do I fix this?


You need to reinstall postfix, and make sure you compile in support for 
sasl/tls.


/e

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


Re: postfix smtp_sasl_auth

2006-04-19 Thread Giorgos Keramidas
On 2006-04-19 15:35, Alan Curtis [EMAIL PROTECTED] wrote:
 I had postfix set up to use  smtp_sasl_auth for outgoing mail. But now
 it's broken and I get this message in maillog.

 Apr 19 15:11:23  postfix/smtp[17464]: warning:
 smtp_sasl_auth_enable is true, but SASL support is not compiled in
 Apr 19 15:11:23  postfix/smtp[17464]: warning: TLS has been
 selected, but TLS support is not compiled in

 I think I must have broken something during a port upgrade. How do I fix this?

Remove /usr/ports/mail/postfix/Makefile.inc and rebuild postfix.  You
will be prompted for configuration options again.  You seem to have TLS
and SASL in your `main.cf' file but forgot to include them in the latest
build.

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


Re: postfix smtp_sasl_auth

2006-04-19 Thread Paul Schmehl

Alan Curtis wrote:

I had postfix set up to use  smtp_sasl_auth for outgoing mail. But now
it's broken and I get this message in maillog.

Apr 19 15:11:23  postfix/smtp[17464]: warning:
smtp_sasl_auth_enable is true, but SASL support is not compiled in
Apr 19 15:11:23  postfix/smtp[17464]: warning: TLS has been
selected, but TLS support is not compiled in

I think I must have broken something during a port upgrade. How do I fix this?


make deinstall clean
make install clean - make sure you select SASL during the install 
process (you'll be prompted.)


--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


RE: postfix smtp_sasl_auth

2006-04-19 Thread Zimmerman, Eric
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Giorgos Keramidas
 Sent: Wednesday, April 19, 2006 2:42 PM
 To: Alan Curtis
 Cc: freebsd-questions@freebsd.org
 Subject: Re: postfix smtp_sasl_auth
 
 On 2006-04-19 15:35, Alan Curtis [EMAIL PROTECTED] wrote:
  I had postfix set up to use  smtp_sasl_auth for outgoing mail. But
now
  it's broken and I get this message in maillog.
 
  Apr 19 15:11:23  postfix/smtp[17464]: warning:
  smtp_sasl_auth_enable is true, but SASL support is not compiled in
  Apr 19 15:11:23  postfix/smtp[17464]: warning: TLS has been
  selected, but TLS support is not compiled in
 
  I think I must have broken something during a port upgrade. How do I
fix
 this?
 
 Remove /usr/ports/mail/postfix/Makefile.inc and rebuild postfix.  You
 will be prompted for configuration options again.  You seem to have
TLS
 and SASL in your `main.cf' file but forgot to include them in the
latest
 build.
 

I think you can do a 'make config' as well in the port directory to
reconfigure
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix smtp_sasl_auth

2006-04-19 Thread Giorgos Keramidas
On 2006-04-19 14:49, Zimmerman, Eric [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
  Remove /usr/ports/mail/postfix/Makefile.inc and rebuild
  postfix.  You will be prompted for configuration options
  again.  You seem to have TLS and SASL in your `main.cf' file
  but forgot to include them in the latest build.

 I think you can do a 'make config' as well in the port
 directory to reconfigure

Very cool.  I didn't know that :)

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