Re: [Dovecot] highly available userdb

2013-11-12 Thread Nick Edwards
On 11/12/13, Jan-Frode Myklebust  wrote:
> My installation is only serving 1/10 of your size, but long time ago we
> migrated off mysql for userdatabase, and over to LDAP. The MySQL data
> source had issues (not dovecot related), and didn't seem like the right
> tool for the job.


A database is a database, a master is a master, and a slave is a slave
our mysql has never had problem, not a single one, its why I'm so annoyed
dovecot is talking to master when it doesn't need to


[Dovecot] trashed

2013-11-12 Thread Nick Edwards
On 11/12/13, Reindl Harald  wrote:
> tell that Noel which is blocking my messages and so did
> not read what i quoted from Benny's trolling but opens
> his mouth
>
> tell that Noel which is abusing his power by set complete
> IP-ranges on RBL lists he maintains because he does not
> like one person using a mailserver on that range besides
> many other people
>

Let us see

Posfix list  - BANNED
Roundcube List - MODERATED
Centos List - MODERATED (maybe banned)
Fedora list - 1/ MODERATED
  - 2/ Had hissy fit temper tantrum with moderators a
few days ago about his continual moderation and claimed was quitting
fedora list.

Likely has resubscribed to Fedora (if indeed even did quit), like on
Postfix under a li...@rhsoft.net address or something similar

and thats only the ones *I* know about.

So, your in a blacklist as well? wouldnt have anything to do with your
actions pretty much everywhere would it now,
no, of course not.

Taking into account all of the above, I think its fair to say, its
more than one person that doesn't like your foul mouthed antics, which
was explained to you many times by fedora moderators, trying to get
you to change, all you had to do, and they would remove moderation,
but you refused, so you deserve it, no one else to blame but yourself

YOU ARE NOT THE VICTIM

>>> blocked using
>>>  bl.alt-backspace.org; This range is used by caustic Internet troll
>>> Harald
>>>  Reindl h.rei...@thelounge.net / ACCESS DENIED - see
>>> http://www.alt-backspace.org/usage.php#misc (in reply to RCPT TO
>>> command)

Awesome!  Thanks for that, I have just enabled bl.alt-backspace.org on
our company servers

ciao


[Dovecot] Dovecot 2.0.9 Quota Limit issues

2013-11-12 Thread David Johnson

Hello,

I've tried searching for information regarding this problem but haven't 
found anything.


Currently I have a Dovecot 2.0.9 with virtual users from a SQL table.  
Right now I'm only using global quota limits.  Here is my quota setup:


plugin {
  quota = maildir:User quota
  quota_rule = *:storage=3G
  quota_rule2 = Trash:storage=+100M
  quota_rule3 = Archive:storage=+1G
  quota_rule4 = Archive/2013:storage=+1G
  quota_rule5 = Junk:ignore
}

According to the documentation this should allow the Archive folder to 
have an additional 1G in it that is not counted toward the global 3G.  
However I have users who have 2G in the Archive folder, and about 1G 
elsewhere.  At this point they stop receiving emails due to quota exceeded.


doveadm quota get -u 
displays this:
Quota name  Type  Value   Limit  %
User quota  STORAGE 3150312 3145728 100
User quota  MESSAGE8271   -  0

If I change Archive:storage=+1G to Archive:ignore then they can receive 
emails again.

After the change doveadm quota get -u displays this:

Quota name  Type  Value   Limit  %
User quota  STORAGE 1266885 3145728 40
User quota  MESSAGE8271   -  0

Is there something I'm missing as to why this setup isn't working?

Thanks!

--
David J.


Re: [Dovecot] Can't see e-mails

2013-11-12 Thread Muzaffer Tolga Ozses
Migrated to DigitalOcean from another VPS

regards,

