Hi *,

I use web-cyradm according to the howto, but i am experiencing some (minor) 
problems.

I'll try to reject as much spam mails as possible, so that they don't run 
through amavis/SA aso-

I have a problem with local aliases (/etc/aliases)
every entry there gets accepted, scanned and after that forwarded to [EMAIL 
PROTECTED] (but the
mailbox does not exists, so i got a bounce)
Even more every mail deignated to <user>@domainonmyserver.tld is always 
accepted, scanned and
bounced if <user> is a user from /etc/passwd and [EMAIL PROTECTED] is not setup.

Example:
i have a local user named jan
i have a domain mydomain.de, mydomain2.de mydomain3.de
I have no Mailbox [EMAIL PROTECTED](1|2)?.de

Mail to [EMAIL PROTECTED] is accepted, scanned and at delivery time bouned with 
a mailbox
[EMAIL PROTECTED] does not exist.

It's kinda postfix error, but as the web-cyradm howto is against postfix 
standards (i believe
web-cyradm ist for virtaul alias domains, but documentation states:
NEVER list a virtual alias domain name as a mydestination domain!)

so i'll ask you here..

i'd like that mail to all mailboxes that do not exist are rejected after 
rcpt-to:
This works fine for alle mails execpt those that are local users.

my main.cf says:
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

myhostname = rootsvr.de
alias_maps = mysql:/etc/postfix/aliases.mysql
# alias_maps = hash:/etc/aliases,mysql:/etc/postfix/aliases.mysql
# alias_database = hash:/etc/aliases,mysql:/etc/postfix/aliases.mysql
alias_database = mysql:/etc/postfix/aliases.mysql

myorigin = /etc/mailname
mydestination = localhost,mysql:/etc/postfix/virtual_domains.mysql
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
message_size_limit=100000000
mailbox_transport=cyrus
#domainalias_by_db_sucker builds a hash table, as users like to have two 
domains and just one
#mailbox for each domains.. workaround for catchall --> otherdomain, as this 
creates lots of bounces

virtual_alias_maps = 
mysql:/etc/postfix/virtual.mysql,hash:/etc/postfix/domainalias_by_db_sucker
sender_canonical_maps = mysql:/etc/postfix/canonical.mysql
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
                reject_non_fqdn_recipient,
                reject_non_fqdn_sender,
                reject_unknown_sender_domain,
                reject_unknown_recipient_domain,
                permit_mynetworks,
                permit_sasl_authenticated,
                reject_unauth_destination,
                reject_unauth_pipelining,
#               check_recipient_access hash:/etc/postfix/rfc_oks,
                reject_multi_recipient_bounce,
                check_helo_access pcre:/etc/postfix/helo_checks,
                reject_non_fqdn_hostname,
                reject_invalid_hostname,
                permit
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes

smtpd_use_tls = yes
# smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/private/pure-ftpd.pem
smtpd_tls_key_file = /etc/ssl/private/pure-ftpd.pem
smtpd_tls_CAfile = /etc/ssl/private/pure-ftpd.pem

content_filter = smtp-amavis:[localhost]:10026

receive_override_options = no_address_mappings







-- 
Wir haben tausendmal festgestellt das es so nicht geht. Das heißt, wir wissen 
jetzt mehr als vorher.

Mit freundlichen Grüßen
Jan Scholten
mailto:[EMAIL PROTECTED]

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to