How would I teach the smarthost to accept bounces to <[email protected]>?
How would I teach the smarthost to accept bounces to <[email protected]>?
Hauke Fath wrote:
How would I teach the smarthost to accept bounces to <[email protected]>?
see cf/README: class {w} or virtusertable.
Am 30.11.2022 um 10:11:39 Uhr schrieb Hauke Fath:
How would I teach the smarthost to accept bounces to <[email protected]>?
Which behavior do you exactly want?
Should it just accept them for relaying or should it accept them and
deliver them to a special place?
I figured it wouldn't be easy. ;)
Can I use wildcards for the hostname (as in 'root@*.dom.ain') with virtusertable?
Can I use wildcards for the hostname (as in 'root@*.dom.ain') with virtusertable?
Did you check cf/README?
virtuser_entire_domain
If the virtusertable is enabled and VIRTUSER_DOMAIN or
VIRTUSER_DOMAIN_FILE is used, this feature will cause
addresses to be searched in the map if their domain
parts are subdomains of elements in class {VirtHost}.
This means if 'dom.ain' is listed in class {VirtHost}, say as read in
from VIRTUSER_DOMAIN_FILE, then mails to addresses @foo.dom.ain and bar.dom.ain will be run through virtusertable, too, correct? And does
'dom.ain' actually have to resolve? Because in my setting it does not,
But the {foo,bar} subdomains would then still require a matching entry
in virtusertable, say '[email protected] root', in order to be rewritten,
But the {foo,bar} subdomains would then still require a matching entry
in virtusertable, say '[email protected] root', in order to be rewritten,
No.
Try it with
sendmail -bv [email protected]
sendmail -bv [email protected]
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 142:19:13 |
| Calls: | 12,088 |
| Calls today: | 1 |
| Files: | 14,998 |
| Messages: | 6,517,451 |