Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Viktor Dukhovni
> On Sep 15, 2020, at 7:33 PM, Benny Pedersen wrote: > > header_checks is incomming mails > > smtp_header_checks is outgoing mails Not exactly. All mail comes in, and then it goes out. * header_checks is before transport resolution and delivery scheduling * smtp_header_checks is during de

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Benny Pedersen
Fourhundred Thecat skrev den 2020-09-15 20:39: My header checks work fine when I have it in main.cf (globally) header_checks = regexp:/var/local/postfix/maps/header_checks header_checks is incomming mails smtp_header_checks is outgoing mails

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Benny Pedersen
Bill Cole skrev den 2020-09-14 21:50: SPF helps against forged envelope senders. DMARC helps against From: header forgery. half correct dmarc can be spf only you should not say dmarc when its dkim

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Bill Cole
On 15 Sep 2020, at 14:39, Fourhundred Thecat wrote: On 2020-09-15 10:18, Nick wrote: On 2020-09-15 08:53 BST, Fourhundred Thecat wrote: yes, I am accepting authenticated senders on port 465, and port 25 is only for unauthenticated. But how do I ensure that header_checks only apply to port 25

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Nick
On 2020-09-15 19:39 BST, Fourhundred Thecat wrote: > > On 2020-09-15 10:18, Nick wrote: > > > But when I remove it from main.cf and add last line to master.cf: > > smtp inet n - n -- smtpd

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Fourhundred Thecat
> On 2020-09-15 10:18, Nick wrote: On 2020-09-15 08:53 BST, Fourhundred Thecat wrote: yes, I am accepting authenticated senders on port 465, and port 25 is only for unauthenticated. But how do I ensure that header_checks only apply to port 25 ?

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Nick
On 2020-09-15 08:53 BST, Fourhundred Thecat wrote: > yes, I am accepting authenticated senders on port 465, and port 25 is > only for unauthenticated. > > But how do I ensure that header_checks only apply to port 25 ? HTH -- Nick

Re: spam uses my email address as sender in "header from"

2020-09-15 Thread Fourhundred Thecat
> On 2020-09-14 14:54, Dominic Raferd wrote: On 14/09/2020 11:35, Fourhundred Thecat wrote: I am receiving spam, where the "header from" is my actual email (ie, the email that this spam is delivered to) The "envelope from" that I see in postfix logs is some random email. What mechanisms are th

Re: spam uses my email address as sender in "header from"

2020-09-14 Thread Bill Cole
On 14 Sep 2020, at 6:35, Fourhundred Thecat wrote: Hello, I am receiving spam, where the "header from" is my actual email (ie, the email that this spam is delivered to) The "envelope from" that I see in postfix logs is some random email. What mechanisms are there to reject such messages, wh

Re: spam uses my email address as sender in "header from"

2020-09-14 Thread Benny Pedersen
Durga Prasad Malyala skrev den 2020-09-14 13:10: Can I reject messages that have different envelope from and header from? if you do this you will reject your own postings to maillist here Or what would be the best approach ? add adsp to from domain in dns, that way spamasassin can track it

Re: spam uses my email address as sender in "header from"

2020-09-14 Thread Dominic Raferd
On 14/09/2020 11:35, Fourhundred Thecat wrote: I am receiving spam, where the "header from" is my actual email (ie, the email that this spam is delivered to) The "envelope from" that I see in postfix logs is some random email. What mechanisms are there to reject such messages, which use my emai

Re: [External] spam uses my email address as sender in "header from"

2020-09-14 Thread Kevin A. McGrail
On 9/14/2020 6:35 AM, Fourhundred Thecat wrote: > Can I reject messages that have different envelope from and header from? > > Or what would be the best approach ? Are you publishing an SPF record?  Are you using DKIM?  Are you publishing a DMARC policy (even one with policies of none)?  Are you

Re: spam uses my email address as sender in "header from"

2020-09-14 Thread Allen Coates
It has been suggested in the past that if the "From" header does not contain both the email address AND the name of its owner (see my address above) then it may be rejected - or at least flagged as suspect. Allen C On 14/09/2020 11:35, Fourhundred Thecat wrote: > Hello, > > I am receiving spam,

Re: spam uses my email address as sender in "header from"

2020-09-14 Thread Durga Prasad Malyala
Hi You can try implementing dmarc for your domain and use dmarc check while receiving mail. Cheers/DP On Mon, Sep 14, 2020, 16:06 Fourhundred Thecat <400the...@gmx.ch> wrote: > Hello, > > I am receiving spam, where the "header from" is my actual email (ie, the > email that this spam is delivered

spam uses my email address as sender in "header from"

2020-09-14 Thread Fourhundred Thecat
Hello, I am receiving spam, where the "header from" is my actual email (ie, the email that this spam is delivered to) The "envelope from" that I see in postfix logs is some random email. What mechanisms are there to reject such messages, which use my email address as sender ? Can I reject mess