David Niklas | 24 May 21:30 2016
Picon

Courier sourcing during test

Hello,
I've successfully run the tests of courier 0.75.0 up to the part where
the msg writes info into the ID and ENV files.
Strangely, id output no info into the ID file though sh wrote
"/root/.profile" Permission denied. The env command output many variables
all from /etc/profile, thought the docs say that courier should have a
sanatized environment. All the files in /etc are default for courier with
the exception that I removed the database modules from courier's
authdaemond so that they would not load.
I imagine that courierd is sourcing /etc/profile as root and then trying
to read the user's (root's) .profile file.
The docs do not specify a method of solving this, what do I do?

Thanks, David

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

chaouche yacine | 24 May 17:48 2016
Picon
Gravatar

How to force quota recalculation ?

Hello list,

maildirsize shows 200Mb+ of disk usage while du shows only 64Mb. How can I ask courier to recaclculate the
quota and allow this poor user to receive mail again ? 

root <at> messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/user # cat maildirsize 
209715200S
   213915353          115
   -15690530           -1
   -16509012           -1
       -5023           -1
   -15980449           -1
   -15946302           -1
   -15941340           -1
   -15886354           -1
   -15648905           -1
   -15746958           -1
       -4541           -1
   -15610415           -1
   -13395625           -1
    -9467387           -1
    -9548979           -1
    -3208040           -1
    -1624723           -1
     -584471           -1
     -437645           -1
     -361684           -1
     -349319           -1
     -295264           -1
    15946473            1
(Continue reading)

Bernd Plagge | 21 May 03:43 2016
Picon

quarantine configuration - need advice

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 "postmaster <at> serv99.mydomain.com".

This bounces because the address should be postmaster <at> 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".

(Continue reading)

Harry Duncan | 19 May 13:14 2016
Picon

vacation notices

Hi

I seem to remember a vacation notice feature been added to courier-mta where you just create an imap folder called vacation
save a draft into it
and it would use that as an autoresponse for incoming email

I have just deployed courier 0.76 and tested this feature, but it doesn't seem to work. Am I testing right or this was taken back out of the server?

Thanks,

Harry.
------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
mariobetim | 16 May 14:38 2016
Picon

Courier pop3 rereading maildir - urgent

Hi,
 
After moving the "maildir" to a new server. Messages are being loaded again (re-read) the email clients.

How do I stop the reading? For it is doubling the "inbox" of users.

Thanks.
 
 

-----------------------[ www.viciotemcura.com ]-----------
 "A graça de nosso Senhor Jesus Cristo seja com todos vós."

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Jan Müller | 13 May 22:18 2016
Picon
Gravatar

Let's encrypt

Hi,
did anyone succeed in installing letsencrypt certificates for imap and/or smtp?

Which guide did you follow?

I did some preliminary googling and this looks not bad:

Thanks for noting any caveats that might pop up.

Regards!
Jan Müller
------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bowie Bailey | 11 May 21:31 2016

DNS lookup problem

I have an outgoing email sitting in my mail queue due to a DNS failure, 
but I can't figure out why it is failing.  When I test it manually, this 
is what I see:

$ testmxlookup westportyachtsales.com
westportyachtsales.com: soft error.

$ dig  <at> 172.16.17.201 westportyachtsales.com mx +short
10 mail.westportshipyard.com.

$ dig  <at> 172.16.17.201 mail.westportshipyard.com +short
208.91.197.132

$ testmxlookup westportyachtsales.com
Domain westportyachtsales.com:
Relay: mail.westportshipyard.com, Priority: 10, Address: 
::ffff:208.91.197.132

172.16.17.201 is the first DNS server listed in resolv.conf, which is 
what Courier and testmxlookup should be using if I understand 
correctly.  It also works if I query the second DNS sever manually. Now 
that I've gotten a response, testmxlookup will work for a while, but 
eventually it will start giving the soft error again for that domain.  I 
am guessing that this is due to my DNS server caching the result, but 
why would my manual queries succeed and testmxlookup fail the first 
time?  The queries are both coming from the same user on the same machine.

--

-- 
Bowie

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

MK | 11 May 12:46 2016
Picon

Migrating old messages

