LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   postfix,sasl problem (https://www.linuxquestions.org/questions/mandriva-30/postfix-sasl-problem-217310/)

strace 08-13-2004 05:43 PM

postfix,sasl problem
 
Hello all,

I have problems making saslauthd work with postfix,
Mandrake Linux release 9.2 (FiveStar) for i586
postfix-2.0.13-3mdk
libsasl2-2.1.15-4mdk
cyrus-sasl-2.1.15-4mdk

I have read a lot of documentation and did the following:
/etc/postfix/main.cf:
Code:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
....
relay_domains = $mydestination, ....
smtpd_recipient_restrictions =
  permit_sasl_authenticated,
  permit_mynetworks,
  check_relay_domains

In all documentation i found that i have to edit smtpd.conf, but i don't have any smtpd.conf on the system. /etc/sasl(2) and\or /usr/lib/sasl(2) don't exist.

I have only /var/lib/sasl2/ and /etc/sysconfig/saslauthd.
After applying the changes to postfix(postfix reload) and starting saslauthd the server stops sending mail via horde and complains:

Code:

There was an error sending your message: unable to connect to smtp server mydomain.com:25
What do i miss here? Is a configuration error?

Thanks.

gabios 09-02-2004 09:00 AM

create the file
 
you have to create the file /usr/lib/sasl2/smtpd.conf
and there you shoul write: pwcheck_method: saslauthd or whatever you want

also:
http://www.postfix.org/SASL_README.html

Gabios


All times are GMT -5. The time now is 03:40 AM.