Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
# See /usr/share/postfix/main.cf.dist for a commented, more complete version# Debian specific: Specifying a file name will cause the first# line of that file to be used as the name. The Debian default# is /etc/mailname.#myorigin = /etc/mailnamesmtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)biff = no# appending .domain is the MUA's job.append_dot_mydomain = no# Uncomment the next line to generate "delayed mail" warnings#delay_warning_time = 4hreadme_directory = no# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on# fresh installs.compatibility_level = 3.6# TLS parameterssmtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pemsmtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.keysmtpd_tls_security_level=maysmtp_tls_CApath=/etc/ssl/certssmtp_tls_security_level=maysmtp_tls_session_cache_database = btree:${data_directory}/smtp_scachemyhostname = domain.comalias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesmyorigin = /etc/mailnamemydestination = $myhostname, domain.com, mta.domain.domain, localhost.domain.domain, localhostrelayhost =mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128mailbox_size_limit = 0recipient_delimiter = +inet_interfaces = allinet_protocols = allvirtual_mailbox_base = /mnt/Mail/Postfixvirtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cfvirtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_domains_maps.cfvirtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cfvirtual_minimum_uid = 1024virtual_uid_maps = static:1024virtual_gid_maps = static:1024virtual_transport = dovecotdovecot_destination_recipient_limit = 1smtpd_sasl_auth_enable = yessmtpd_sasl_exceptions_networks = $mynetworkssmtpd_sasl_security_options = noanonymousbroken_sasl_auth_clients = yessmtpd_sasl_type = dovecotsmtpd_sasl_path = private/authsmtp_use_tls = yessmtpd_use_tls = yessmtpd_tls_auth_only = yessmtpd_helo_required = yessmtpd_client_restrictions =permit_mynetworkspermit_sasl_authenticatedreject_unauth_pipeliningpermitsmtpd_helo_restrictions =permitsmtpd_sender_restrictions =permit_mynetworkspermit_sasl_authenticatedreject_non_fqdn_senderreject_unknown_sender_domainpermitsmtpd_relay_restrictions =permit_mynetworkspermit_sasl_authenticateddefer_unauth_destinationsmtpd_recipient_restrictions =permit_mynetworkspermit_sasl_authenticatedreject_non_fqdn_recipientreject_unauth_destinationreject_unknown_recipient_domainreject_unverified_recipientpermitsmtpd_data_restrictions =permitsmtpd_end_of_data_restrictions =permit
## Postfix master process configuration file. For details on the format# of the file, see the master(5) manual page (command: "man 5 master" or# on-line: http://www.postfix.org/master.5.html).## Do not forget to execute "postfix reload" after editing this file.## ================================================== ========================# service type private unpriv chroot wakeup maxproc command + args# (yes) (yes) (no) (never) (100)# ================================================== ========================smtp inet n - y - - smtpd#smtp inet n - y - 1 postscreen#smtpd pass - - y - - smtpd#dnsblog unix - - y - 0 dnsblog#tlsproxy unix - - y - 0 tlsproxy# Choose one: enable submission for loopback clients only, or for any client.#127.0.0.1:submission inet n - y - - smtpd#submission inet n - y - - smtpd# -o syslog_name=postfix/submission# -o smtpd_tls_security_level=encrypt# -o smtpd_sasl_auth_enable=yes# -o smtpd_tls_auth_only=yes# -o smtpd_reject_unlisted_recipient=no# -o smtpd_client_restrictions=$mua_client_restrictions# -o smtpd_helo_restrictions=$mua_helo_restrictions# -o smtpd_sender_restrictions=$mua_sender_restrictions# -o smtpd_recipient_restrictions=# -o smtpd_relay_restrictions=permit_sasl_authenticated ,reject# -o milter_macro_daemon_name=ORIGINATING# Choose one: enable smtps for loopback clients only, or for any client.#127.0.0.1:smtps inet n - y - - smtpd#smtps inet n - y - - smtpd# -o syslog_name=postfix/smtps# -o smtpd_tls_wrappermode=yes# -o smtpd_sasl_auth_enable=yes# -o smtpd_reject_unlisted_recipient=no# -o smtpd_client_restrictions=$mua_client_restrictions# -o smtpd_helo_restrictions=$mua_helo_restrictions# -o smtpd_sender_restrictions=$mua_sender_restrictions# -o smtpd_recipient_restrictions=# -o smtpd_relay_restrictions=permit_sasl_authenticated ,reject# -o milter_macro_daemon_name=ORIGINATING#628 inet n - y - - qmqpdpickup unix n - y 60 1 pickupcleanup unix n - y - 0 cleanupqmgr unix n - n 300 1 qmgr#qmgr unix n - n 300 1 oqmgrtlsmgr unix - - y 1000? 1 tlsmgrrewrite unix - - y - - trivial-rewritebounce unix - - y - 0 bouncedefer unix - - y - 0 bouncetrace unix - - y - 0 bounceverify unix - - y - 1 verifyflush unix n - y 1000? 0 flushproxymap unix - - n - - proxymapproxywrite unix - - n - 1 proxymapsmtp unix - - y - - smtprelay unix - - y - - smtp-o syslog_name=postfix/$service_name# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5showq unix n - y - - showqerror unix - - y - - errorretry unix - - y - - errordiscard unix - - y - - discardlocal unix - n n - - localvirtual unix - n n - - virtuallmtp unix - - y - - lmtpanvil unix - - y - 1 anvilscache unix - - y - 1 scachepostlog unix-dgram n - n - 1 postlogd## ================================================== ==================# Interfaces to non-Postfix software. Be sure to examine the manual# pages of the non-Postfix software to find out what options it wants.## Many of the following services use the Postfix pipe(8) delivery# agent. See the pipe(8) man page for information about ${recipient}# and other message envelope options.# ================================================== ==================## maildrop. See the Postfix MAILDROP_README file for details.# Also specify in main.cf: maildrop_destination_recipient_limit=1#maildrop unix - n n - - pipeflags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient}## ================================================== ==================## Recent Cyrus versions can use the existing "lmtp" master.cf entry.## Specify in cyrus.conf:# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4## Specify in main.cf one or more of the following:# mailbox_transport = lmtp:inet:localhost# virtual_transport = lmtp:inet:localhost## ================================================== ==================## Cyrus 2.1.5 (Amos Gouaux)# Also specify in main.cf: cyrus_destination_recipient_limit=1##cyrus unix - n n - - pipe# flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}## ================================================== ==================# Old example of delivery via Cyrus.##old-cyrus unix - n n - - pipe# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}## ================================================== ==================## See the Postfix UUCP_README file for configuration details.#uucp unix - n n - - pipeflags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)## Other external delivery methods.#ifmail unix - n n - - pipeflags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)bsmtp unix - n n - - pipeflags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipientscalemail-backend unix - n n - 2 pipeflags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}mailman unix - n n - - pipeflags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}submission inet n - n - - smtpd-o smtpd_tls_security_level=may-o smtpd_sasl_auth_enable=yes-o smtpd_sasl_type=dovecot-o smtpd_sasl_path=/var/spool/postfix/private/auth-o smtpd_sasl_security_options=noanonymous-o smtpd_sasl_local_domain=$myhostnamesmtps inet n - n - - smtpd-o syslog_name=postfix/smtps-o smtpd_tls_wrappermode=yes-o smtpd_sasl_auth_enable=yes-o smtpd_client_restrictions=permit_sasl_authenticate d,rejectdovecot unix - n n - - pipeflags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
!include auth-sql.conf.ext
driver = mysqlconnect = host=192.#.#.# dbname=postfixdb user=postfixuser password=postfixpassdefault_pass_scheme = MD5-CRYPTpassword_query = SELECT password FROM mailbox WHERE username = '%u'user_query = SELECT maildir, 1024 AS uid, 1024 AS gid FROM mailbox WHERE username = '%u'user_query = SELECT CONCAT('/mnt/Mail/Postfix/',LCASE(`domain`),'/',LCASE(`maildir`)), 1024 AS uid, 1024 AS gid FROM mailbox WHERE username = '%u'
Dec 12 23:25:33 mta dovecot: imap-login: Disconnected: Connection closed (auth failed, 2 attempts in 8 secs): user=<user@domain.com>, method=PLAIN, rip=192.168.100.101, lip=192.168.100.103, TLS, session=<vcU8JKjv/8PAqGRl>
Я так понимаю, что была попытка настроить доступ через базу данных пользователей в MySQL, а в самой базе пользователь то есть? MySQL работает нормально?Без MySQL, с авторизацие по Linux пользовалею пробовал настроить, работает?
Страница сгенерирована за 0.042 секунд. Запросов: 25.