omar_22
Зарегистрирован: 18.12.2007 Сообщения: 31
|
Добавлено: Ср Май 27 2009 16:59 Заголовок сообщения: вопрос про postfix |
|
|
доброе всем время суток ...
поставил postfix-2.4.5-20
настроил на виртуальные ящики ...
письма оправляются и складываются в локальные папки ... а пользователи не могут забрать эту почту ... что нужно донастроить?
привожу main.cf
**********************
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
mydomain = example.com
myhostname = mail.example.com
default_privs = nobody
myorigin = example.com
virtual_mailbox_domains = mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
virtual_alias_maps = mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf,
mysql:/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf,
mysql:/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf,
mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = 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
virtual_mailbox_base = /var/spool/virtual
virtual_minimum_uid = 100
virtual_uid_maps = static:1005
virtual_gid_maps = static:1005
smtpd_banner = The Bat Mail Server (v2.0.5)
debug_peer_level = 1
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = maildrop
inet_protocols = ipv4
biff = no
smtp_helo_timeout = 10s
smtp_mail_timeout = 10s
smtp_rcpt_timeout = 10s
program_directory = /usr/lib/postfix
inet_interfaces = all
invalid_hostname_reject_code = 550
non_fqdn_reject_code = 550
nknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
unknown_local_recipient_reject_code = 550
address_verify_negative_expire_time = 3d
address_verify_negative_refresh_time = 20m
strict_rfc821_envelopes = yes
disable_vrfy_command = no
smtpd_helo_required = yes
disable_dns_lookups = no
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_helo_required = yes
alias_maps = hash:/etc/aliases
enable_sasl_authentication = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = example.com
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/ca/ca.key
smtpd_tls_cert_file = /etc/postfix/ca/ca.crt
smtpd_tls_CAfile = /etc/postfix/ca/ca.crt
smtpd_tls_ask_ccert = yes
relay_clientcerts = hash:/etc/postfix/fingerprints
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/random
content_filter = scan:127.0.0.1:10025
receive_override_options = no_address_mappings
header_checks = pcre:/etc/postfix/header_checks
mime_header_checks = pcre:/etc/postfix/mime_header_checks
helo_checks = pcre:/etc/postfix/helo_checks
check_restrictions_mx_access = cidr:/etc/postfix/mx_access
check_restrictions_access = regexp:/etc/postfix/relaying_stoplist
smtpd_etrn_restrictions = permit_sasl_authenticated,
reject
smtpd_recipient_restrictions = hash:/etc/postfix/access_recipient,
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
smtpd_sender_restrictions = hash:/etc/postfix/access_sender,
permit
smtpd_data_restrictions = reject_unauth_pipelining
delay_warning_time = 1h
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_invalid_hostname,
reject_rbl_client list.dsbl.org,
reject_rbl_client dynablock.wirehub.net,
reject_rbl_client sbl-xbl.spamhaus.org
reject_rbl_client blackholes.wirehub.net,
reject_rbl_client dnsbl.njabl.org,
permit_sasl_authenticated,
permit |
|