Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nov 19 19:00:43 mail dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=145.eineip, lip=188nocheineip, session=<mSW4Swh71NCR/idK>
- Nov 19 19:01:03 mail dovecot: imap-login: Disconnected (auth failed, 3 attempts in 14 secs): user=<test>, method=PLAIN, rip=145.eineip, lip=188.eineip, session=<omsPTAh71tCR/idK>
- Nov 19 19:01:29 mail dovecot: imap-login: Disconnected (auth failed, 3 attempts in 26 secs): user=<test@domain.eu>, method=PLAIN, rip=145.weitereip, lip=188.nochip, session=<wq7fTAh719CR/idK>
- ###Dovecot service
- ##################
- service imap-login {
- inet_listener imap {
- port = 143
- }
- inet_listener imaps {
- port = 993
- ssl = yes
- }
- }
- # Change this to where your mail root is, this needs to match whatever structure postfix expects....
- # See also: https://wiki.dovecot.org/MailLocation - %d domain, %u full username, %n user part (%u with no domain)
- mail_location = maildir:/var/mail/vmail/%u/
- namespace inbox {
- inbox = yes
- location =
- mailbox Drafts {
- special_use = Drafts
- }
- mailbox Junk {
- special_use = Junk
- }
- mailbox Sent {
- special_use = Sent
- }
- mailbox "Sent Messages" {
- special_use = Sent
- }
- mailbox Trash {
- special_use = Trash
- }
- prefix =
- }
- protocols = "imap pop3"
- # change to 'no' if you don't have ssl cert/keys, and comment out ssl_cert/ssl_key
- ssl = no
- #ssl_cert = </etc/letsencrypt/live/mail.domain.eu/cert.pem
- #ssl_key = </etc/letsencrypt/live/mail.domain.eu/privkey.pem
- # login is for outlook express smtpd auth
- auth_mechanisms = plain login
- # If you're having trouble, try uncommenting these :
- #auth_debug = yes
- #auth_debug_passwords = yes
- userdb {
- driver = sql
- args = /etc/dovecot/dovecot-sql.conf
- }
- passdb {
- driver = sql
- args = /etc/dovecot/dovecot-sql.conf
- }
- # Uncomment this if you want Postfix to be able to do smtpd auth through dovecot
- # At a minimum Postfix probably needs : smtpd_sasl_type = dovecot
- # And additionally: smtpd_sasl_path = private/auth
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- mode = 0660
- user = postfix
- group = postfix
- }
- }
- # Needs to match Postfix virtual_uid_maps
- first_valid_uid = 1001
- # allow plaintext auth (change to 'yes' to block plaintext passwords)
- disable_plaintext_auth = no
- # 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 = $domain 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
- # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
- # fresh installs.
- compatibility_level = 2
- # TLS parameters
- #smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
- #smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
- smtpd_use_tls=no
- #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- #smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- # 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
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- myorigin = /etc/mailname
- mydestination = mail.domain.eu, localhost.domain.eu, localhost
- relayhost =
- mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
- mailbox_size_limit = 0
- recipient_delimiter = +
- inet_interfaces = all
- inet_protocols = all
- #######
- virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
- virtual_alias_maps =
- proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf,
- proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf,
- proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf
- virtual_mailbox_maps =
- proxy:mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf,
- proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf
- # if you let postfix store your mails directly (without using maildrop, dovecot deliver etc.)
- #virtual_mailbox_base = /var/mail/vmail
- # Additional for quota support
- virtual_create_maildirsize = yes
- virtual_mailbox_extended = yes
- #virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix /sql/mysql_virtual_mailbox_limit_maps.cf
- virtual_mailbox_limit_override = yes
- virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
- virtual_overquota_bounce = yes
Add Comment
Please, Sign In to add comment