I've been using courier for 2.5 years on a personal server where I have a few accounts that amount to about
20-30 emails a day.  Up until now, I've been accessing them via POP but have copies of everything all the way
back on the server in courier's ARCHIVEDIR.

The POP clients delete stuff from the individual account Maildir's after a short period, but a couple of the
machines use the same client software and keep a syncronized archive of their own.  The others, e.g. my
phone, just retain messages for a short duration.

I just physically migrated the server, and upgraded courier from 0.66.1 to 0.76.1 on the new machine. 
Everything seems to be working fine.  However, rather than continuing with the old methodology just
described, I decided to switch to IMAP for everything.  I started with fresh, empty, new accounts on the new
server, with addresses corresponding to the old ones, and there are no problems with delivery or access.

But I would like to integrate a backlog of the old messages, for which I have the two sources just mentioned:

- A "local" archive from the synchronized POP clients; this has nothing to do with courier, although the
messages are in separate files and are identical to what would be found in the server side Maildirs.

- A "remote" archive in ARCHIVEDIR.

I notice there's a subtle difference between the latter and what ends up in the Maildir; the Maildir
messages have a "Delivered-To:" and "Return-Path:" header added.  In the ARCHIVEDIR, this information
seems to be kept in a separate file with a 1-1 correspondence to the messages using a format I assume is
courier's but would be easy to parse if need be.

The issue with simply trying to insert stuff into the Maildir's on the new machine is sort of two-fold. 
First, they obviously have a name created by courier -- I don't know if this is according to a Maildir
standard or not, but they are different from either the names given to the files by the client software in
the "local" archive, and the names given to them by courier in the ARCHIVEDIR.  If it is according to a
documented standard, it would not be hard for me to create them from what I have and insert them except for
the second fold of the problem: courier also tracks them in a separate, per user account file.  

For the old POP accounts this is a fairly straightforward looking list.  For the new ones, this is a binary
database of some sort ('courierimapuiddb').

What are my options here? I believe the message files in ARCHIVEDIR are the messages as recieved by courier
*almost* unadulterated; there is a "Recieved:" header added.  I could strip those off and ask
about/figure out a way to feed them to courier on the new machine *but* that "Recieved:" header includes a
date which I'm guessing is the definitive one.

I'm continuing to keep an ARCHIVEDIR on the new machine and it might be handy to do something along similar
lines later, so I'd prefer to work with that stuff than what's in the "local" archive (since I won't be doing
that in the future). 

Sincerely -- MK

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Gordon Messmer | 10 May 23:38 2016
Picon

pythonfilter

https://bitbucket.org/gordonmessmer/courier-pythonfilter

A new release of pythonfilter is available with two new features.  A new 
"sentfolder" module allows a site to copy messages sent by authenticated 
users to those users' Sent maildir, and whitelist modules can now bypass 
specific filters, rather than all filters that follow in the configuration.

------------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Enda | 9 May 13:45 2016

Courier 0.76 - pop3 with SSL - authentication error

Hi

Deployed 0.76 over the weekend to migrate an old server. Just finished 
configuring SSL. Using a thunderbird client I can map the test account 
by imap over ssl, smtp over ssl, but get a password error for pop3 over 
SSL. If I leave the password in place and turn off SSL it maps the 
account just fine.

I'm getting no hit on the logs.

I'm going to turn the authlib logging up to debug and try with a 
different client to see if I get more informative error, but just 
curious if this one rings a bell with anyone as being something obvious 
that I'm not aware of?

Thanks

  -Enda.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Gerhard Schneider | 9 May 11:22 2016
Picon

Courier 0.76 on RHEL6


Courier 0.76(.1) does not build on RHEL6 out of the box anymore.

Unresolved dependencies: procps-ng, perl-generators

Both are unavailable on RHEL/CentOS/Scientific Linux 6

Are they really needed or is there a workaround?

Thank you in advance!

Gerhard Schneider

-- 
Gerhard Schneider
Institute of Lightweight Design and         e-Mail: gs <at> ilsb.tuwien.ac.at
Structural Biomechanics (E317)                   Tel.: +43 1 58801 31716
TU Wien / Vienna / Austria                       Fax:  +43 1 58801 31799
A-1060 Wien, Getreidemarkt 9/BE02      http://www.ilsb.tuwien.ac.at/~gs/

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Gmane