|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
postfix problem with sasl2
Hi, I working with postfix, use how to from how to forge, debian postfix....
Everything was ok, but I can not config saslauthd, I do not know where the config file in / usr / local / sbin, a file which is so called, but the binary file Problem section Quote:
|
|
|||
virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-debian-squeeze-p2
|
|
||||
I should clarify -- and add that there are specialized SASL components in the base. Two examples: GSSAPI and S/Key.
But these are not the SASL utilities, nor SASL function libraries, which require third party package installation. |
|
|||
I compiled postfix with mysql and sasl2, I will later turn on sever with postfix, and check some things
|
|
||||
Did you use the mail/postfix port with $FLAVOR set to "mysql sasl2", or did you build Postfix manually?
If you used the port, the $FLAVOR environment variable had to be used throughout the build and install process. If you used the FLAVOR variable for the build, but not the install, you may have the wrong package installed. You can determine what is installed by something like this, which will display the package name. It should contain both mysql and sasl2: $ pkg_info | grep postfixIf you built and installed Postfix manually, without using the OpenBSD ports tree, you are running an unsupported, and an unsupportable configuration. You are on your own. Removing your manual installation and building a package from the supported port is required if you wish others to provide any assistance, or if you wish support from the port maintainer or from the OpenBSD Project. |
|
|||
Of course, I use ports,mail/postfix/snapshot, with $FLAVOR "mysql sasl2" make install
I am now confuse, what file I мust change, smtp.conf, on some sasl2.conf, whatever ? postfix-2.8.20110113-sasl2-mysql fast, secure sendmail replacement I can't find saslauthd , this line is problem Quote:
Last edited by zeenmc; 13th June 2011 at 08:32 PM. |
|
|||
bash-4.1# pkg_info -L cyrus-sasl | grep saslauthd
/usr/local/man/cat8/saslauthd.0 /usr/local/sbin/saslauthd this iz binary file /usr/local/sbin/testsaslauthd /etc/rc.d/saslauthd this is some part from nano saslauthd Quote:
what you use for mail server ? |
|
||||
I use sendmail, and security/cyrus-sasl2 with sendmail, with the latter configured to use smtp-auth (a compile time environment variable set in /etc/mk.conf, used by /usr/src/gnu/usr.sbin/sendmail/sendmail/Makefile).
I've now actually pulled down a package of cyrus-sasl2 and looked inside. Please review the man page for saslauthd. It does not have a configuration file of its own ... however, it mentions, in the FILES section, a file /etc/saslauthd.conf -- and describes it as used for configuring ldap support. It is not included in the port. If you are not using ldap, you won't need it. But, if you install the "ldap" FLAVOR of cyrus-sasl2, you'll find a sample configuration file in /usr/local/share/examples/sasl2/saslauthd.conf |
|
|||
I realized that the file does not exist, maybe it is on Debian, I do not know, mainly tutorial is written for debian, maybe try and install debian with him, I did not install ldap
Quote:
|
|
||||
Perhaps you misunderstood me.
Even if you happen upon a "How to" document written by an OpenBSD user, it is unlikely that your environment will match the author's. Most such documents are written by new users who are proud of their achievements. These new users have little understanding of the wide variety of configurations, provisioning choices, impacts of their recommendations, or the useful lifespan of their "How to" posts. Debian is a Linux distribution. Linux is not BSD, even though both are Unix-like operating systems. Directory structures, libraries, toolsets, and system facilities are very different. |
|
|||
If an application calls SASL utilities, you install security/cyrus-sasl2. For 4.9-release, the base package is cyrus-sasl-2.1.23p5, and there are various FLAVORs for integration with various database technologies.
Postfix can use SASL libraries, but as I don't use Postfix, I don't know if that is in addition to, or instead of, the SASL utilities. I know this only because there is a sasl2 FLAVOR for postfix that was built with security/libgsasl as a dependency in both "stable" and "snapshot" versions of Postfix. Pick the one you want, and re-install that particular FLAVOR of Postfix. The package will install the appropriate libgsasl package as a dependency. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
openbsd postfix pine problem | werwer | OpenBSD Packages and Ports | 4 | 29th May 2010 10:08 PM |
Mailscanner + Postfix problem after update | giagni | FreeBSD Ports and Packages | 1 | 12th May 2009 12:37 PM |
Problem with Postfix and Sasl auth | unixbsd | OpenBSD General | 1 | 27th April 2009 03:26 AM |
Need Help Configuring Postfix | iainnitro | General software and network | 6 | 8th June 2008 04:55 AM |
cyrus-sasl2 dies | chavez243 | FreeBSD Ports and Packages | 9 | 10th May 2008 03:01 PM |