I am using the file containing the list of subscribers as the same file
for restrict_post. I also have mungedomain set to yes.
I had to edit "resend" to enable the domain munging when it did the
restriction checking, because it wasn't doing it before.
Simple change: replace (this is version 1.92)
@output = grep (&addr_match($from, $_), <LISTFD>);
on line 307 of "resend" with
@output = grep (&addr_match($from, $_,
(&cf_ck_bool($opt_l,"mungedomain") ? 2 : undef)), <LISTFD>);
My question is:
was the munging deliberately left out of resend for some reason that I
may not be aware of?
or was it just [potential] oversight?
PS> the configuration comments for "restrict_post" state that the filenames
can be space or colon separated. Trial and error followed by a scan of
the code indicates that this is not true - they must be separated by
colon, TAB or NEWLINEs. Space-separated filenames cause errors of the
form 'cannot open "file1 file2"'
Olly
Follow-Ups:
|
|