Am 12.02.2012 15:18 schrieb Christian Pontesegger:
Kann man postfix dahingehend konfigurieren? Wenn ja, wie geht das?
ja, das geht.
ich habe das mit diversen providern auf meinem notebook so eingerichtet.
die saslpass:
mailbox.tu-berlin.de user1:pass1 mail.cs.tu-berlin.de user2:pass2 mx.example.org user3:pass3
die sender_relayhost:
@tu-berlin.de [mailbox.tu-berlin.de] @mailbox.tu-berlin.de [mailbox.tu-berlin.de] @cs.tu-berlin.de [mail.cs.tu-berlin.de] . [mx.example.org] * DUNNO
und in der main.cf: [...] relayhost = mx.example.org
# SASL Section smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/saslpass smtp_sasl_type = cyrus smtp_sasl_security_options = noanonymous smtp_sasl_mechanism_filter = !gssapi, !external, static:all
smtp_use_tls = yes
#sender based relay host: sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost smtp_sender_dependent_authentication = yes
Grüße, Florian