HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   postfix & saslauthd (http://www.howtoforge.com/forums/showthread.php?t=57230)

deepsecurity 9th May 2012 15:43

postfix & saslauthd
 
Hello, I am running opensuse 12.1 server with postfix + dovecot and trying to activate an authentication mechanism. I set saslauth up everything seems normal but when test with

Quote:

testauthd -u username -p password
authenticaion fails and also mail log is below:

Quote:

postfix/smtpd[19051]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
postfix/smtpd[19051]: warning: unknown[88.255.98.42]: SASL LOGIN authentication failed: generic failure
Here is my postfix main.cf

Quote:

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = mail.$mydomain
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
#smtp_sasl_auth_enable = yes
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
mydomain = localhost
mynetworks = 127.0.0.0/8
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_auth_only = no
smtpd_delay_reject = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
#smtpd_sasl_type = dovecot
#smtp_sasl_password_maps =
I searched on google but no lock. I can't really understand the authentication mechanism.
Can you guys give me some advice? What else can I check?


All times are GMT +2. The time now is 09:53.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.