|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Angel Vicente (angel.vicente
knipping.es)
Date: Wed Nov 28 2007 - 07:04:54 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all....
I´m very newbie at postfix (one week using it), and I had a problem: I have
a smarthost for deliver all external mails (say smtp.smart.example) and a
transport for mails to
vpn.example: smtp.vpn.example (names are not the
reals); I need no authenticate with smtp.vpn.example (data are encrypted by
a hardware), but the smarthost needs authentication in per-sender basis.
Solution I applied:
I made a new entry in master.cf, copy of relay entry but with option -o
smtp_sasl_auth_enable=no and name relayk
I made a entry in main.cf default_transport=smtp:smtp.vpn.example
I add smtp_sasl_auth_enable=yes and smtp_sender_dependent_authentication=yes
and a file with users and passwords for each sender
I add vpn.example to relay_domains
I made a transport table with a record: vpn.example relayk:smtp.vpn.example.
So when I send to vpn.example, postfix use relayk with no authentication, in
other case use smtp with options in main.cf, it´s working for me, but I have
a question:
Is it possible to setup this scenario (one transport with authentication,
and other without it) only in main.cf, not editing master.cf?
Regards and thanks in advanced
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]