Re: SMTP-AUTH woes.

2006-08-13 Thread Martin Schweizer
Hello Greg

I did installed an system sendmail/Cyrus imap/sasldb2 successfully. While 
these I run in a lot of troubles. If you're interessted I can send you my 
stuff about it.

Am Mon, Jul 31, 2006 at 07:50:56AM -0500 Greg Groth schrieb:
 did you buildworld before you recompiled sendmail?  ive found that if i 
 buildworld, that before i recompile sendmail (to implement sasl2) that i 
 have to make clean on my /usr/src, or else make will try to use what was 
 already recompiled for sendmail during the buildworld.
 
 hth,
 jonathan
 
 This is a relatively fresh install, and I did update my ports with 
 portsnap / portmanager, then cvsuped src-all and ran buildworld before 
 playing around with this.  I did not run make clean before the 
 buildworld process though.  I did attempt to rebuild just sendmail after 
 I started having these problems:
 
 cd /usr/src/usr.sbin/sendmail
 make clean
 make depend
 make
 make install
 
 Nothing changed though.
 
 I was thinking on this a bit further, and although I don't have any of 
 the error messages, I believe I was running into similar issues with 
 Postfix last week.  The box in question died on me, I don't have a 
 battery backup and we had a brownout.  While fscking the system because 
 of the first brownout, we had a second, which rendered the box useless. 
I recall moving the unused sasl mechanisms out of 
 /usr/local/lib/sasl2 into a deactivated directory (per some how-tos), 
 and ended up with plain being the only mechanism left, and Postfix 
 started giving error messages about no mechanisms available and couldn't 
 seem to find plain text.  I figured I screwed something up with Postfix, 
 and went back to sendmail for this install until I had more time to play 
 around with Postfix.  I'll try the make clean / buildworld thing tonight 
 to see if that helps, and post back if it doesn't.
 
 Best regards,
 Greg Groth
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp2eMqXoShmf.pgp
Description: PGP signature


Re: SMTP-AUTH woes.

2006-08-13 Thread Greg Groth

Martin Schweizer wrote:

Hello Greg

I did installed an system sendmail/Cyrus imap/sasldb2 successfully. While 
these I run in a lot of troubles. If you're interessted I can send you my 
stuff about it.


I ended up doing a reinstall, and got it working.  I also went with 
Dovecot this time around, and got that up and running as well. 
Everything was running well with Maildir, however I then tried to 
install spamassassin which ended up screwing something up.  Sendmail 
ended up placing everything in the mbox files in /var/mail, instead of 
~/Maildir.  Not sure what happened, but I could not fix it.  I ended up 
going back to Postfix, and that is at least delivering to ~/Maildir. 
SASL is working as it should though.  Just have to get spamassassin and 
luser_relay working now.


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


Re: SMTP-AUTH woes.

2006-07-31 Thread Jonathan Horne
On Sunday 30 July 2006 23:21, Greg Groth wrote:
 FreeBSD 6.1
 saslauthd version 2.1.22
 sendmail version 8.13.6

 My problem is that sendmail is not authenticating plain text passwords.

  From my /etc/mail/hostname.mc file:

 define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
 TRUST_AUTH_MECH(`PLAIN LOGIN')dnl

 However when I telnet to the server I find the following:

 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

  From my /etc/make.conf:

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

  From my /usr/local/lib/sasl2/Sendmail.conf file:

 pwcheck_method: saslauthd

  From my /var/log/maillog file:

 Jul 30 23:08:01 mail sendmail[4061]: NOQUEUE: connect from [EMAIL PROTECTED]
 Jul 30 23:08:01 mail sendmail[4061]: STARTTLS: ServerCertFile missing
 Jul 30 23:08:01 mail sendmail[4061]: AUTH: available mech=NTLM LOGIN
 ANONYMOUS PLAIN GSSAPI OTP DIGEST-MD5 CRAM-MD5, allowed mech=EXTERNAL
 GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
 Jul 30 23:08:01 mail sendmail[4061]: k6V481s5004061: Milter: no active
 filter

 Everything seems to be in place.  SASL is running, and is working fine
 with the included testing tools, but sendmail does not seem to be
 accepting plain text logins.  This is the same setup I have up and
 running on a 6.0 box, but it doesn't seem to be working now.  Any ideas
 on what I might have screwed up?

 TIA
 Greg Groth

did you buildworld before you recompiled sendmail?  ive found that if i 
buildworld, that before i recompile sendmail (to implement sasl2) that i have 
to make clean on my /usr/src, or else make will try to use what was already 
recompiled for sendmail during the buildworld.

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


Re: SMTP-AUTH woes.

2006-07-31 Thread Greg Groth
did you buildworld before you recompiled sendmail?  ive found that if i 
buildworld, that before i recompile sendmail (to implement sasl2) that i have 
to make clean on my /usr/src, or else make will try to use what was already 
recompiled for sendmail during the buildworld.


hth,
jonathan


This is a relatively fresh install, and I did update my ports with 
portsnap / portmanager, then cvsuped src-all and ran buildworld before 
playing around with this.  I did not run make clean before the 
buildworld process though.  I did attempt to rebuild just sendmail after 
I started having these problems:


cd /usr/src/usr.sbin/sendmail
make clean
make depend
make
make install

Nothing changed though.

I was thinking on this a bit further, and although I don't have any of 
the error messages, I believe I was running into similar issues with 
Postfix last week.  The box in question died on me, I don't have a 
battery backup and we had a brownout.  While fscking the system because 
of the first brownout, we had a second, which rendered the box useless. 
   I recall moving the unused sasl mechanisms out of 
/usr/local/lib/sasl2 into a deactivated directory (per some how-tos), 
and ended up with plain being the only mechanism left, and Postfix 
started giving error messages about no mechanisms available and couldn't 
seem to find plain text.  I figured I screwed something up with Postfix, 
and went back to sendmail for this install until I had more time to play 
around with Postfix.  I'll try the make clean / buildworld thing tonight 
to see if that helps, and post back if it doesn't.


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


SMTP-AUTH woes.

2006-07-30 Thread Greg Groth

FreeBSD 6.1
saslauthd version 2.1.22
sendmail version 8.13.6

My problem is that sendmail is not authenticating plain text passwords.

From my /etc/mail/hostname.mc file:

define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl

However when I telnet to the server I find the following:

250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

From my /etc/make.conf:

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

From my /usr/local/lib/sasl2/Sendmail.conf file:

pwcheck_method: saslauthd

From my /var/log/maillog file:

Jul 30 23:08:01 mail sendmail[4061]: NOQUEUE: connect from [EMAIL PROTECTED]
Jul 30 23:08:01 mail sendmail[4061]: STARTTLS: ServerCertFile missing
Jul 30 23:08:01 mail sendmail[4061]: AUTH: available mech=NTLM LOGIN 
ANONYMOUS PLAIN GSSAPI OTP DIGEST-MD5 CRAM-MD5, allowed mech=EXTERNAL 
GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
Jul 30 23:08:01 mail sendmail[4061]: k6V481s5004061: Milter: no active 
filter


Everything seems to be in place.  SASL is running, and is working fine 
with the included testing tools, but sendmail does not seem to be 
accepting plain text logins.  This is the same setup I have up and 
running on a 6.0 box, but it doesn't seem to be working now.  Any ideas 
on what I might have screwed up?


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