config: postfix 2.1, cyrus 2.1, mysql 4
A postfix virtual tábláját használjuk, hogy egy user több e-mail címről is kaphasson levelet.
A cyrus-t úgy állítottam be, hogy a user over quotán van, akkor ne fogadjon el több levelet,
küldjön hibaüzenetet.
A postfix hibaüzenetében viszont NEM az eredeti címzett szerepel, hanem a virtual tábla
szerint módosított localuser@localdomain .
Milyen beállítás hiányzik még?
Köszi,
Dolphy
main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
smtpd_client_restrictions =
# reject_invalid_hostname,
# reject_non_fqdn_sender,
# reject_non_fqdn_recipient,
# reject_unknown_sender_domain,
# reject_unknown_recipient_domain,
# reject_unauth_pipelining,
permit_mynetworks,
# reject_unauth_destination,
reject_rbl_client zombie.dnsbl.sorbs.net,
reject_rbl_client relays.ordb.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining
myhostname = bla-bla-bla
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.localdomain, localhost.localdomain, localhost, $myhostname, mysql:/etc/postfix/mysql-mydestination.cf
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_transport = cyrus
virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql-virtual.cf
#sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
message_size_limit = 20000000
content_filter = smtp:127.0.0.1:10026
body_checks = pcre:/etc/postfix/body_checks
header_checks = pcre:/etc/postfix/header_checks