On Wed, May 04, 2016 at 06:57:24PM -0500, Ultramedia Libertad wrote:
> Hello
>
Hello,
> How is it that someone can send mails if the account does not exist?
>
The short answer is that this is how SMTP works, and this is what allows
several cool features to be usable out of the box.
If you're in a case where you actually want to enforce checking that one
user actually uses a sender address you assigned, you can use `senders':
table foo { gilles = [email protected] }
listen on [...] senders <foo>
which will disallow user gilles from sending mail from anything but the
email address you listed.
In addition you can:
listen on [...] senders <foo> masquerade
to force OpenSMTPD to rewrite From field inside the mail to match the
address.
--
Gilles Chehade
https://www.poolp.org @poolpOrg
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]