Re: Corrupt message

2020-02-13 Thread Doug Hardie
> On Feb 13, 2020, at 16:05, Wietse Venema wrote: > > Doug Hardie: >> Thanks. I finally understand it. Interestingly enough, both of >> the corrupt/* files had zero length. > > Did the files have permissions rwx? Then at some point they contained > an email message, before the file system

Re: Corrupt message

2020-02-13 Thread Wietse Venema
Doug Hardie: > Thanks. I finally understand it. Interestingly enough, both of > the corrupt/* files had zero length. Did the files have permissions rwx? Then at some point they contained an email message, before the file system lost the data. Wietse

Re: Corrupt message

2020-02-13 Thread Doug Hardie
On 13 February 2020, at 03:28, Viktor Dukhovni wrote: > > On Wed, Feb 12, 2020 at 07:43:59PM -0800, Doug Hardie wrote: > >> I seem to have a couple corrupt messages. Restarting postfix gives: >> >> service postfix restart >> postfix/postfix-script: stopping the Postfix mail system >>

Re: DISCORD from a user to noreply

2020-02-13 Thread Linux Addict
Well.. I should have checked but assumed the action statements are similar whether its transport or access.. obviously that does not seem to be the case. *Mail is either accepted or rejected (the sender is **told which) *- this is my I wished or made up silent with reject. I don't want sender

Re: DISCORD from a user to noreply

2020-02-13 Thread Viktor Dukhovni
On Thu, Feb 13, 2020 at 03:33:42PM -0500, Linux Addict wrote: > I have no reason to use DISCARD. I also dont want sender to receive > anything back. Is reject silently is an option? > > /^From:.?(no|No)(reply|-reply)@.*/ REJECT:silently First of all, as you've already been told, header checks

Re: DISCORD from a user to noreply

2020-02-13 Thread Linux Addict
I have no reason to use DISCARD. I also dont want sender to receive anything back. Is reject silently is an option? /^From:.?(no|No)(reply|-reply)@.*/ REJECT:silently On Thu, Feb 13, 2020 at 3:12 PM Viktor Dukhovni wrote: > On Thu, Feb 13, 2020 at 03:06:37PM -0500, Linux Addict wrote: > > >

Re: DISCORD from a user to noreply

2020-02-13 Thread Viktor Dukhovni
On Thu, Feb 13, 2020 at 03:06:37PM -0500, Linux Addict wrote: > Sorry.. yeah discard. > > But is it possible to discard noreply email for just > only one sender? I am clear on how to discard when everything sent to > noreply@.*. Nothing built into Postfix will discard just the one recipient in

Re: DISCORD from a user to noreply

2020-02-13 Thread Viktor Dukhovni
On Thu, Feb 13, 2020 at 02:56:32PM -0500, Wietse Venema wrote: > Linux Addict: > > > The smtp recipient/header checks seems to parse line by line so I can > > discord to noreply, but how do add a condition. I looked if.. endif, but I > > am unsure how to get this done with from and to lines in

Re: DISCORD from a user to noreply

2020-02-13 Thread Linux Addict
Sorry.. yeah discard. though there are headers checks already on this system, I can do recipient check for this one. But is it possible to discard noreply email for just only one sender? I am clear on how to discard when everything sent to noreply@.*. check_recipient_access

Re: DISCORD from a user to noreply

2020-02-13 Thread Wietse Venema
Linux Addict: > Folks, I am trying to configure discord when supp...@company.com sends to > noreply@ / no-reply@. Did you mean "discard"? > The smtp recipient/header checks seems to parse line by line so I can > discord to noreply, but how do add a condition. I looked if.. endif, but I > am

DISCORD from a user to noreply

2020-02-13 Thread Linux Addict
Folks, I am trying to configure discord when supp...@company.com sends to noreply@ / no-reply@. The smtp recipient/header checks seems to parse line by line so I can discord to noreply, but how do add a condition. I looked if.. endif, but I am unsure how to get this done with from and to lines

Re: Corrupt message

2020-02-13 Thread Viktor Dukhovni
On Wed, Feb 12, 2020 at 07:43:59PM -0800, Doug Hardie wrote: > I seem to have a couple corrupt messages. Restarting postfix gives: > > service postfix restart > postfix/postfix-script: stopping the Postfix mail system > postfix/postfix-script: warning: damaged message: corrupt/44t83n4KNbz2fjQV