при установке exim (dpkg-reconfigure exim4-config), выбирал локальная почта без выхода в интернет, domen nurlan.kz
в thunderbird добавил ящик %h@nurlan.kz, но при нажатий кнопки получить, пишет
Код: Выделить всё
Не удалось найти локальный файл почтового буфера.
Код: Выделить всё
Ошибка отправления почты. Почтовый сервер ответил: restricted characters in address. Проверьте правильность написания адреса %h@nurlan.kz и попробуйте снова.
Код: Выделить всё
adduser --force-badname --Shell /bin/false "guest"
Код: Выделить всё
root@nurlan-P43T-AD3:~# exim -bp
2h 1.4K 1UC8hp-0001HJ-G5 <> *** frozen ***
root@nurlan.kz
88m 1.3K 1UC9HK-0001ni-4j <> *** frozen ***
%h@nurlan.kz
79m 1.3K 1UC9Pt-0001ur-Vn <> *** frozen ***
%h@nurlan.kz
Код: Выделить всё
accept_8bitmime acl_not_smtp = acl_not_smtp_mime = acl_not_smtp_start = acl_smtp_auth = acl_smtp_connect = acl_smtp_data = acl_check_data acl_smtp_dkim = acl_smtp_etrn = acl_smtp_expn = acl_smtp_helo = acl_smtp_mail = acl_check_mail acl_smtp_mailauth = acl_smtp_mime = acl_smtp_notquit = acl_smtp_predata = acl_smtp_quit = acl_smtp_rcpt = acl_check_rcpt acl_smtp_starttls = acl_smtp_vrfy = admin_groups = no_allow_domain_literals no_allow_mx_to_ip no_allow_utf8_domains auth_advertise_hosts = * auto_thaw = 0s av_scanner = sophie:/var/run/sophie bi_command = bounce_message_file = bounce_message_text = bounce_return_body bounce_return_message bounce_return_size_limit = 100K bounce_sender_authentication = callout_domain_negative_expire = 3h callout_domain_positive_expire = 1w callout_negative_expire = 2h callout_positive_expire = 1d callout_random_local_part = $primary_hostname-$tod_epoch-testing check_log_inodes = 0 check_log_space = 0 check_rfc2047_length check_spool_inodes = 0 check_spool_space = 0 daemon_smtp_ports = smtp daemon_startup_retries = 9 daemon_startup_sleep = 30s delay_warning = 1d delay_warning_condition = ${if or {{ !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}} no_deliver_drop_privilege deliver_queue_load_max = delivery_date_remove no_disable_ipv6 dkim_verify_signers = $dkim_signers dns_again_means_nonexist = dns_check_names_pattern = (?i)^(?>(?(1)\.|())[^\W](?>[a-z0-9/_-]*[^\W])?)+(\.?)$ dns_csa_search_limit = 5 dns_csa_use_reverse dns_ipv4_lookup = dns_retrans = 0s dns_retry = 0 dns_use_edns0 = -1 no_drop_cr dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain> envelope_to_remove errors_copy = errors_reply_to = exim_group = Debian-exim exim_path = /usr/sbin/exim4 exim_user = Debian-exim extra_local_interfaces = extract_addresses_remove_arguments finduser_retries = 0 freeze_tell = postmaster gecos_name = $1 gecos_pattern = ^([^,:]*) no_gnutls_compat_mode gnutls_require_kx = gnutls_require_mac = gnutls_require_protocols = header_line_maxsize = 0 header_maxsize = 1048576 headers_charset = UTF-8 helo_accept_junk_hosts = helo_allow_chars = helo_lookup_domains = @ : @[] helo_try_verify_hosts = helo_verify_hosts = hold_domains = host_lookup = * host_lookup_order = bydns:byaddr host_reject_connection = hosts_connection_nolog = hosts_treat_as_local = ignore_bounce_errors_after = 2d ignore_fromline_hosts = no_ignore_fromline_local keep_malformed = 4d ldap_ca_cert_dir = ldap_ca_cert_file = ldap_cert_file = ldap_cert_key = ldap_cipher_suite = ldap_default_servers = ldap_require_cert = no_ldap_start_tls ldap_version = -1 no_local_from_check local_from_prefix = local_from_suffix = local_interfaces = <; 127.0.0.1 ; 192.168.0.100 local_scan_path = local_scan_timeout = 5m local_sender_retain localhost_number = log_file_path = /var/log/exim4/%slog log_selector = +tls_peerdn no_log_timezone lookup_open_max = 25 max_username_length = 0 no_message_body_newlines message_body_visible = 500 message_id_header_domain = message_id_header_text = message_logs message_size_limit = 50M no_move_frozen_messages no_mua_wrapper mysql_servers = never_users = openssl_options = percent_hack_domains = no_perl_at_start perl_startup = pgsql_servers = pid_file_path = /var/run/exim4/exim.pid pipelining_advertise_hosts = * no_preserve_message_logs primary_hostname = nurlan-P43T-AD3 no_print_topbitchars process_log_path = /var/spool/exim4/exim-process.info prod_requires_admin qualify_domain = nurlan.kz qualify_recipient = nurlan.kz queue_domains = queue_list_requires_admin no_queue_only queue_only_file = queue_only_load = queue_only_load_latch queue_only_override no_queue_run_in_order queue_run_max = 5 queue_smtp_domains = receive_timeout = 0s received_header_text = Received: ${if def:sender_rcvhost {from $sender_rcvhost\n\t}{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)\n\t}}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} ${if def:tls_cipher {($tls_cipher)\n\t}}(Exim $version_number)\n\t${if def:sender_address {(envelope-from <$sender_address>)\n\t}}id $message_exim_id${if def:received_for {\n\tfor $received_for}} received_headers_max = 30 recipient_unqualified_hosts = recipients_max = 0 no_recipients_max_reject remote_max_parallel = 2 remote_sort_domains = retry_data_expire = 1w retry_interval_max = 1d return_path_remove rfc1413_hosts = * rfc1413_query_timeout = 5s sender_unqualified_hosts = smtp_accept_keepalive smtp_accept_max = 20 smtp_accept_max_nonmail = 10 smtp_accept_max_nonmail_hosts = * smtp_accept_max_per_connection = 1000 smtp_accept_max_per_host = smtp_accept_queue = 0 smtp_accept_queue_per_connection = 10 smtp_accept_reserve = 0 smtp_active_hostname = smtp_banner = $smtp_active_hostname ESMTP Exim $version_number $tod_full smtp_check_spool_space smtp_connect_backlog = 20 smtp_enforce_sync smtp_etrn_command = smtp_etrn_serialize smtp_load_reserve = smtp_max_synprot_errors = 3 smtp_max_unknown_commands = 3 smtp_ratelimit_hosts = smtp_ratelimit_mail = smtp_ratelimit_rcpt = smtp_receive_timeout = 5m smtp_reserve_hosts = no_smtp_return_error_details spamd_address = 127.0.0.1 783 no_split_spool_directory spool_directory = /var/spool/exim4 sqlite_lock_timeout = 5 no_strict_acl_vars no_strip_excess_angle_brackets no_strip_trailing_dot syslog_duplication syslog_facility = syslog_processname = exim syslog_timestamp system_filter = system_filter_directory_transport = system_filter_file_transport = system_filter_group = system_filter_pipe_transport = system_filter_reply_transport = system_filter_user = tcp_nodelay timeout_frozen_after = 1w timezone = tls_advertise_hosts = tls_certificate = tls_crl = tls_dh_max_bits = 2236 tls_dhparam = tls_on_connect_ports = tls_privatekey = no_tls_remember_esmtp tls_require_ciphers = tls_try_verify_hosts = tls_verify_certificates = tls_verify_hosts = trusted_groups = trusted_users = uucp unknown_login = unknown_username = untrusted_set_sender = * uucp_from_pattern = ^From\s+(\S+)\s+(?:[a-zA-Z]{3},?\s+)?(?:[a-zA-Z]{3}\s+\d?\d|\d?\d\s+[a-zA-Z]{3}\s+\d\d(?:\d\d)?)\s+\d\d?:\d\d? uucp_from_sender = $1 warn_message_file = write_rejectlog
конф dovecot
Код: Выделить всё
# Enable installed protocols #!include_try /usr/share/dovecot/protocols.d/*.protocol # A comma separated list of IPs or hosts where to listen in for connections. # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. # If you want to specify non-default ports or anything more complex, # edit conf.d/master.conf. listen = *, :: # Base directory where to store runtime data. base_dir = %h/%u # Name of this instance. In multi-instance setup doveadm and other commands # can use -i <instance_name> to select which instance is used (an alternative # to -c <config_path>). The instance name is also added to Dovecot processes # in ps output. #instance_name = dovecot # Greeting message for clients. #login_greeting = Dovecot ready. # Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. #login_trusted_networks = # Sepace separated list of login access check sockets (e.g. tcpwrap) #login_access_sockets = # With proxy_maybe=yes if proxy destination matches any of these IPs, don't do # proxying. This isn't necessary normally, but may be useful if the destination # IP is e.g. a load balancer's IP. #auth_proxy_self = # Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). #verbose_proctitle = no # Should all processes be killed when Dovecot master process shuts down. # Setting this to "no" means that Dovecot can be upgraded without # forcing existing client connections to close (although that could also be # a problem if the upgrade is e.g. because of a security fix). #shutdown_clients = yes # If non-zero, run mail commands via this many connections to doveadm server, # instead of running them directly in the same process. #doveadm_worker_count = 0 # UNIX socket or host:port used for connecting to doveadm server #doveadm_socket_path = doveadm-server # Space separated list of environment variables that are preserved on Dovecot # startup and passed down to all of its child processes. You can also give # key=value pairs to always set specific settings. #import_environment = TZ ## ## Dictionary server settings ## # Dictionary can be used to store key=value lists. This is used by several # plugins. The dictionary can be accessed either directly or though a # dictionary server. The following dict block maps dictionary names to URIs # when the server is used. These can then be referenced using URIs in format # "proxy::<name>". dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext } # Most of the actual configuration gets included below. The filenames are # first sorted by their ASCII value and parsed in that order. The 00-prefixes # in filenames are intended to make it easier to understand the ordering. !include conf.d/*.conf # A config file can also tried to be included without giving an error if # it's not found: !include_try local.conf