My users are authenticated against their own normal login credentials, can this be subsequently used to select the user for local delivery?
I can hard-code each user using a virtual table as follows but that is unsatisfactory for many users. #----------------------------------------------------------------------------- pki debian cert "/etc/smtpd/smtpd.crt" pki debian key "/etc/smtpd/smtpd.key" table aliases file:/etc/aliases table secrets file:/etc/smtpd/secrets listen on 0.0.0.0 port 587 tls-require pki debian auth action "local" maildir "%{user.directory}/mail/local" alias <aliases> action "expand_only_jd" expand-only virtual { "@" = jd } action "expand_only_tc" expand-only virtual { "@" = tc } match from any for local action "local" match from any auth jd for any action "expand_only_jd" match from any auth tc for any action "expand_only_tc" # preferred option results in 550 Invalid Recipient #action "expand_only" expand-only #match from any auth for any action "expand_only" # second preferred option is not a valid config #action "expand_only" expand-only virtual { "@" = %{user.username} } #match from any auth for any action "expand_only" #----------------------------------------------------------------------------- I am using "expand-only" here but it seems to apply to "mda" too.