natan maciej milaszewski: > On 23.07.2020 16:41, Wietse Venema wrote: > > natan maciej milaszewski: > >> Hi > >> I am looking for a solution or some faq to running 2 factor > >> authentication for Postfix3.x > > To SEND mail? > > > > To RECEIVE mail? > Only to send mail
This should be possible by setting up a socket_map or tcp_table server that recives smtp_sasl_password_maps queries that specify a destination, and that answers with a SASL username:password. That server can then implement N-factor authentication. http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps http://www.postfix.org/socketmap_table.5.html http://www.postfix.org/tcp_table.5.html Wietse