Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Michelle Konzack
On 2017-05-02 08:20:35 Sam Varshavchik hacked into the keyboard:
> Michelle Konzack writes:
> >I was not aware, that courier allow this.
> 
> What, the existence of the .courier files themselves? They've been
> around for decades, with their functionality identical to the same
> functionality in Qmail, which has the same exact concept.

No, that courier accept in the USER_HOME a file,
which is not owned by the USER.

> The fact that they can be created at will – we'll they're just
> files, that's all.

...with non-matching user/group

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] extension to email/localname

2017-05-02 Thread Ángel
On 2017-05-02 at 09:12 +0200, Michelle Konzack wrote:
> I  have  just  discovered,  that  if  user  "www-data"  touch  the  file
> "~/.courier-foo" courier accept it and does not complain  about  a  from
> file owner!
> 
> I allowed my PHP scripts to create/modify/delete files in the user homes
> but only if they do not exist.

"Only if they do not exist"? I guess you mean that the php file itself
checks it doesn't exist before proceeding, rather than an ACL only
allowing that.


> It seems, this way the problem is solved!
> 
> Now I have only to solv the problems with aliasses,  because  I  do  not
> like to expose my "local account" to spammers.
> 
> Mean, my account is   I can create any attachments  to
> it, but it will not work for my alias .
> 
> It would be very handy, if courier support it.
> 
> Thanks for your time

Create a user entry for linux4michelle (so it is no longer an alias),
with different home but the same Maildir.


Regards

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Sam Varshavchik

Michelle Konzack writes:


On 2017-05-02 06:58:40 Sam Varshavchik hacked into the keyboard:
> Michelle Konzack writes:
>
> >Removing "~/.courier-default" and use  instead  "~/.courier-"
> >would be a better  solution  but  require  root  rights  (sudo?)  to  be
> >installed from a webinterface...
>
> Well, it requires the rights to create files in ~; not root but
> whichever userid owns that directory.

Already discovered...  ;-)

I was not aware, that courier allow this.


What, the existence of the .courier files themselves? They've been around  
for decades, with their functionality identical to the same functionality in  
Qmail, which has the same exact concept.


The fact that they can be created at will – we'll they're just files,  
that's all.


pgpJu3t1YN79F.pgp
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Michelle Konzack
On 2017-05-02 06:58:40 Sam Varshavchik hacked into the keyboard:
> Michelle Konzack writes:
> 
> >Removing "~/.courier-default" and use  instead  "~/.courier-"
> >would be a better  solution  but  require  root  rights  (sudo?)  to  be
> >installed from a webinterface...
> 
> Well, it requires the rights to create files in ~; not root but
> whichever userid owns that directory.

Already discovered...  ;-)

I was not aware, that courier allow this.

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Sam Varshavchik

Michelle Konzack writes:


Removing "~/.courier-default" and use  instead  "~/.courier-"
would be a better  solution  but  require  root  rights  (sudo?)  to  be
installed from a webinterface...


Well, it requires the rights to create files in ~; not root but whichever  
userid owns that directory.




pgpaTMEimqIXb.pgp
Description: PGP signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] extension to email/localname

2017-05-02 Thread Michelle Konzack
Hello Lindsay,

On 2017-05-01 12:10:36 Lindsay Haisley hacked into the keyboard:
> I don't know if this helps you, but my setup for my personal mail and
> toss-off addresses is quite simple, and just works.
> 
> I have a ~/.courier file which is unrelated to my toss-off addresses,
> and does a number of things with filtering, but it's beside the point,
> and my toss-off addresses don't depend on it.
> 
> If I want to create a toss-off (temporary) address, I just touch the
> file ~/.courier-xxx ("xxx" can be anything) to create an empty file

I  have  just  discovered,  that  if  user  "www-data"  touch  the  file
"~/.courier-foo" courier accept it and does not complain  about  a  from
file owner!

I allowed my PHP scripts to create/modify/delete files in the user homes
but only if they do not exist.

It seems, this way the problem is solved!

Now I have only to solv the problems with aliasses,  because  I  do  not
like to expose my "local account" to spammers.

Mean, my account is   I can create any attachments  to
it, but it will not work for my alias .

It would be very handy, if courier support it.

Thanks for your time

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Michelle Konzack
On 2017-05-02 00:18:09 Fred Drueck hacked into the keyboard:
> Would it be sufficient to do something with the .courier-aliases?  Tell
> your users to create something like:
> 
> .courier-forwardtodevnull
> 
> containing:
> 
> | cat > /dev/null
> 
> or whatever you want.  I've occasionally done this myself for mail I don't
> want to receive.

I am user "michelle.konzack" on the system and my account has the files

~/.courier
~/.courier-default
~/.courier-aliasses  (which is symlinked into /etc/courier/aliasses/ )

the "~/.courier-default" point to a special filter which  can  sort  out
which mails I want to see and are sorted into mailfolder /dev/null  ;-)

However, I have installed a traffic counter on this  filter  to  get  an
idea, how much spam I receive over the last 9y since  I  have  installed
the domain/server, this mean if  I  allow  all  users  to  do  this,  my
mailserver would accept arround 300-500 GByte of additional spam.

Removing "~/.courier-default" and use  instead  "~/.courier-"
would be a better  solution  but  require  root  rights  (sudo?)  to  be
installed from a webinterface...

Thanks for your time

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Throw-Away EMails

2017-05-02 Thread Michelle Konzack
Good morning,

On 2017-05-01 23:14:11 Ángel hacked into the keyboard:
> I would probably do it through entries in the database db. But if you
> already have "something" editing the aliases file, why not have it run
> makealiases, too?

I have gotten strange errors while running makealiasses from  a  script.
It seems (on Debian/Wheeze) makealiasses do not like to run from scripts
and need a terminal.

I have to check this again, but I am currently very bussy  with  my  new
Bio Farm in Estonia   ;-)   since I get in some month 1500  apple/cherry
trees.

Over the winter I have nothing to do and can go back deeper into IT.

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


signature.asc
Description: Digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users