|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi
is there a way to redefine Cw class from scratch (not to add, I know how to add to Cw class) ? even with confDONT_PROBE_INTERFACES sendmail puts stuff in it like hostname [host-ip-address] localhost even the host-ip-address should not be in Cw class as I use DAEMON_OPTIONS(`Port=smtp, Name=MTA, Addr=ip-address-2) and ip-address-2 != host-ip-adderss so it should not be in Cw class I would like to start with empty Cw class then add names I want to any way clear this Cw class ? thanks Bogie |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In article <1157658557.511934.296220@d34g2000cwd.googlegroups .com>
"bogiebog" <nospam93924@yahoo.com> writes: > >is there a way to redefine Cw class from scratch (not to add, I know >how to add to Cw class) ? No. >even with confDONT_PROBE_INTERFACES sendmail puts stuff in it >like > hostname > [host-ip-address] > localhost > >even the host-ip-address should not be in Cw class as I use >DAEMON_OPTIONS(`Port=smtp, Name=MTA, Addr=ip-address-2) >and ip-address-2 != host-ip-adderss so it should not be in Cw class You can however put in custom rules (e.g. in LOCAL_RULE_0 in the .mc file) that override the default behaviour of local delivery for class {w}, either for all of it or for particular names in it. Something like R$+ <@ $=w .> $#esmtp $@ some.other.host. $: $1<@$2.> --Per Hedeland per@hedeland.org |
|
![]() |
| Outils de la discussion | |
|
|