Tak jsem to jeste jednou uplne cele preinstaloval a uz to konecne funguje
dan: v main.cf mam:
# 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
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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.
myhostname = server1.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server1.example.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
a vse funguje tak jak ma,ale mam nasledujici problem:
ve var/log/mail.log mi neustale skacou tyto hlasky:
Sep 6 10:05:04 nevim postfix/pickup[5540]: 080091001DD: uid=0 from=
Sep 6 10:05:04 nevim postfix/cleanup[6464]: 080091001DD: message-id=<20070906080504.080091001DD@server1.example.com>
Sep 6 10:05:04 nevim postfix/qmgr[5541]: 080091001DD: from=, size=772, nrcpt=1 (queue active)
Sep 6 10:05:04 nevim postfix/smtpd[6454]: connect from localhost[127.0.0.1]
Sep 6 10:05:04 nevim postfix/smtpd[6454]: 1FC211001CD: client=localhost[127.0.0.1]
Sep 6 10:05:04 nevim postfix/cleanup[5543]: 1FC211001CD: message-id=<20070906080504.080091001DD@server1.example.com>
Sep 6 10:05:04 nevim postfix/qmgr[5541]: 1FC211001CD: from=, size=1447, nrcpt=1 (queue active)
Sep 6 10:05:04 nevim postfix/smtpd[6454]: disconnect from localhost[127.0.0.1]
Sep 6 10:05:04 nevim amavis[10748]: (10748-09) Passed CLEAN, -> , Message-ID: <20070906080504.080091001DD@server1.example.com>, mail_id: HrLYAQ+GPOZS, Hits: 3.307, queued_as: 1FC211001CD, 135 ms
Sep 6 10:05:04 nevim postfix/smtp[5556]: 080091001DD: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=2.8/0/0/0.14, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=10748-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1FC211001CD)
Sep 6 10:05:04 nevim postfix/qmgr[5541]: 080091001DD: removed
Sep 6 10:05:04 nevim postfix/local[6468]: 1FC211001CD: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 6 10:05:04 nevim postfix/qmgr[5541]: 1FC211001CD: removed
Sep 6 10:06:03 nevim postfix/pickup[5540]: 06B391001DD: uid=0 from=
Sep 6 10:06:03 nevim postfix/cleanup[6464]: 06B391001DD: message-id=<20070906080603.06B391001DD@server1.example.com>
Sep 6 10:06:03 nevim postfix/qmgr[5541]: 06B391001DD: from=, size=772, nrcpt=1 (queue active)
Sep 6 10:06:08 nevim postfix/smtpd[6454]: connect from localhost[127.0.0.1]
Sep 6 10:06:08 nevim postfix/smtpd[6454]: 5A45B1001CD: client=localhost[127.0.0.1]
Sep 6 10:06:08 nevim postfix/cleanup[5543]: 5A45B1001CD: message-id=<20070906080603.06B391001DD@server1.example.com>
Sep 6 10:06:08 nevim postfix/qmgr[5541]: 5A45B1001CD: from=, size=1416, nrcpt=1 (queue active)
Sep 6 10:06:08 nevim amavis[12449]: (12449-09) Passed CLEAN, -> , Message-ID: <20070906080603.06B391001DD@server1.example.com>, mail_id: uW8e94pxUAgz, Hits: 3.05, queued_as: 5A45B1001CD, 5378 ms
Sep 6 10:06:08 nevim postfix/smtp[5556]: 06B391001DD: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=7.4, delays=2/0/0/5.4, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=12449-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5A45B1001CD)
Sep 6 10:06:08 nevim postfix/qmgr[5541]: 06B391001DD: removed
Sep 6 10:06:08 nevim postfix/smtpd[6454]: disconnect from localhost[127.0.0.1]
Sep 6 10:06:08 nevim postfix/local[6468]: 5A45B1001CD: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 6 10:06:08 nevim postfix/qmgr[5541]: 5A45B1001CD: removed
Sep 6 10:07:03 nevim postfix/pickup[5540]: AE6541001DD: uid=0 from=
Sep 6 10:07:03 nevim postfix/cleanup[6464]: AE6541001DD: message-id=<20070906080703.AE6541001DD@server1.example.com>
Sep 6 10:07:03 nevim postfix/qmgr[5541]: AE6541001DD: from=, size=773, nrcpt=1 (queue active)
Sep 6 10:07:03 nevim postfix/smtpd[6454]: connect from localhost[127.0.0.1]
Sep 6 10:07:03 nevim postfix/smtpd[6454]: D000D1001CD: client=localhost[127.0.0.1]
Sep 6 10:07:03 nevim postfix/cleanup[5543]: D000D1001CD: message-id=<20070906080703.AE6541001DD@server1.example.com>
Sep 6 10:07:03 nevim amavis[10748]: (10748-10) Passed CLEAN, -> , Message-ID: <20070906080703.AE6541001DD@server1.example.com>, mail_id: oltti+h90pMm, Hits: 3.289, queued_as: D000D1001CD, 128 ms
Sep 6 10:07:03 nevim postfix/smtpd[6454]: disconnect from localhost[127.0.0.1]
Sep 6 10:07:03 nevim postfix/smtp[5556]: AE6541001DD: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2.8, delays=2.6/0/0/0.13, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=10748-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D000D1001CD)
Sep 6 10:07:03 nevim postfix/qmgr[5541]: AE6541001DD: removed
Sep 6 10:07:03 nevim postfix/qmgr[5541]: D000D1001CD: from=, size=1448, nrcpt=1 (queue active)
Sep 6 10:07:03 nevim postfix/local[6468]: D000D1001CD: to=, orig_to=, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 6 10:07:03 nevim postfix/qmgr[5541]: D000D1001CD: removed
Sep 6 10:08:03 nevim postfix/pickup[5540]: 962C51001DD: uid=0 from=
Sep 6 10:08:03 nevim postfix/cleanup[6464]: 962C51001DD: message-id=<20070906080803.962C51001DD@server1.example.com>
Sep 6 10:08:03 nevim postfix/qmgr[5541]: 962C51001DD: from=, size=772, nrcpt=1 (queue active)
Sep 6 10:08:03 nevim postfix/smtpd[6454]: connect from localhost[127.0.0.1]
Sep 6 10:08:03 nevim postfix/smtpd[6454]: A9F411001CD: client=localhost[127.0.0.1]
Sep 6 10:08:03 nevim postfix/cleanup[5543]: A9F411001CD: message-id=<20070906080803.962C51001DD@server1.example.com>
Sep 6 10:08:03 nevim postfix/qmgr[5541]: A9F411001CD: from=, size=1416, nrcpt=1 (queue active)
Sep 6 10:08:03 nevim amavis[12449]: (12449-10) Passed CLEAN, -> , Message-ID: <20070906080803.962C51001DD@server1.example.com>, mail_id: xnu9cMx3gpUk, Hits: 3.05, queued_as: A9F411001CD, 127 ms
Sep 6 10:08:03 nevim postfix/smtp[5556]: 962C51001DD: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=1.9/0/0/0.13, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=12449-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A9F411001CD)
Sep 6 10:08:03 nevim postfix/qmgr[5541]: 962C51001DD: removed
Sep 6 10:08:03 nevim postfix/smtpd[6454]: disconnect from localhost[127.0.0.1]
Sep 6 10:08:03 nevim postfix/local[6468]: A9F411001CD: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 6 10:08:03 nevim postfix/qmgr[5541]: A9F411001CD: removed
nevite cim by to mohlo byt? Ve fronte zadne emaily nejsou....
Diky