* i...@itrezero.it <i...@itrezero.it>:
> Hi all.
> 
> I've recompiled a fresh version of Postfix 3.
> 
> No problem with PCRE support (I read the specific readme!). The compilation
> was ok and Postfix is up and running with PCRE.
> 
> Now I'm trying to add Dovecot SASL support, but postfix reply with:
> "warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled
> in" :(
> 
> Obviously Dovecot is running on the machine (because used with previous
> Postifix 2.x version) and compilation of postfix sources goes to the end
> without errors.

You don't seem to have told Postfix to use Dovecot as SASL provider and not
Cyrus SASL. So Postfix falls back to the default, which is Cyrus SASL. Since
you didn't compile it in, Postfix tells you SASL won't work.

p@rick






> 
> 
> 
> QUESTION:
> 
> Why postfix tell me that SASL is "not compiled in"?
> 
> 
> 
> CONFIG/SETTINGS:
> 
> 
> 
> When I telnet on xxx.yyy.xxx.yyy (port 25), I read:
> 
> 
> 
> ehlo cococ.eeee.com
> 
> 250-host.mydomain1.it
> 
> 250-PIPELINING
> 
> 250-SIZE 10240000
> 
> 250-ETRN
> 
> 250-ENHANCEDSTATUSCODES
> 
> 250-8BITMIME
> 
> 250 DSN
> 
> without: AUTH PLAIN LOGIN. :(
> 
> 
> 
> Here below is my main.cf
> 
> 
> 
> queue_directory = /var/spool/postfix
> 
> command_directory = /usr/sbin
> 
> daemon_directory = /usr/libexec/postfix
> 
> data_directory = /var/lib/postfix
> 
> mail_owner = postfix
> 
> 
> 
> myhostname = host.mydomain1.it
> 
> mydomain = mydomain1.it
> 
> myorigin = $mydomain
> 
> inet_interfaces = xxx.yyy.xxx.yyy, localhost
> 
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
> *.$mydomain
> 
> unknown_local_recipient_reject_code = 550
> 
> mynetworks = xxx.yyy.xxx.yyy/29, 127.0.0.0/8
> 
> 
> 
> strict_rfc821_envelopes = yes
> 
> disable_vrfy_command = yes
> 
> 
> 
> smtpd_helo_required = yes
> 
> smtpd_client_restrictions =
> 
> smtpd_helo_restrictions =
> 
> smtpd_sender_restrictions =
> 
> smtpd_end_of_data_restrictions =
> 
> smtp_sender_dependent_authentication = yes
> 
> 
> 
> smtpd_recipient_restrictions =
> 
>     permit_mynetworks,
> 
>     permit_sasl_authenticated,
> 
>     reject_unauth_destination,
> 
>     reject_invalid_hostname,
> 
>     reject_unauth_pipelining,
> 
>     reject_non_fqdn_sender,
> 
>     reject_unknown_sender_domain,
> 
>     reject_non_fqdn_recipient,
> 
>     reject_unknown_recipient_domain,
> 
>     permit
> 
> 
> 
> smtpd_sasl_auth_enable = yes
> 
> smtpd_sasl_security_options = noanonymous
> 
> smtpd_sasl_local_domain = $myhostname
> 
> broken_sasl_auth_clients = yes
> 
> smtpd_sasl_type = dovecot
> 
> smtpd_sasl_path = private/auth
> 
> smtpd_sasl_authenticated_header = no
> 
> 
> 
> virtual_mailbox_domains = mydomain1.it mydomain2.it
> 
> virtual_mailbox_base = /var/spool/vhosts
> 
> virtual_mailbox_maps = hash:/etc/postfix/virtual
> 
> virtual_uid_maps = static:506
> 
> virtual_gid_maps = static:506
> 
> virtual_alias_maps = hash:/etc/postfix/virtual-alias
> 
> 
> 
> alias_maps = hash:/etc/aliases
> 
> home_mailbox = /
> 
> header_checks = regexp:/etc/postfix/header_checks
> 
> 
> 
> debug_peer_level = 2
> 
> debugger_command =
> 
>          PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
> 
>          ddd $daemon_directory/$process_name $process_id & sleep 5
> 
> 
> 
> sendmail_path = /usr/sbin/sendmail
> 
> newaliases_path = /usr/bin/newaliases
> 
> mailq_path = /usr/bin/mailq
> 
> setgid_group = postdrop
> 
> html_directory = no
> 
> manpage_directory = /usr/local/man
> 
> sample_directory = /etc/postfix
> 
> readme_directory = no
> 
> 
> 
> shlib_directory = no
> 
> inet_protocols = ipv4
> 
> compatibility_level = 2
> 
> meta_directory = /etc/postfix
> 
> smtputf8_enable=no
> 
> 
> 
> 
> 
> ---
> Questa e-mail è stata controllata per individuare virus con Avast antivirus.
> http://www.avast.com

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 

Reply via email to