Thanks for the suggestion!

But, after reading a few man pages, I've become convinced that maybe I
should actually use a:

.mailfilter/rcptfilter-original_name

filter so we can refuse the message during the SMTP exchange.

During this process I've discovered some things that don't really make
a lot of sense to me:

Using a seperate, test user with a small number of .qmail files:

.courier-test  .courier-test~  .courier-test-default

and I try to send mail to, say:

testuser-bogus@domain

courier gives me:

550 User <testuser-bogus> unknown

The mail is not even accepted, a bounce notice will be generated by
the last SMTP server that tried to deliver the message.

But, if I send mail to the listuser like:

listuser-bogus@domain

the mail is accepted, though it fails to be delivered and will
generate a bounce message from the courier-nta server.

~/.courier-default

Neither user has either of these files:

~/.mailfilter/rcptfilter
~/.mailfilter/rcptfilter-default

both users have exactly one file of the form:

~/.mailfilter/rcptfilter-extension

Any ideas why this behavior is not consistent between the 2 users?

Thanks,
-Fred

On Thu, 3 Nov 2016, Sam Varshavchik wrote:

> Fred Drueck writes:
>
>> Hello Everyone,
>> 
>> I've got a problem where I've had to rename one of my couriermlm
>> mailing lists.  Basically it went from:
>> 
>> user-original_name@domain
>> 
>> to
>> 
>> user-new_name@domain
>> 
>> I want to make sure that messages sent to the:
>> 
>> user-original_name@domain
>> 
>> generate a bounce message so that former users of the list (who have
>> been notified of the change, but are liable to not remember the change
>> if they don't get a bounce message) are warned if they send mail to
>> the old address.
>> 
>> Is there a simple way to do this?
>> 
>> It looks like qmail had a program for this:
>> 
>> bouncesaying
>> 
>> is there a courier equivalent of this?
>
> Courier has a "mailbot" tool that can be used to generate various kinds of 
> autoreplies. Have the old address's .courier file execute mailbot, with the 
> appropriate options.
>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to