Is there a way to change the NOTIFY to NEVER for specific recipients
when sending outgoing email?
Can you be more specific?
You checked the man page for mail submission right?
I was hoping to find a way to set NOTIFY to NEVER for said defined list
of specific recipients so that we don't get bounces. -- Quite
literally, just try to send the message and never notify us if there is
a problem. That's what logs are for. I don't /need/, much less /want/
the DSNs (delay and eventual fail).
As you wrote: a milter can do that, but not a ruleset.
Howver, I would use a filter to get rid of unwanted DSNs when they
come back into the system.
That way you can check the logs and when it happens too often: remove
the address which generates the DSN from the list to stop bothering
the RCPT.
On 4/28/21 10:44 PM, Claus Aßmann wrote:
As you wrote: a milter can do that, but not a ruleset.
Are you aware of any milter that has that capability presently? Or
would I be looking at rolling my own milter using well established methodologies?
Currently I /personally/ am the recipient of the DSNs and I'm just
deleting between 1 and 10 a day. -- I'm now getting tired of them and
Grant Taylor wrote:
On 4/28/21 10:44 PM, Claus A??mann wrote:
As you wrote: a milter can do that, but not a ruleset.
Are you aware of any milter that has that capability presently? Or
No. Check your favorite search engine?
would I be looking at rolling my own milter using well established
methodologies?
Probably.
Currently I /personally/ am the recipient of the DSNs and I'm just
deleting between 1 and 10 a day. -- I'm now getting tired of them and
You don't filter your e-mail?
You might want to look into setting a "mailing list" using the
sendmail features, esp. wrt owner-LIST.
I'd just add a procmail filter rule.
No. Check your favorite search engine?
Probably.
You don't filter your e-mail?
You might want to look into setting a "mailing list" using the sendmail features, esp. wrt owner-LIST.
This has nothing to do with a mailing list.
Have you actually looked at the fine documentation as I suggested?
2.6.3. List owners
If an error occurs on sending to a certain
address, say "x", sendmail will look for an alias
of the form "owner-x" to receive the errors. ....
Then you can simply discard mails to owner-x.
Oh well, I guess you want to write a milter to implement your
NOTIFY=NEVER idea.
I'm not sure which specific document you are referring to. I just did a
case insensitive recursive grep across Sendmail's source and don't see
I ask because the thought of Sendmail automatically falling back to
owner-x when it can't deliver to x is slightly concerning to me. I
would also have expected to have seen various hints of that behavior
over the years. E.g. z is a bad recipient and what is this owner-z
doc/op/op.* -- the most important sendmal document.
Unless you build op.txt grep probably won't find it, you would need
a tool which can find text in ps/pdf files.
Why? It's a well established practice wrt mailing lists.
Moreover, people who can add aliases or users of that form hopefully
know what they are doing.
well, reading the
SENDMAIL(TM)
INSTALLATION AND OPERATION GUIDE
should give "various hints" about sendmail...
doc/op/op.* -- the most important sendmal document....
SENDMAIL(TM)
INSTALLATION AND OPERATION GUIDE
This is the no part. The idea that Sendmail would automatically fall
back to trying owner-<something>@ in the event that <something>@ failed
You misunderstand the behaviour - that's not what the doc says.
My current understanding is that the owner-* trick won't work in my use
case. Which I think is a good thing from a security perspective.
I'll try asking a different question.
Does the owner-* technique work for non-local recipients?
Ok, so just let's forget my suggestion - it's not worth to spend
any more time on this.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 40:23:17 |
Calls: | 6,648 |
Files: | 12,193 |
Messages: | 5,329,414 |