On 12 Nov 2013 18:19, "Charles Marcus"  wrote:
>
> On 2013-11-12 10:04 AM, Muzaffer Tolga Ozses  wrote:
>>
>> I have a postfix+dovecot+mysql+roundcube setup. I recently changed
>> providers. At the moment, postfix can receive e-mails but either dovecot
or
>> roundcube can't see e-mails.
>
>
> What do you mean by 'changed providers'?
>
> --
>
> Best regards,
>
> */Charles/*


Re: [Dovecot] Can't see e-mails

2013-11-12 Thread Charles Marcus

On 2013-11-12 10:04 AM, Muzaffer Tolga Ozses  wrote:

I have a postfix+dovecot+mysql+roundcube setup. I recently changed
providers. At the moment, postfix can receive e-mails but either dovecot or
roundcube can't see e-mails.


What do you mean by 'changed providers'?

--

Best regards,

*/Charles/*


Re: [Dovecot] how to make quota per user ??

2013-11-12 Thread Manuel Delgado
On Tue, Nov 12, 2013 at 9:00 AM, Andreas Meyer  wrote:

> ihab  wrote:
>
> > I use dovecot version 1.2.15 and i put quota for all users , now i want
> to
>
> upgrade to at least 2.1.17, it's a painless process.
>
> > give more size for some emails , i already added the  quota to user
> database
> > , and i added the queries from http://wiki.dovecot.org/Quota/1.1
> > MySQL:
> > user_query = select uid, gid, home, \
> >   concat('*:bytes=', quota_bytes) as quota_rule \
> >   from users where userid = '%u'
>
> We use with v 2.1.17
> user_query = SELECT maildir, uid, gid, concat('*:storage=', quota) AS
> quota_rule, concat('Trash:storage=+', quota_trash) AS quota_rule2 FROM
> mailbox WHERE username = '%u'
>
> >
> > # MySQL with userdb prefetch: Remember to prefix quota_rule with userdb_
> > # (just like all other userdb extra fields):
> > password_query = select userid as user, password, \
> >   uid as userdb_uid, gid as userdb_gid, \
> >   concat('*:bytes=', quota_bytes) as userdb_quota_rule \
> >   from users where userid = '%u'
>
>   Andreas
>

We use it with dovecot 2.1.7 too but we have 2 diferente namespaces so
rules looks like:

user_query = SELECT maildir, uid, gid, concat('*:storage=', quota) AS
quota_rule, concat('*:storage=', quota) AS quota2_rule FROM mailbox WHERE
username = '%u'

Both NS have the same quota.



~Manuel Delgado


[Dovecot] Can't see e-mails

2013-11-12 Thread Muzaffer Tolga Ozses
Hi,

I have a postfix+dovecot+mysql+roundcube setup. I recently changed
providers. At the moment, postfix can receive e-mails but either dovecot or
roundcube can't see e-mails. I did a telnet example.com 143 then a login
user pass and this is what I see:

2013-11-12 16:08:51 auth: Debug: sql(ala...@boradental.com.tr,193.255.135.254):
SELE
CT '/var/vmail/boradental.com.tr/alanya' as home, 'maildir:/var/vmail/
boradental.com
.tr/alanya' as mail, 5000 AS uid, 5000 AS gid, concat('dirsize:storage=',
quota) AS
quota FROM mailbox WHERE username = 'ala...@boradental.com.tr' AND active =
'1'
2013-11-12 16:08:51 auth: Debug: master out: USER   3767009281
 alanya@borad
ental.com.trhome=/var/vmail/boradental.com.tr/alanya
 mail=maildir:/va
r/vmail/boradental.com.tr/alanyauid=5000gid=5000
 quota=dirsize:storage=0

so I'm assuming dovecot works. Am I right to assume this? If I'm not,
what's the solution? If I am, how can I debug this?

Regards,


Re: [Dovecot] how to make quota per user ??

2013-11-12 Thread Andreas Meyer
ihab  wrote:

> I use dovecot version 1.2.15 and i put quota for all users , now i want to

upgrade to at least 2.1.17, it's a painless process.

> give more size for some emails , i already added the  quota to user database
> , and i added the queries from http://wiki.dovecot.org/Quota/1.1
> MySQL:
> user_query = select uid, gid, home, \
>   concat('*:bytes=', quota_bytes) as quota_rule \
>   from users where userid = '%u'

We use with v 2.1.17
user_query = SELECT maildir, uid, gid, concat('*:storage=', quota) AS 
quota_rule, concat('Trash:storage=+', quota_trash) AS quota_rule2 FROM mailbox 
WHERE username = '%u'

> 
> # MySQL with userdb prefetch: Remember to prefix quota_rule with userdb_
> # (just like all other userdb extra fields):
> password_query = select userid as user, password, \
>   uid as userdb_uid, gid as userdb_gid, \
>   concat('*:bytes=', quota_bytes) as userdb_quota_rule \
>   from users where userid = '%u'

  Andreas


Re: [Dovecot] my quota warning script not getting executed2

2013-11-12 Thread ihab
i solved the problem 
i was need to make the dovecot enable to  debug the code 
i put debugger  in warning script file and i found this error  
Thanks for alll ;)



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/my-quota-warning-script-not-getting-executed2-tp45196p45336.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] how to make quota per user ??

2013-11-12 Thread ihab
I use dovecot version 1.2.15 and i put quota for all users , now i want to
give more size for some emails , i already added the  quota to user database
, and i added the queries from http://wiki.dovecot.org/Quota/1.1
MySQL:
user_query = select uid, gid, home, \
  concat('*:bytes=', quota_bytes) as quota_rule \
  from users where userid = '%u'

# MySQL with userdb prefetch: Remember to prefix quota_rule with userdb_
# (just like all other userdb extra fields):
password_query = select userid as user, password, \
  uid as userdb_uid, gid as userdb_gid, \
  concat('*:bytes=', quota_bytes) as userdb_quota_rule \
  from users where userid = '%u'

but it is not work 
what i have to change and in which  files please ?



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/how-to-make-quota-per-user-tp45335.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] dovecot-2.2.7: Fatal: master: service(imap): child 49545 killed with signal 11 (core dumped)

2013-11-12 Thread Marcin Mirosław
In dmesg I can see:
"
denied resource overstep by requesting 8392704 for RLIMIT_STACK against
limit 8388608 for /usr/libexec/dovecot/imap
"
I'm using hardened kernel (with grsec patch).


[Dovecot] dovecot-2.2.7: Fatal: master: service(imap): child 49545 killed with signal 11 (core dumped)

2013-11-12 Thread Marcin Mirosław
Hi!
After upgrade I'm noticing many coredummps, below is backtrace:
$ echo "bt"|gdb 

#0  o_stream_zlib_flush (stream=0xc8be5b27640) at ostream-zlib.c:222
222 if (o_stream_zlib_send_flush(zstream) < 0)
(gdb) #0  o_stream_zlib_flush (stream=0xc8be5b27640) at ostream-zlib.c:222
#1  0x7a695e8f09cd in o_stream_flush
(stream=stream@entry=0xc8be5b276d0) at ostream.c:147
#2  0x7a695e83c06f in o_stream_zlib_close (stream=0xc8be5b27640,
close_parent=true) at ostream-zlib.c:35
#3  0x7a695e8f0375 in o_stream_close_full
(stream=stream@entry=0xc8be5b276d0,
close_parents=close_parents@entry=true) at ostream.c:49
#4  0x7a695e8f06e2 in o_stream_close
(stream=stream@entry=0xc8be5b276d0) at ostream.c:85
#5  0x7a695e8f1738 in o_stream_copy_error_from_parent
(_stream=_stream@entry=0xc8be5b27640) at ostream.c:434
#6  0x7a695e83c5cc in o_stream_zlib_flush (stream=0xc8be5b27640) at
ostream-zlib.c:227
#7  0x7a695e8f09cd in o_stream_flush
(stream=stream@entry=0xc8be5b276d0) at ostream.c:147
#8  0x7a695e83c06f in o_stream_zlib_close (stream=0xc8be5b27640,
close_parent=true) at ostream-zlib.c:35
#9  0x7a695e8f0375 in o_stream_close_full
(stream=stream@entry=0xc8be5b276d0,
close_parents=close_parents@entry=true) at ostream.c:49
#10 0x7a695e8f06e2 in o_stream_close
(stream=stream@entry=0xc8be5b276d0) at ostream.c:85
#11 0x7a695e8f1738 in o_stream_copy_error_from_parent
(_stream=_stream@entry=0xc8be5b27640) at ostream.c:434
#12 0x7a695e83c5cc in o_stream_zlib_flush (stream=0xc8be5b27640) at
ostream-zlib.c:227
#13 0x7a695e8f09cd in o_stream_flush
(stream=stream@entry=0xc8be5b276d0) at ostream.c:147
#14 0x7a695e83c06f in o_stream_zlib_close (stream=0xc8be5b27640,
close_parent=true) at ostream-zlib.c:35
#15 0x7a695e8f0375 in o_stream_close_full
(stream=stream@entry=0xc8be5b276d0,
close_parents=close_parents@entry=true) at ostream.c:49
#16 0x7a695e8f06e2 in o_stream_close
(stream=stream@entry=0xc8be5b276d0) at ostream.c:85
#17 0x7a695e8f1738 in o_stream_copy_error_from_parent
(_stream=_stream@entry=0xc8be5b27640) at ostream.c:434
#18 0x7a695e83c5cc in o_stream_zlib_flush (stream=0xc8be5b27640) at
ostream-zlib.c:227
#19 0x7a695e8f09cd in o_stream_flush
(stream=stream@entry=0xc8be5b276d0) at ostream.c:147
#20 0x7a695e83c06f in o_stream_zlib_close (stream=0xc8be5b27640,
close_parent=true) at ostream-zlib.c:35
#21 0x7a695e8f0375 in o_stream_close_full
(stream=stream@entry=0xc8be5b276d0,
close_parents=close_parents@entry=true) at ostream.c:49
#22 0x7a695e8f06e2 in o_stream_close
(stream=stream@entry=0xc8be5b276d0) at ostream.c:85
#23 0x7a695e8f1738 in o_stream_copy_error_from_parent
(_stream=_stream@entry=0xc8be5b27640) at ostream.c:434
#24 0x7a695e83c5cc in o_stream_zlib_flush (stream=0xc8be5b27640) at
ostream-zlib.c:227
#25 0x7a695e8f09cd in o_stream_flush
(stream=stream@entry=0xc8be5b276d0) at ostream.c:147
#26 0x7a695e83c06f in o_stream_zlib_close (stream=0xc8be5b27640,
close_parent=true) at ostream-zlib.c:35

[...]
#285878 0x7a695e8f0adc in o_stream_default_cork
(_stream=0xc8be5b27640, set=) at ostream.c:419
#285879 o_stream_default_cork (_stream=0xc8be5b27640, set=) at ostream.c:412
#285880 0x0c8be506b72d in client_input (client=0xc8be5b07b00) at
imap-client.c:945
#285881 0x7a695e8e4867 in io_loop_call_io (io=0xc8be5b8f370) at
ioloop.c:387
#285882 0x7a695e8e5d1f in io_loop_handler_run
(ioloop=ioloop@entry=0xc8be5ab50f0) at ioloop-epoll.c:220
#285883 0x7a695e8e4178 in io_loop_run (ioloop=0xc8be5ab50f0) at
ioloop.c:411
#285884 0x7a695e87a847 in master_service_run (service=0xc8be5ab4f80,
callback=callback@entry=0xc8be5077f20 ) at
master-service.c:566
#285885 0x0c8be50785d4 in main (argc=1, argv=0xc8be5ab4d50) at
main.c:400

And gdb is killing by OOM. I suspect this can be related to imapc.

Regards,
Marcin


Re: [Dovecot] Dovecot MTA

2013-11-12 Thread Reindl Harald
tell that Noel which is blocking my messages and so did
not read what i quoted from Benny's trolling but opens
his mouth

tell that Noel which is abusing his power by set complete
IP-ranges on RBL lists he maintains because he does not
like one person using a mailserver on that range besides
many other people

>> blocked using
>>  bl.alt-backspace.org; This range is used by caustic Internet troll Harald
>>  Reindl h.rei...@thelounge.net / ACCESS DENIED - see
>> http://www.alt-backspace.org/usage.php#misc (in reply to RCPT TO command)

tell that Noel which recommends redirect to our ISP

>> if allof (header :contains "From" "thelounge.net", header :contains "From" 
>> "rhsoft.net")
>> {
>> redirect "ab...@inode.at";
>> }

Am 12.11.2013 10:36, schrieb Martin Rabl:
> Pls, people, be kind and polite!
> Thats not the way for talking to each other!
> Greetings,
> Martin
> 
> Am 12.11.2013 10:30, schrieb Reindl Harald:
>> Am 12.11.2013 02:14, schrieb Noel Butler:
>>> On 12/11/2013 04:28, Benny Pedersen wrote:
 Edwardo Garcia skrev den 2013-11-11 11:58:
> But is dovecot job to authenticate,  mysql replicate fine, it is dovecot
> that is not fine by  ignoring desire effect by only talk localhost and not
> any other unless locahost auth not respond.

 so move to postgresql/mysql backend and change from dovecot to dbmail ?

 why blame dovecot for using fs mail store ?

 is your problem unstable nfs ?

 give up and get google app mx :)
>>>
>>>
>>> WTF drugs are you on? Or maybe its more to the point of what medication 
>>> you're not taking
>>
>> you smartass better should have read all your mails before
>> suggest someone should reridect my repsones to our ISP
>> in your previous answer
>>
>> oh, yeah, i know, you are not reading this but have the mouth
>> open and playing the saint internet police



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot MTA

2013-11-12 Thread Martin Rabl

Pls, people, be kind and polite!
Thats not the way for talking to each other!
Greetings,
  Martin

Am 12.11.2013 10:30, schrieb Reindl Harald:

Am 12.11.2013 02:14, schrieb Noel Butler:

On 12/11/2013 04:28, Benny Pedersen wrote:

Edwardo Garcia skrev den 2013-11-11 11:58:

But is dovecot job to authenticate,  mysql replicate fine, it is dovecot
that is not fine by  ignoring desire effect by only talk localhost and not
any other unless locahost auth not respond.


so move to postgresql/mysql backend and change from dovecot to dbmail ?

why blame dovecot for using fs mail store ?

is your problem unstable nfs ?

give up and get google app mx :)



WTF drugs are you on? Or maybe its more to the point of what medication you're 
not taking


you smartass better should have read all your mails before
suggest someone should reridect my repsones to our ISP
in your previous answer

oh, yeah, i know, you are not reading this but have the mouth
open and playing the saint internet police




--
Viele Grüße,

  Martin Rabl


Re: [Dovecot] Dovecot MTA

2013-11-12 Thread Reindl Harald


Am 12.11.2013 02:14, schrieb Noel Butler:
> On 12/11/2013 04:28, Benny Pedersen wrote:
>> Edwardo Garcia skrev den 2013-11-11 11:58:
>>> But is dovecot job to authenticate,  mysql replicate fine, it is dovecot
>>> that is not fine by  ignoring desire effect by only talk localhost and not
>>> any other unless locahost auth not respond.
>>
>> so move to postgresql/mysql backend and change from dovecot to dbmail ?
>>
>> why blame dovecot for using fs mail store ?
>>
>> is your problem unstable nfs ?
>>
>> give up and get google app mx :)
> 
> 
> WTF drugs are you on? Or maybe its more to the point of what medication 
> you're not taking

you smartass better should have read all your mails before
suggest someone should reridect my repsones to our ISP
in your previous answer

oh, yeah, i know, you are not reading this but have the mouth
open and playing the saint internet police



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] blames for using maillists ?

2013-11-12 Thread Reindl Harald


Am 12.11.2013 02:00, schrieb Noel Butler:
> On 12/11/2013 05:59, Benny Pedersen wrote:
>> why do you not simply shut up?
>>
>> # sieve rule
>> require ["imap4flags"];
>> # rule:[reindl]
>> if allof (header :contains "From" "h.rei...@thelounge.net")
>> {
>> setflag ["\\Seen","\\Flagged"];
>> stop;
>> }
> 
> 
> haha is this jackass still polluting the list?
> 
> 
> Better still to forward to his upstream provider
> 
> if allof (header :contains "From" "thelounge.net", header :contains "From" 
> "rhsoft.net")
> {
> redirect "ab...@inode.at";
> }

who do you think you are?
better look in the archives what i write Benny
he surely knows why i stripped the quotes

P.S.:
if you throw away messages of somebody and so not knowing
the context better be quiet - realize that people like
you misusing their power of maintain a meaningless
australian RBL are not taken serious



signature.asc
Description: OpenPGP digital signature