|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Clarence Brown (clabrown
granitepost.com)Date: Sun Dec 02 2001 - 20:22:45 CST
Well, we've got some replies at the bottom, and some at the top,
but since the last one was at the top, I'll reply at the top too.
The way that I built and installed postfix as well as sasl, was using
the FreeBSD Ports system. I did a make install in the postfix port
directory. It gave me some options to install additional stuff, and
I selected SASL, DB3, LDAP, and MySQL. I thought that I had
read that DB3 was required w/ SASL, and thought that I might
want to try LDAP and MySQL at some point in the future.
The system then proceded to download and compile all those things,
including SASL. This "should" have added any required switches
or compile options as outlined in various readme files which refer
to manually installing things separately.
The ports are "supposed" to have all the configuration and
dependancies figured out. The ports are setup by "smart" people, who
know more than I do, and they have usually been debugged before
I try them. I don't fully understand all the intracasies of how FreeBSD
Ports are constructed but to answer your question I started digging
around in the files associated with the postfix port and found the
following section that seems to outline compile switches added
for SASL support in postfix:
from file /usr/ports/mail/postfix-current/scripts/configure.postfix:
\"SASL\")
echo "CONF2+= sample-auth.cf"
echo "BUILD_DEPENDS+=
\${LOCALBASE}/lib/libsasl.a:\${PORTSDIR}/security/cyrus-sasl"
echo "POSTFIX_CCARGS+= -DUSE_SASL_AUTH -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libsasl.a -lpam -lcrypt"
if [ -f ${PREFIX}/lib/libsasl.a ]; then
if nm ${PREFIX}/lib/libsasl.a | grep -wq "mysql_verify_password"; then
echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
echo "POSTFIX_AUXLIBS+=
\${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
fi
else
echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
echo "POSTFIX_AUXLIBS+=
\${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
fi
echo ".if exists(/usr/lib/libkrb.a)"
echo "POSTFIX_AUXLIBS+= -lkrb -ldes -lcom_err"
echo ".endif"
SUB_SASL=""
;;
In Postfix's SASLReadme from the above I do see a line that mentions
POSTFIX_CCARGS+= -DUSE_SASL_AUTH -I\${LOCALBASE}/include
I don't see anything for that matches the AUXLIBS="-L/usr/local/lib -lsasl"
However I do see lots of AUXLIBS= lines and since a "smart" person
set this up I figured that one of them must have done what was necessary.
Maybe I should uninstall and try again?
Thanks, Cla.
----- Original Message -----
From: "Ben Rosengart" <br
panix.com>
> Please respond to the list, not just to me personally ...
>
> Did you rebuild Postfix according to the instructions in SASL_README?
>
> On Thu, Nov 29, 2001 at 06:32:20PM -0600, Clarence Brown wrote:
> >
> > ----- Original Message -----
> > From: "Ben Rosengart" <br
panix.com>
> > To: "Clarence Brown" <clabrown
granitepost.com>
> > Cc: <postfix-users
postfix.org>
> > Sent: Thursday, November 29, 2001 4:46 PM
> > Subject: Re: trying to enable SASL, but no AUTH response.
> >
> >
> > > On Thu, Nov 29, 2001 at 05:54:53PM -0600, Clarence Brown wrote:
> > > > I'm trying to enable SASL, and think I'm pretty close, but
> > > > following the advise of Jim Holmes I telneted to port 25
> > > > and issued a ehlo to see the response. I DON'T get a
> > > > 250-AUTH ... response. However in the main.cf
> > > > file I do have smtpd_sasl_auth_enable = yes.
> > > > What would cause no AUTH response?
> > >
> > > What's in your log?
> > >
> > > --
> > > Ben Rosengart (212) 741-4400 x215
> > >
> > > EOF
> >
> > >From the log file:
> >
> > Reload config, and try to send (relay) email using Eudora (Win98):
> >
> > Nov 29 17:34:33 fbsd03 postfix/postfix-script: refreshing the Postfix
mail
> > system
> > Nov 29 17:34:33 fbsd03 postfix/master[265]: reload configuration
> > Nov 29 17:35:23 fbsd03 postfix/smtpd[999]: warning: 209.150.104.143:
address
> > not listed for hostname austin.granitepost.com
> > Nov 29 17:35:23 fbsd03 postfix/smtpd[999]: connect from
> > unknown[209.150.104.143]
> > Nov 29 17:35:23 fbsd03 postfix/smtpd[999]: C8D6A20B08:
> > client=unknown[209.150.104.143]
> > Nov 29 17:35:23 fbsd03 postfix/smtpd[999]: reject: RCPT from
> > unknown[209.150.104.143]: 554 <jdorr
ultraranger.com>: Recipient address
> > rejected: Relay access denied; from=<pftest
fbsd03.granitepost.com>
> > to=<jdorr
ultraranger.com>
> > Nov 29 17:35:29 fbsd03 postfix/smtpd[999]: disconnect from
> > unknown[209.150.104.143]
> >
> > Reload Config and try telnet:
> >
> > Nov 29 17:36:56 fbsd03 postfix/postfix-script: refreshing the Postfix
mail
> > system
> > Nov 29 17:36:56 fbsd03 postfix/master[265]: reload configuration
> > Nov 29 17:37:00 fbsd03 postfix/smtpd[1014]: connect from
> > localhost[127.0.0.1]
> > Nov 29 17:42:13 fbsd03 postfix/smtpd[1014]: timeout after EHLO from
> > localhost[127.0.0.1]
> > Nov 29 17:42:13 fbsd03 postfix/smtpd[1014]: disconnect from
> > localhost[127.0.0.1]
> >
> > Copied from telnet session: (no 250-AUTH response)
> >
> > fbsd03# telnet localhost 25
> > Trying ::1...
> > telnet: connect to address ::1: Connection refused
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 220 fbsd03.granitepost.com ESMTP Postfix
> > ehlo localhost
> > 250-fbsd03.granitepost.com
> > 250-PIPELINING
> > 250-SIZE 10240000
> > 250-VRFY
> > 250-ETRN
> > 250-XVERP
> > 250 8BITMIME
> >
> > following line IS in my main.cf:
> > smtpd_sasl_auth_enable = yes
> >
> > any suggestions?
>
> --
> Ben Rosengart (212) 741-4400 x215
>
> EOF
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]