Hi thank for reply
*smtpd -n/etc/smtpd.conf:18: invalid use of table "foo" as SENDERS parameter* *line 18:listen on $ext port 25 senders <foo>* *line 15:table foo file:/etc/mail/vrecipients* */etc/mail/vrecipients:* *m...@mydomain.org <m...@mydomain.org>my_fri...@mydomain.org <my_fri...@mydomain.org>my_mot...@mydomain.org <my_mot...@mydomain.org>* I think whoever is sending spam is doing from local *ps aux | grep sendmail nginx 28286 0.0 0.0 39316 3328 ? Ss 07:27 0:00 sendmail -S -t -i -fsamantha_perk...@mydomain.org <fsamantha_perk...@mydomain.org> nginx 28287 0.0 0.0 39316 3352 ? Ss 07:27 0:00 sendmail -S -t -i -fmuriel_maldon...@mydomain.org <fmuriel_maldon...@mydomain.org> nginx 28288 0.0 0.0 39316 3248 ? Ss 07:27 0:00 sendmail -S -t -i -fann_ow...@mydomain.org <fann_ow...@mydomain.org>* Very thanks 2016-05-05 2:05 GMT-05:00 Gilles Chehade <gil...@poolp.org>: > 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 = gil...@poolp.org } > > 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 > -- editor de sueƱos