Hello,
I am using suse 12.1, postfix + saslauthd and saslauthd service is running.
saslauthd.service - LSB: cyrus-sasl auth daemon
Loaded: loaded (/etc/init.d/saslauthd)
Active: active (running) since Thu, 03 May 2012 16:40:01 +0300; 34min ago
Process: 8345 ExecStop=/etc/init.d/saslauthd stop (code=exited, status=0/SUCCESS)
Process: 8353 ExecStart=/etc/init.d/saslauthd start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/saslauthd.service
â 8361 /usr/sbin/saslauthd -a pam -n 5
â 8362 /usr/sbin/saslauthd -a pam -n 5
â 8363 /usr/sbin/saslauthd -a pam -n 5
â 8364 /usr/sbin/saslauthd -a pam -n 5
â 8365 /usr/sbin/saslauthd -a pam -n 5
I can send emails from all users from postfix but I’m getting a message below at only one user:
postfix/smtpd[8299]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
postfix/smtpd[8299]: warning: unknown[95.8.171.122]: SASL LOGIN authentication failed: generic failure
I am also trying to check authenatication module with testsaslauthd and it says “authentication failed” for all users. But only one user can’t send emails, the others can.
What can I do?
Regards,
Deep
update: I just realized that all users authentication fails…
does anybody has an idea about my problem?
here is my postfix main.cf
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 = myserver
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_type = dovecot
smtpd_sasl_path = smtpd
#smtp_sasl_password_maps =
On 2012-05-09 14:26, DeepSecurity wrote:
>
> does anybody has an idea about my problem?
I’m sorry, I have not used saslauthd, so I can’t comment.
Did you read the postfix documentation re saslauthd?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Thanks for you answer. Yes, I’ve been reading all the documentation for 3 days but no luck.
What kind of smtp authentication method do you suggest for postfix?
On 2012-05-10 14:46, DeepSecurity wrote:
> What kind of smtp authentication method do you suggest for postfix?
My needs are very limited, what I use would not help you. I only posted to
let you know that people have read your post
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)