Hello,

I wanted to set up pythonfilter for quarantine notifications to users but I'm 
hitting some problems.
My courier version is 0.73 (Debian) and pythonfilter version is 1.10.

Pythonfilter README contains this information:
...
   After configuring the quaranting settings, you'll also need to create an
   alias which users can use to release messages.  The address given to
   users will use the system's hostname or Courier's "me" configuration
   file. See the man page for 'courier' for more information.  That
   hostname must appear in the "locals" configuration file.  The alias
   should be set up as a dot-courier file beginning with "quarantine",
   followed by a hyphen and then the siteid, ending with "-default".
....

hostname, courier 'me' file and courier 'locals' file look like this (real 
domain replaced)

/etc/hostname/   "serv99"
/etc/courier/me  "serv99.mydomain.com"
/etc/courier/locals  "mydomain.com"

When I set the quarantine system up with this data I did receive notification 
containing a link to "postmas...@serv99.mydomain.com".

This bounces because the address should be postmas...@mydomain.com.

>From the courier manual I concluded that the "me" file contains a *server 
>name* but it is not required if the "locals" file contains the valid *domain*.
So, I removed the entry in the "me" file and ran "makealiases".

Quarantine notifications were created with the link: "postmas...@mydomain.com" 
and basically the release process worked (basically means that I received a 
message that the mail was not found in the DB but that is probably a unrelated 
problem).

However, now mails to other domains (in particular to gmail.com) didn't get 
delivered (message: server gmail not found). Therefore I had to revert the 
change.


Obviously I'm missing something here. How should the correct configuration look 
like?

--------
manual info:
about "me":
 - This file contains one line whose contents is a valid machine name.
Warning
   If you change the contents of this configuration file, it may be necessary 
to rerun the
   makealiases command again, else your mail will promptly begin to bounce.
  
about "locals":
   This file contains one or more lines of text, where each line contains a 
valid mail domain.
--------

Thanks for any help!

Cheers,
Bernd


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to