Re: [courier-users] Is there a simple way to bounce a message via

2016-11-03 Thread Fred Drueck
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  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


Re: [courier-users] Is there a simple way to bounce a message via .courier files?

2016-11-03 Thread Sam Varshavchik

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.




pgpTKauTFi3Ti.pgp
Description: PGP signature
--
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


[courier-users] Is there a simple way to bounce a message via .courier files?

2016-11-03 Thread Fred Drueck
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?

Thanks,
-Fred

--
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


Re: [courier-users] catch all for one domain only

2016-11-03 Thread Lucio Crusca

Il 03/11/2016 00:02, Sam Varshavchik ha scritto:
>
> No, as the manual page explains, the address is "alias", not 
> "catchall". It should be "al...@usosalix.org".
>

As a feedback, I might suggest that the manpage is not that clear (at 
least to me) in explaining the fact that the address name you create 
MUST absolutely be alias@hosteddomain and not 
something_else@hosteddomain, because, when a noob like me reads it, he 
understands that he has to replace hosteddomain with the real domain 
name, and he might understand that he can replace alias with anything 
else, as far as he stores the .courier-default file in its $HOME 
directory. That's also because the "alias" word lends itself 
particularly well to mean "something to be replaced by the real thing". 
Moreover the manpage calls the whole thing a "delivery rule" instead of 
"email address" or "local account" or the like: I'm sure that's the 
correct name for it, but, again, a rule recalls something you make up 
and change at will, not a fixed constant.

I know, the real problem is that I'm a noob, but manpages are for noobs, 
aren't they?

However, it works now, thanks a lot.


--
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