3 msgRe: Virtual domain aliases
4 msgaddress verify vs. virtual_alias_maps
20 msgPostfix/ClamAV Config Error
4 msgsmtp /dev/poll problem
6 msgAddresses filtering for only one supported domain
14 msgGreylist question

One transport with AUTH and other transport wit...
\ Angel Vicente (28 Nov 2007)

7 msgIs this expected reject behavior for foreign IP...
3 msgrelay_domains and virtual_mailbox_domains not w...
2 msgNeed help debugging a possible content filter p...
11 msgspam emails with | in front of the email addresses
9 msgunexpected domain rewrite (by postfix?)
5 msgError receiving email
20 msgPostfix 2.5-20071111, smtp.gmail.com, bouncing ...
1 msgBounce notification configure
45 msgRe: Recipient validation
2 msgUse of MySQL for lookups
8 msgproposal: change behavior with respect to recip...
11 msgOT: Any bad DKIM experiences?
8 msghashed spool directories
Subject:One transport with AUTH and other transport without AUTH
Group:Postfix-users
From:Angel Vicente
Date:28 Nov 2007


 

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



© 2004-2008 readlist.com