1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-22 15:27:02 +00:00
Files
go-chasquid-smtp/test/t-02-exim/msmtprc
Alberto Bertogli e2fdcb3705 Add checks to prevent unauthorized relaying and impersonation
This patch adds checks that verify:

 - The envelope from must match the authenticated user. This prevents
   impersonation at the envelope level (while still allowing bounces, of
   course).
 - If the destination is remote, then the user must have completed
   authentication. This prevents unauthorized relaying.

The patch ends up adjusting quite a few tests, as they were not written
considering these restrictions so they have to be changed accordingly.
2016-10-10 00:50:56 +01:00

15 lines
186 B
Plaintext

account default
host srv-chasquid
port 1587
tls on
tls_trust_file config/domains/srv-chasquid/cert.pem
from user@srv-chasquid
auth on
user user@srv-chasquid
password secretpassword