[Postfixbuch-users] Scalix Mail Server - sendmail durch postfix ersetzen

Thomas Antony thomas at antony.eu
Sa Sep 8 01:52:57 CEST 2007


> Auf den ersten Blick scheint daran nichts falsch zu sein. Das einzige, was
> ich mir vorstellen kann, ist, dass der Transport vielleicht nicht greift,
> weil firma.com nicht wirklich auftaucht. Zeige mal die Logzeilen, wo eine
> Mail durchläuft. Ersetze bitte präzise 1:1 die Namen, insbesondere die
> Domains.
> Hast du vielleicht in Umschreibungen stehen in virtual, generic?
> 
> 
> Ich nehme an, dass du in der Transporttabelle auch tatsächlich entweder
> pro User einen Transport stehen hast oder den Transport pro domain
> festgelegt hast?
> 
> Was ergibt ein
> "postmap -q firma.com proxy:ldap:/etc/postfix/transport_scalix.cf"
> 

Ich habe jetzt einmal die transport_map zum testen simpel gestaltet und 
nur folgendes gesetzt:
firma.com	smtp:[127.0.0.1]:10028
.firma.com	smtp:[127.0.0.1]:10028

Jetzt habe ich allerdings damit einen Loop geschaffen?!?!?

...
...
Sep  8 01:29:14 mail postfix/smtpd[15220]: connect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:14 mail postfix/smtpd[15220]: 232581EF80E4: 
client=localhost.localdomain[127.0.0.1]
Sep  8 01:29:14 mail postfix/cleanup[15239]: 232581EF80E4: 
message-id=<7BA5AFA1DF36C746906313C52B5F9EEF05C303 at maill.sdf.at>
Sep  8 01:29:14 mail postfix/qmgr[15218]: 232581EF80E4: 
from=<t.antony at sdf.at>, size=9787, nrcpt=1 (queue active)
Sep  8 01:29:14 mail postfix/smtpd[15220]: disconnect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:14 mail postfix/smtpd[15220]: connect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:14 mail postfix/smtpd[15220]: 5C8211EF8103: 
client=localhost.localdomain[127.0.0.1]
Sep  8 01:29:14 mail postfix/smtpd[15220]: disconnect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:15 mail postfix/smtp[15297]: 232581EF80E4: 
to=<ta at firma.com>, relay=127.0.0.1[127.0.0.1]:10028, delay=1.6, 
delays=0.23/0/0/1.3, dsn=2.0.0, status=sent (250 Ok)
Sep  8 01:29:15 mail postfix/qmgr[15218]: 232581EF80E4: removed
Sep  8 01:29:15 mail postfix/smtpd[15220]: connect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:15 mail postfix/smtpd[15220]: CA18D1EF80E4: 
client=localhost.localdomain[127.0.0.1]
Sep  8 01:29:15 mail postfix/cleanup[15239]: CA18D1EF80E4: 
message-id=<7BA5AFA1DF36C746906313C52B5F9EEF05C303 at mail.sdf.at>
Sep  8 01:29:16 mail postfix/qmgr[15218]: CA18D1EF80E4: 
from=<t.antony at sdf.at>, size=10175, nrcpt=1 (queue active)
Sep  8 01:29:16 mail postfix/smtpd[15220]: disconnect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:16 mail postfix/smtpd[15220]: connect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:16 mail postfix/smtpd[15220]: 0D6D81EF8103: 
client=localhost.localdomain[127.0.0.1]
Sep  8 01:29:16 mail postfix/smtpd[15220]: disconnect from 
localhost.localdomain[127.0.0.1]
Sep  8 01:29:17 mail postfix/smtp[15240]: CA18D1EF80E4: 
to=<ta at firma.com>, relay=127.0.0.1[127.0.0.1]:10028, delay=1.4, 
delays=0.23/0/0/1.2, dsn=2.0.0, status=sent (250 Ok)
...
...


Es sind keine Adress Umschreibungen definiert.
Hier nochmal die Config.



[root at mail ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 3d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
delay_warning_time = 4h
disable_vrfy_command = yes
fast_flush_domains = $relay_domains
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_queue_lifetime = 3d
message_size_limit = 20480000
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = firma.com
myhostname = mail.firma.com
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 192.168.255.4/32, 
192.168.255.3/32
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = +
relay_domains = $mydestination  firma.com
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks 
permit_sasl_authenticated       reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550



Grüße,
Thomas



Mehr Informationen über die Mailingliste Postfixbuch-users