Re: [courier-users] Courier build 20150619 released

2015-08-20 Thread Matus UHLAR - fantomas
>On 10.06.15 06:51, Sam Varshavchik wrote:
>>Download: http://www.courier-mta.org/download.html
>>
>>Changes:
>>
>>- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or
>>message to an account creates the account's home directory.

On 21.07.15 16:35, Matus UHLAR - fantomas wrote:
>I finally managed to do the backporting to debian wheezy versions
>(I prefer to patch debian packages to benefit from the packaging system etc)
>
>and I can happily confirm it works with imap, pop3 and maildrop
>- I haven't tried squirrelmail nor module.local but i believe are OK too.
>
>just a small footnote: using read/write functions would be more effective
>imho.

if anyone is interested, patches should be available on:
http://test.fantomas.sk/courier/

I think I have avoided sqwebmail and courier-maildrop (the version for
sqwebmail) which could be done too...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-07-23 Thread Matus UHLAR - fantomas
>>>Matus UHLAR - fantomas writes:
...now I only need to extract the patch from github and apply to maildrop.
I'll try, thank you.

>>On 20.06.15 12:02, Sam Varshavchik wrote:
>>>Not just maildrop, but also courier-authlib. The actual code that
>>>creates the home directory is shared across the line, in the
>>>courier-authlib package.

>Matus UHLAR - fantomas writes:
>>Well, I got patches for the last two commits:
>>
>>  courier-authlib: autocreate home directory.
>>  Added AUTH_MKHOMEDIR_SKEL setting.
>>
>>but I don't see patches on github for maildrop yet...

On 20.06.15 16:22, Sam Varshavchik wrote:
>Look in the courier-libs repo.

got it now, just wondering if the homedir shouldn't be created later, after
checking of username etc...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.   -- Matthew D. Fuller

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-07-23 Thread Matus UHLAR - fantomas
On 10.06.15 06:51, Sam Varshavchik wrote:
>Download: http://www.courier-mta.org/download.html
>
>Changes:
>
>- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or 
>message to an account creates the account's home directory.

excellent job.

I finally managed to do the backporting to debian wheezy versions
(I prefer to patch debian packages to benefit from the packaging system etc)

and I can happily confirm it works with imap, pop3 and maildrop
- I haven't tried squirrelmail nor module.local but i believe are OK too.

just a small footnote: using read/write functions would be more effective
imho.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.  -- Daffy Duck & Porky Pig

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-20 Thread Sam Varshavchik

Matus UHLAR - fantomas writes:


>Matus UHLAR - fantomas writes:
>>...now I only need to extract the patch from github and apply to maildrop.
>>I'll try, thank you.

On 20.06.15 12:02, Sam Varshavchik wrote:
>Not just maildrop, but also courier-authlib. The actual code that
>creates the home directory is shared across the line, in the
>courier-authlib package.

Well, I got patches for the last two commits:

  courier-authlib: autocreate home directory.
  Added AUTH_MKHOMEDIR_SKEL setting.

but I don't see patches on github for maildrop yet...


Look in the courier-libs repo.



pgpyR6G90ssQ0.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-20 Thread Matus UHLAR - fantomas
>Matus UHLAR - fantomas writes:
>>...now I only need to extract the patch from github and apply to maildrop.
>>I'll try, thank you.

On 20.06.15 12:02, Sam Varshavchik wrote:
>Not just maildrop, but also courier-authlib. The actual code that 
>creates the home directory is shared across the line, in the 
>courier-authlib package.

Well, I got patches for the last two commits:

  courier-authlib: autocreate home directory. 
  Added AUTH_MKHOMEDIR_SKEL setting.

but I don't see patches on github for maildrop yet...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-20 Thread Sam Varshavchik

Matus UHLAR - fantomas writes:



...now I only need to extract the patch from github and apply to maildrop.
I'll try, thank you.


Not just maildrop, but also courier-authlib. The actual code that creates  
the home directory is shared across the line, in the courier-authlib package.




pgp4U0B2MoBXP.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-20 Thread Matus UHLAR - fantomas
>>On 10.06.15 06:51, Sam Varshavchik wrote:
>>>- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or
>>>message to an account creates the account's home directory.

>Matus UHLAR - fantomas writes:
>>nice to see, but it seems it wasn't added to maildrop. Unfortunately we
>>don't run courier-mta here, only imap/pop3/maildrop, so I's like to see is
>>in maildrop too, if possible
>>
>>...it seems that maildrop does ask authdaemon for homedir, but does not call
>>pam_session (yeah, no wonder here...)

On 19.06.15 19:15, Sam Varshavchik wrote:
>It's the same fundamental problem, authdaemon is an independent 
>process. PAM handles acquired by authdamon can only be used by that 
>proces.
>
>Also, maildrop does not use any kind of a configuration file. The 
>configuration file really sets environment variables. So you'd have 
>to modify your mail server's environment, so that maildrop gets to 
>inherit these environment variables. That's something maildrop can't 
>solve on its own.
>
>It should be possible to add something to maildrop to do this, but 
>setting up the environment variable would be something that must be 
>done on its own.

of course, this is precisely what I expected as solution.
I'll try to push the variable to postfix (export_environment should do that)

...now I only need to extract the patch from github and apply to maildrop.
I'll try, thank you.


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #98652: Operation completed successfully.

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-19 Thread Sam Varshavchik

Matus UHLAR - fantomas writes:


On 10.06.15 06:51, Sam Varshavchik wrote:
>Download: http://www.courier-mta.org/download.html
>
>Changes:
>
>- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or
>message to an account creates the account's home directory.

nice to see, but it seems it wasn't added to maildrop. Unfortunately we
don't run courier-mta here, only imap/pop3/maildrop, so I's like to see is
in maildrop too, if possible

...it seems that maildrop does ask authdaemon for homedir, but does not call
pam_session (yeah, no wonder here...)


It's the same fundamental problem, authdaemon is an independent process. PAM  
handles acquired by authdamon can only be used by that proces.


Also, maildrop does not use any kind of a configuration file. The  
configuration file really sets environment variables. So you'd have to  
modify your mail server's environment, so that maildrop gets to inherit  
these environment variables. That's something maildrop can't solve on its  
own.


It should be possible to add something to maildrop to do this, but setting  
up the environment variable would be something that must be done on its own.




pgpmrvuSWR0dG.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier build 20150619 released

2015-06-19 Thread Matus UHLAR - fantomas
On 10.06.15 06:51, Sam Varshavchik wrote:
>Download: http://www.courier-mta.org/download.html
>
>Changes:
>
>- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or 
>message to an account creates the account's home directory.

nice to see, but it seems it wasn't added to maildrop. Unfortunately we
don't run courier-mta here, only imap/pop3/maildrop, so I's like to see is
in maildrop too, if possible

...it seems that maildrop does ask authdaemon for homedir, but does not call
pam_session (yeah, no wonder here...)

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier build 20150619 released

2015-06-10 Thread Sam Varshavchik

Download: http://www.courier-mta.org/download.html

Changes:

- Added AUTH_MKHOMEDIR_SKEL to several config files, first login or message  
to an account creates the account's home directory.




pgpX2phWMRvsN.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users