уже который день пытаюсь поднять почтовый сервер на убунте сервер 9.04
поставил постфикс, довекот, прописал настройки, всё запускается без проблем, соединяюсь по telnet, отправляю письмо, но в логах и в папкеп пользователей писемн нет (права выставил, в конфигах прописано)
cat dovecot.log
dovecot: 2009-12-18 02:23:31 Info: dovecot v1.1.11 starting up (core dumps disabled)
dovecot: 2009-12-18 02:23:32 Info: auth-worker(default): mysql: Connected to 127.0.0.1 (mailserver)
cat mail.log
Dec 18 02:23:23 example postfix/master[7760]: daemon started -- version 2.5.5, configuration /etc/postfix
Dec 18 02:23:56 example postfix/smtpd[7823]: connect from example.com[127.0.0.1]
Dec 18 02:24:18 example postfix/smtpd[7823]: D5E3C1482F2: client=example.com[127.0.0.1]
Dec 18 02:24:25 example postfix/cleanup[7827]: D5E3C1482F2: message-id=<20091217202418.D5E3C1482F2@example.com>
Dec 18 02:24:25 example postfix/qmgr[7763]: D5E3C1482F2: from=<dmitry@example.com>, size=363, nrcpt=1 (queue active)
Dec 18 02:24:25 example deliver(dmitry@example.com): Fatal: postmaster_address setting not given
Dec 18 02:24:25 example postfix/pipe[7828]: D5E3C1482F2: to=<dmitry@example.com>, relay=dovecot, delay=16, delays=16/0.01/0/0.03, dsn=5.3.5, status=bounced (local configuration error)
Dec 18 02:24:25 example postfix/cleanup[7827]: CB4321482F9: message-id=<20091217202425.CB4321482F9@example.com>
Dec 18 02:24:25 example postfix/qmgr[7763]: CB4321482F9: from=<>, size=2058, nrcpt=1 (queue active)
Dec 18 02:24:25 example deliver(dmitry@example.com): Fatal: postmaster_address setting not given
Dec 18 02:24:25 example postfix/bounce[7830]: D5E3C1482F2: sender non-delivery notification: CB4321482F9
Dec 18 02:24:25 example postfix/qmgr[7763]: D5E3C1482F2: removed
Dec 18 02:24:25 example postfix/pipe[7828]: CB4321482F9: to=<dmitry@example.com>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=5.3.5, status=bounced (local configuration error)
Dec 18 02:24:25 example postfix/qmgr[7763]: CB4321482F9: removed
Dec 18 02:24:27 example postfix/smtpd[7823]: disconnect from example.com[127.0.0.1]
вот мой postconf
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot-postfix.conf -n -m "${EXTENSION}"
mailbox_size_limit = 0
mydestination = localhost
myhostname = example.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_tls_mandatory_ciphers = medium, high
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
вот ещё данные
cat hostname
example.com
cat hosts
127.0.0.1 example.com localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
и с бинда (он стартует без грехов):
cat example.com
$ORIGIN example.com.
$TTL 86400 ; 1 day
@ IN SOA localhost. root.localhost. (
2008041501 ; serial
10800 ; refresh (3 hours)
900 ; retry (15 minutes)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
@ IN NS localhost.
@ IN A 192.168.0.1
подскажите куда копать, что с моим постфикосом не то...

Пользователь решил продолжить мысль 17 Декабря 2009, 12:14:32:
и ещё...
тут
mydestination = localhost
вместо
mydestination = example.com, localhost.com, , localhost
так сделал, потому что до этого выводилось в логах
Dec 18 03:33:59 example postfix/smtpd[3018]: connect from example.com[127.0.0.1]
Dec 18 03:34:15 example postfix/trivial-rewrite[3021]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
Dec 18 03:34:23 example postfix/smtpd[3018]: 967C71482F2: client=example.com[127.0.0.1]
Dec 18 03:34:28 example postfix/cleanup[3026]: 967C71482F2: message-id=<20091217213423.967C71482F2@example.com>
Dec 18 03:34:28 example postfix/qmgr[2965]: 967C71482F2: from=<dmitry@example.com>, size=361, nrcpt=1 (queue active)
Dec 18 03:34:28 example postfix/trivial-rewrite[3021]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
Dec 18 03:34:28 example postfix/local[3028]: 967C71482F2: to=<dmitry@example.com>, relay=local, delay=13, delays=13/0.04/0/0.04, dsn=5.1.1, status=bounced (unknown user: "dmitry")
Dec 18 03:34:28 example postfix/cleanup[3026]: D796A1482F9: message-id=<20091217213428.D796A1482F9@example.com>
Dec 18 03:34:28 example postfix/qmgr[2965]: D796A1482F9: from=<>, size=2053, nrcpt=1 (queue active)
Dec 18 03:34:28 example postfix/trivial-rewrite[3021]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
Dec 18 03:34:28 example postfix/bounce[3029]: 967C71482F2: sender non-delivery notification: D796A1482F9
Dec 18 03:34:28 example postfix/qmgr[2965]: 967C71482F2: removed
Dec 18 03:34:28 example postfix/local[3028]: D796A1482F9: to=<dmitry@example.com>, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "dmitry")
Dec 18 03:34:28 example postfix/qmgr[2965]: D796A1482F9: removed
Dec 18 03:34:30 example postfix/smtpd[3018]: disconnect from example.com[127.0.0.1]
слышал, что в mydestination не должно быть имени хоста, но не уверен правда ли это...