Ricardo Kleemann writes:


Hi,


Right, except the name of .courier files in $sysconfdir/aliasdir is not the same as the name of the .courier files in $HOME

For example, if the recipient address is user-foo, and
~user/.courier-foo does not exist, and
~user/.courier-default does not exist, then the next step
is to check $sysconfir/aliasdir/.courier-user-foo, then $sysconfir/aliasdir/.courier-user-default, and finally $sysconfir/aliasdir/.courier-default.


Yes, I understand that. However, I'm trying to figure out why this is not working for me. As I mentioned, I tried to setup an address [EMAIL PROTECTED]

So I created a file /etc/courier/aliasdir/.courier-spam

I also have a file /etc/courier/aliasdir/.courier-default

When I send email to [EMAIL PROTECTED], rather than the
courier-spam file being processed, it is the
courier-default that is always processed. I can't seem to
get the correct alias file to get processed.

I tried the same with a similar address,
courier-process-spam, for the address
[EMAIL PROTECTED] I got the same results. Only the
courier-default is being processed.

What could I be doing wrong?

If mydomain.com is listed in hosteddomains, then the actual local address is '[EMAIL PROTECTED]', not 'spam'. As such, the corresponding mail delivery instructions should be placed in /etc/courier/aliasdir/[EMAIL PROTECTED]:com


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to