Postfix, Confixx und virtual_alias_maps

User avatar
TDS
Posts: 71
Joined: 2004-03-25 07:53
Location: Hannover

Postfix, Confixx und virtual_alias_maps

Post by TDS »

ich habe ein Confixx-Problem, genauer Postfix. Die User werden korrekt angelegt, als UN*X-User und in der confixx_virtualUsers. Postfix scheint auch korrekt die Aliase zu nutzen. Nur leider nicht wirklich, letzendlich sagt er das der User unbekannt ist und bounced die Mail.

Was ist falsch an dieser Config, bzw. meinem System?

Mein Log:

Code: Select all

Nov 15 19:02:25 start42 postfix/smtpd[6188]: connect from dslb-082-083-200-145.pools.arcor-ip.net[82.83.200.145]
Nov 15 19:02:25 start42 postfix/smtpd[6188]: A3E795E475A: client=dslb-082-083-200-145.pools.arcor-ip.net[82.83.200.145], sasl_method=PLAIN, sasl_username=web1p3
Nov 15 19:02:25 start42 postfix/cleanup[6193]: A3E795E475A: message-id=<1998811356.20071115073847@start42.de>
Nov 15 19:02:25 start42 postfix/qmgr[6186]: A3E795E475A: from=<werbung@start42.de>, size=718, nrcpt=1 (queue active)
Nov 15 19:02:25 start42 postfix/local[6194]: A3E795E475A: to=<web1p1@mail.start42.de>, orig_to=<webmaster@start42.de>, relay=local, delay=0.27, delays=0.26/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "web1p1")
Nov 15 19:02:25 start42 postfix/cleanup[6193]: D3A525E49FC: message-id=<20071115180225.D3A525E49FC@mail.start42.de>
Nov 15 19:02:25 start42 postfix/bounce[6195]: A3E795E475A: sender non-delivery notification: D3A525E49FC
Nov 15 19:02:25 start42 postfix/qmgr[6186]: D3A525E49FC: from=<>, size=2501, nrcpt=1 (queue active)
Nov 15 19:02:25 start42 postfix/qmgr[6186]: A3E795E475A: removed
Nov 15 19:02:25 start42 postfix/local[6194]: D3A525E49FC: to=<web1p3@mail.start42.de>, orig_to=<werbung@start42.de>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "web1p3")
Nov 15 19:02:25 start42 postfix/qmgr[6186]: D3A525E49FC: removed
Nov 15 19:02:26 start42 postfix/smtpd[6188]: disconnect from dslb-082-083-200-145.pools.arcor-ip.net[82.83.200.145]


Meine main.cf:

Code: Select all

debug_peer_level = 10
relayhost =
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
append_dot_mydomain = no

mynetworks = 127.0.0.0/8
mydomain = start42.de
myhostname = mail.$mydomain
myorigin = /etc/mailname
mydestination = $myhostname, localhost.$mydomain, localhost, localhost.localdomain

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/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

broken_sasl_auth_clients = yes

smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes

smtpd_recipient_restrictions = permit_mynetworks,
    reject_unauth_destination,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    reject_unknown_sender_domain,
    reject_rbl_client bl.spamcop.net,
#    check_policy_service inet:127.0.0.1:60000,
    permit
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom


### CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /CONFIXX POSTFIX ENTRY ###
Top

User avatar
TDS
Posts: 71
Joined: 2004-03-25 07:53
Location: Hannover

Re: Postfix, Confixx und virtual_alias_maps

Post by TDS »

Also ich weiß an was es lag :-) Aber ich kann es nicht erklären :-/

Es lag an den Chroot-Werten der master.cf:

vorher:

Code: Select all

local     unix  -       n       -       -       -       local
virtual   unix  -       n       -       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp

nachher:

Code: Select all

local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
Top