Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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/mailname
- smtpd_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 = 4h
- readme_directory = no
- # TLS parameters
- smtp_use_tls = yes
- smtp_tls_security_level = may
- smtp_tls_protocols=!SSLv2,!SSLv3
- smtp_tls_mandatory_protocols=!SSLv2,!SSLv3
- smtp_tls_note_starttls_offer = yes
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_use_tls = yes
- smtpd_tls_security_level = may
- smtpd_tls_protocols=!SSLv2,!SSLv3
- smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3
- smtpd_tls_auth_only = no
- smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
- smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
- smtpd_tls_key_file = /etc/ssl/private/smtpd.key
- smtpd_tls_received_header = yes
- smtpd_tls_session_cache_timeout = 3600s
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_tls_loglevel = 1
- tls_random_source = dev:/dev/urandom
- # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
- # information on enabling SSL in the smtp client.
- smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
- myhostname = mail.team-aero.org
- #mydestination = $myhostname, ubuntu-server-x64, localhost.localdomain, localhost, mail.team-aero.org
- mydestination =
- relayhost =
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- #myorigin = /etc/mailname
- myorigin = $myhostname
- #mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
- mynetworks = all
- mailbox_size_limit = 0
- recipient_delimiter = +
- inet_interfaces = all
- inet_protocols = all
- home_mailbox = Maildir/
- mailbox_command =
- smtpd_sasl_local_domain =
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_security_options = noanonymous
- broken_sasl_auth_clients = yes
- smtpd_sasl_path = smtpd
- smtpd_sasl_type = cyrus
- smtpd_sasl_authenticated_header = yes
- smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated,reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit
- # check_policy_service init:127.0.0.1:10023
- # modify the existing smtpd_sender_restrictions
- smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
- # Virtual Mailbox Domain Settings
- virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
- virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
- virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
- virtual_mailbox_limit = 51200000
- virtual_minimum_uid = 5000
- virtual_uid_maps = static:5000
- virtual_gid_maps = static:5000
- virtual_mailbox_base = /home/vmail
- virtual_transport = virtual
- # Additional for quota support
- virtual_create_maildirsize = yes
- virtual_mailbox_extended = yes
- virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
- virtual_mailbox_limit_override = yes
- virtual_maildir_limit_message = Sorry, the your maildir has overdrawn your diskspace quota, please free up some of spaces of your mailbox try again.
- virtual_overquota_bounce = yes
- pwcheck_method: saslauthd
- auxprop_plugin: sql
- mech_list: plain login
- sql_engine: mysql
- sql_hostnames: 127.0.0.1
- sql_user: ommited
- sql_passwd: ommited
- sql_database: postfix
- sql_select: select password from mailbox where username='%u@%r' and active = 1
- START=yes
- DESC="SASL Authentication Daemon"
- NAME="saslauthd"
- MECHANISMS="pam"
- MECH_OPTIONS=""
- THREADS=5
- OPTIONS="-c -r -m /var/spool/postfix/var/run/saslauthd"
- auth required pam_mysql.so user=ommited passwd=ommited host=127.0.0.1 db=postfix table=mailbox usercolumn=email passwdcolumn=password crypt=2
- account sufficient pam_mysql.so user=ommited passwd=ommited host=127.0.0.1 db=postfix table=mailbox usercolumn=email passwdcolumn=password crypt=2
- May 1 19:11:33 ubuntu-server-x64 imapd: Connection, ip=[::ffff:## Heading ##1.2.3.4]
- May 1 19:11:33 ubuntu-server-x64 authdaemond: received auth request, service=imap, authtype=login
- May 1 19:11:33 ubuntu-server-x64 authdaemond: authmysql: trying this module
- May 1 19:11:33 ubuntu-server-x64 authdaemond: SQL query: SELECT username, password, "", '5000', '5000', '/home/vmail', maildir, concat(quota,'S'), name, "" FROM mailbox WHERE username = 'admin@videodocker.com'
- May 1 19:11:33 ubuntu-server-x64 authdaemond: password matches successfully
- May 1 19:11:33 ubuntu-server-x64 authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@videodocker.com, fullname=Administrator, maildir=admin@videodocker.com/, quota=0S, options=<null>
- May 1 19:11:33 ubuntu-server-x64 authdaemond: authmysql: clearpasswd=<null>, passwd=OMMITED
- May 1 19:11:33 ubuntu-server-x64 authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=admin@videodocker.com, fullname=Administrator, maildir=admin@videodocker.com/, quota=0S, options=<null>
- May 1 19:11:33 ubuntu-server-x64 authdaemond: Authenticated: clearpasswd=OMMITED, passwd=OMMITED
- May 1 19:11:33 ubuntu-server-x64 imapd: LOGIN, user=admin@videodocker.com, ip=[::ffff:1.2.3.4], port=[55948], protocol=IMAP
- May 1 19:11:33 ubuntu-server-x64 imapd: LOGOUT, user=admin@videodocker.com, ip=[::ffff:1.2.3.4], headers=0, body=0, rcvd=214, sent=1022, time=0, starttls=1
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: connect from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: lost connection after UNKNOWN from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: disconnect from ip4da1aab0.direct-adsl.nl[1.2.3.4] unknown=0/2 commands=0/2
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: connect from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: lost connection after UNKNOWN from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:11:35 ubuntu-server-x64 postfix/smtpd[1991]: disconnect from ip4da1aab0.direct-adsl.nl[1.2.3.4] unknown=0/1 commands=0/1
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: connect from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: Anonymous TLS connection established from ip4da1aab0.direct-adsl.nl[1.2.3.4]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: SASL authentication failure: Password verification failed
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL PLAIN authentication failed: authentication failure
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL LOGIN authentication failed: authentication failure
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: SASL authentication failure: Password verification failed
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL PLAIN authentication failed: authentication failure
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL LOGIN authentication failed: authentication failure
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: lost connection after AUTH from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: disconnect from ip4da1aab0.direct-adsl.nl[1.2.3.4] ehlo=2 starttls=1 auth=0/4 commands=3/7
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: connect from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:12:17 ubuntu-server-x64 postfix/smtpd[1991]: Anonymous TLS connection established from ip4da1aab0.direct-adsl.nl[1.2.3.4]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: SASL authentication failure: Password verification failed
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL PLAIN authentication failed: authentication failure
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL LOGIN authentication failed: authentication failure
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: SASL authentication failure: Password verification failed
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL PLAIN authentication failed: authentication failure
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: ip4da1aab0.direct-adsl.nl[1.2.3.4]: SASL LOGIN authentication failed: authentication failure
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: lost connection after AUTH from ip4da1aab0.direct-adsl.nl[1.2.3.4]
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: disconnect from ip4da1aab0.direct-adsl.nl[1.2.3.4] ehlo=2 starttls=1 auth=0/4 commands=3/7
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: hostname vps863.hidehost.net does not resolve to address 91.200.12.140: Name or service not known
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: connect from unknown[91.200.12.140]
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: warning: unknown[91.200.12.140]: SASL LOGIN authentication failed: authentication failure
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: lost connection after AUTH from unknown[91.200.12.140]
- May 1 19:12:18 ubuntu-server-x64 postfix/smtpd[1991]: disconnect from unknown[91.200.12.140] ehlo=1 auth=0/1 commands=1/2
Add Comment
Please, Sign In to add comment