• Question About Rejecting Email Based On Subject Line

    From NotReal@21:1/5 to All on Fri Mar 26 01:15:30 2021
    I have been receiving a lot of mail that I do not want from a single
    source. I cannot reject it based on IP address or domain because I
    also receive a lot of mail that I do want from the same mail servers.
    I have configured my sendmail.mc file to reject the mail based on the
    Subject line because the Subject line is always the same.

    Unfortunately I do not understand the inner workings of sendmail enough
    to know if it is fully accepting the email and then scanning and
    rejecting it, or if it is still in the process of accepting the email
    when it is rejected. In the former case I would expect it would be
    generating back scatter while in the latter I suspect it would not.
    Can a more knowledgeable person enlighten me? I do not want to
    generate backscatter. Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From News 2021@21:1/5 to All on Fri Mar 26 03:09:56 2021
    On Fri, 26 Mar 2021 01:15:30 +0000, NotReal scribed:

    I have been receiving a lot of mail that I do not want from a single
    source. I cannot reject it based on IP address or domain because I also receive a lot of mail that I do want from the same mail servers. I have configured my sendmail.mc file to reject the mail based on the Subject
    line because the Subject line is always the same.

    Unfortunately I do not understand the inner workings of sendmail enough
    to know if it is fully accepting the email and then scanning and
    rejecting it, or if it is still in the process of accepting the email
    when it is rejected. In the former case I would expect it would be generating back scatter while in the latter I suspect it would not. Can
    a more knowledgeable person enlighten me? I do not want to generate backscatter. Thanks

    AFAIK, sendmail doesn't do this.
    You need some post processor, so my 2c would be to filter it in your mail reader.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NotReal@21:1/5 to All on Fri Mar 26 04:30:56 2021
    News 2021 wrote:

    On Fri, 26 Mar 2021 01:15:30 +0000, NotReal scribed:

    I have been receiving a lot of mail that I do not want from a single source. I cannot reject it based on IP address or domain because I
    also receive a lot of mail that I do want from the same mail
    servers. I have configured my sendmail.mc file to reject the mail
    based on the Subject line because the Subject line is always the
    same.

    Unfortunately I do not understand the inner workings of sendmail
    enough to know if it is fully accepting the email and then scanning
    and rejecting it, or if it is still in the process of accepting the
    email when it is rejected. In the former case I would expect it
    would be generating back scatter while in the latter I suspect it
    would not. Can a more knowledgeable person enlighten me? I do not
    want to generate backscatter. Thanks

    AFAIK, sendmail doesn't do this.
    You need some post processor, so my 2c would be to filter it in your
    mail reader.


    Sendmail can be configured to do this. I already have it working in
    sendmail by making changes in sendmail.cf via rules added to
    sendmail.mc.

    The question is when is the rejection taking place in acceptance
    process and is it creating backscatter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to NotReal on Fri Mar 26 04:36:59 2021
    NotReal wrote:

    The question is when is the rejection taking place in acceptance
    process and is it creating backscatter.

    Failed header checks create an error in response to the final dot
    of the message (that's the only stage in the protocol where it can
    be done), hence no backscatter.

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NotReal@21:1/5 to All on Fri Mar 26 04:42:37 2021
    Claus Aßmann wrote:

    NotReal wrote:

    The question is when is the rejection taking place in acceptance
    process and is it creating backscatter.

    Failed header checks create an error in response to the final dot
    of the message (that's the only stage in the protocol where it can
    be done), hence no backscatter.

    Thank you very much. I was hoping you would respond at some point.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dl8fbh@dl8fbh.ampr.org@21:1/5 to NotReal on Fri Mar 26 09:59:45 2021
    NotReal <NotReal@nospam.com> wrote:

    I have been receiving a lot of mail that I do not want from a single
    source. I cannot reject it based on IP address or domain because I
    also receive a lot of mail that I do want from the same mail servers.
    I have configured my sendmail.mc file to reject the mail based on the
    Subject line because the Subject line is always the same.

    Unfortunately I do not understand the inner workings of sendmail enough
    to know if it is fully accepting the email and then scanning and
    rejecting it, or if it is still in the process of accepting the email
    when it is rejected. In the former case I would expect it would be generating back scatter while in the latter I suspect it would not.
    Can a more knowledgeable person enlighten me? I do not want to
    generate backscatter. Thanks

    I recommend mailfromd for this and much more.

    Mike

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Ciach@21:1/5 to All on Sat Mar 27 13:41:58 2021
    piątek, 26 marca 2021 o 02:15:32 UTC+1 NotReal napisał(a):
    I have been receiving a lot of mail that I do not want from a single
    source. I cannot reject it based on IP address or domain because I
    also receive a lot of mail that I do want from the same mail servers.
    I have configured my sendmail.mc file to reject the mail based on the Subject line because the Subject line is always the same.

    Unfortunately I do not understand the inner workings of sendmail enough
    to know if it is fully accepting the email and then scanning and
    rejecting it, or if it is still in the process of accepting the email
    when it is rejected. In the former case I would expect it would be generating back scatter while in the latter I suspect it would not.
    Can a more knowledgeable person enlighten me? I do not want to
    generate backscatter. Thanks
    If you need to reject emails based on the subject - milterregex is pretty good

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)