Re: [courier-users] kitchen sink

2015-01-19 Thread Gordon Messmer
On 01/19/2015 05:37 AM, Szépe Viktor wrote:
> I realized a local user account is necessary.

It isn't... As Sam said, you can put the dot-courier file in 
$sysconfdir/aliasdir.

> # cat $HOME/.courier
> |/bin/true

IIRC, the file can have one blank line and do the same thing.

echo > /etc/courier/aliasdir/.courier-mailboxname



--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Error reading ACLs for : Invalid argument

2015-01-19 Thread Sam Varshavchik

Szépe Viktor writes:


ls -ld /var/mail/szepe.net/viktor
drwxr-s--- 3 virtual virtual 4096 Feb 17  2011 /var/mail/szepe.net/viktor

ls -ld /var/mail/szepe.net
drwxr-s--- 7 virtual virtual 4096 Nov 27 20:39 /var/mail/szepe.net

ls -ld /var/mail
drwxrwsr-x 11 daemon daemon 4096 Jan 19 13:48 /var/mail

id virtual
uid=1999(virtual) gid=1999(virtual) groups=1999(virtual)


Could you help me find the cause of these messages:

Jan 19 15:36:20 szerver imapd-ssl: Error reading ACLs for : Invalid argument

I only get these in the syslog for *one* specific user. All users have
the same permissions/other settings.
Could it be her mail client?


Without digging into the code too much, it's possible.

Although, besides the top level of the maildir, which you've showed, each  
maildir has plenty of stuff inside it, whose permissions could be wrong.




pgpoDl3Gwqbsh.pgp
Description: PGP signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Error reading ACLs for : Invalid argument

2015-01-19 Thread Szépe Viktor
Good morning!

I've read in an old thread that stock Debian /var/mail is for mboxes  
not for Maildirs.

My permissions are:

ls -ld /var/mail/szepe.net/viktor/Maildir/new/
drwx-- 2 virtual virtual 208896 Jan 19 16:22  
/var/mail/szepe.net/viktor/Maildir/new/

ls -ld /var/mail/szepe.net/viktor/Maildir
drwx-- 31 virtual virtual 4096 Jan 19 16:21  
/var/mail/szepe.net/viktor/Maildir

ls -ld /var/mail/szepe.net/viktor
drwxr-s--- 3 virtual virtual 4096 Feb 17  2011 /var/mail/szepe.net/viktor

ls -ld /var/mail/szepe.net
drwxr-s--- 7 virtual virtual 4096 Nov 27 20:39 /var/mail/szepe.net

ls -ld /var/mail
drwxrwsr-x 11 daemon daemon 4096 Jan 19 13:48 /var/mail

id virtual
uid=1999(virtual) gid=1999(virtual) groups=1999(virtual)


Could you help me find the cause of these messages:

Jan 19 15:36:20 szerver imapd-ssl: Error reading ACLs for : Invalid argument

I only get these in the syslog for *one* specific user. All users have  
the same permissions/other settings.
Could it be her mail client?


Szépe Viktor
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület





--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] kitchen sink

2015-01-19 Thread Szépe Viktor
Thank you!

I realized a local user account is necessary.

# cat $HOME/.courier
|/bin/true


Idézem/Quoting Sam Varshavchik :

> Szépe Viktor writes:
>
>>
>> Is there a way to "drop" (as in iptables) mail for certain addresses
>> (not for an entire domain), so do receive it but do not save it
>> anywhere?
>> I would prefer a solution without a local user.
>>
>> Thank you!
>
> See the description of $sysconfdir/aliasdir in the dot-courier man page.
>
> Install a $sysconfdir/aliasdir/.courier-mailboxname file that does nothing.


Szépe Viktor
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület





--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] kitchen sink

2015-01-19 Thread Sam Varshavchik

Szépe Viktor writes:



Is there a way to "drop" (as in iptables) mail for certain addresses
(not for an entire domain), so do receive it but do not save it
anywhere?
I would prefer a solution without a local user.

Thank you!


See the description of $sysconfdir/aliasdir in the dot-courier man page.

Install a $sysconfdir/aliasdir/.courier-mailboxname file that does nothing.



pgp1Zw2TU5gk8.pgp
Description: PGP signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] kitchen sink

2015-01-19 Thread Matus UHLAR - fantomas
On 19.01.15 13:28, Szépe Viktor wrote:
>Is there a way to "drop" (as in iptables) mail for certain addresses
>(not for an entire domain), so do receive it but do not save it
>anywhere?

bofh "spamtrap" option should be what you need. It drops all mail that it
sent to the configured addreses. Note that it mail has multiple recipients,
and one of them is spamtrap account, the mail is not delivered anywhere...

>I would prefer a solution without a local user.

bofh requires local account, however you can use one acount for multiple
addresses - just alias them to the account.


-- 
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.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] kitchen sink

2015-01-19 Thread Szépe Viktor

Is there a way to "drop" (as in iptables) mail for certain addresses  
(not for an entire domain), so do receive it but do not save it  
anywhere?
I would prefer a solution without a local user.

Thank you!


Szépe Viktor
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület





--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Read only mailbox (no deliveries)

2015-01-19 Thread Sam Varshavchik

Mark Constable writes:


It's so hot here I can't think. If I wanted to have a read-only
"backup" mailbox that was populated from an "active" mailbox by
automatically moving messages older than 30 days from the "active"
mailbox to the "backup" mailbox then what would be the easiest
and simplest way to deny incoming deliveries to this alternate
backup mailbox?


Put "spamtrap mailbox@domain" into bofh. Not only will that block delivery  
to that mailbox only, but any mail with that mailbox listed as one of the  
recipients.


pgpmUG1CDXkL5.pgp
Description: PGP signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Read only mailbox (no deliveries)

2015-01-19 Thread Mark Constable
It's so hot here I can't think. If I wanted to have a read-only
"backup" mailbox that was populated from an "active" mailbox by
automatically moving messages older than 30 days from the "active"
mailbox to the "backup" mailbox then what would be the easiest
and simplest way to deny incoming deliveries to this alternate
backup mailbox?

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users