[Dovecot] How To Remove?

2013-01-02 Thread Christian Guastella
hi,

i was looking to setup imap on an old PPC G5 mac i have running as webserver 
and gateway/firewall machine.. found a dovecot-2.1.7-0.pkg online, and it 
looked like the typical easy install thing.. someplace called rudix made the 
package.. 

not much there in way of instructions, but after i finally figured out where 
the executable had been stuck i tried it, just to see what kinda config errors 
would be thrown-up.. got the line below..

/usr/local/sbin/dovecot: Bad CPU type in executable

so i'm guessing this means dovecot is intel-cpu only? i don't have the time or 
patience to read all the unix junk, and get a compiler, do all the make files 
etc.. been years since i did any of that, and don't want to do it again.. 

the pkg installer did not come with an uninstaller, and since the install is 
pretty much useless, is there some list of what it installed so i can get rid 
of it all?

thanks, christian

Re: [Dovecot] How To Remove?

2013-01-02 Thread Charles Marcus
On 2013-01-01 12:13 PM, Christian Guastella  
wrote:

i was looking to setup imap on an old PPC G5 mac i have running as webserver 
and gateway/firewall machine.. found a dovecot-2.1.7-0.pkg online, and it 
looked like the typical easy install thing.. someplace called rudix made the 
package..

not much there in way of instructions, but after i finally figured out where 
the executable had been stuck i tried it, just to see what kinda config errors 
would be thrown-up.. got the line below..

/usr/local/sbin/dovecot: Bad CPU type in executable

so i'm guessing this means dovecot is intel-cpu only?


Lol! No, of course not - but it may mean that the package you grabbed 
was compiled for an Intel CPU...



i don't have the time or patience to read all the unix junk, and get a 
compiler, do all the make files etc.. been years since i did any of that, and 
don't want to do it again..

the pkg installer did not come with an uninstaller, and since the install is 
pretty much useless, is there some list of what it installed so i can get rid 
of it all?


This really has nothing to do with dovecot, you should be asking on a 
Mac/PPC list...


--

Best regards,

Charles



Re: [Dovecot] How To Remove?

2013-01-02 Thread Bob Miller


> the pkg installer did not come with an uninstaller, and since the install is 
> pretty much useless, is there some list of what it installed so i can get rid 
> of it all?

This would actually be a function of your package manager.  For example
on debian you can do dpkg -L  to get a list of files.

Your package manager should also have an uninstalling utility of its
own.  Again for example on debian apt-get remove .  

So your package shouldn't need to come with its own installer, nor
should you need to extract the files by hand...

> 
> thanks, christian



Re: [Dovecot] How To Remove?

2013-01-02 Thread Bob Miller
>  
> 
> So your package shouldn't need to come with its own installer, nor
> should you need to extract the files by hand...

Bah! My neural pathways are shorting out.  That should read:

So your package shouldn't need to come with its own uninstaller, nor
should you need to delete the files by hand...

> 
> > 
> > thanks, christian
> 



Re: [Dovecot] How To Remove?

2013-01-02 Thread Reindl Harald


Am 03.01.2013 01:31, schrieb Bob Miller:
> 
> 
>> the pkg installer did not come with an uninstaller, and since the install is 
>> pretty much useless, is there some list of what it installed so i can get 
>> rid of it all?
> 
> This would actually be a function of your package manager.  For example
> on debian you can do dpkg -L  to get a list of files.
> 
> Your package manager should also have an uninstalling utility of its
> own.  Again for example on debian apt-get remove .  
> 
> So your package shouldn't need to come with its own installer, nor
> should you need to extract the files by hand...

but he did install some crap outside the package manager
whyever people are doing this, he needs a full file-list
of fovecot to remove the crap installed bypassing the
package manager

below the files a sane 2.1.12 package installs
replace /usr/ by /usr/local and you shoudl find most of them

the next time build a package which is at least on rpm-based
systems easy, i never needed to install aynthing without
a RPM on a lot of servers by building RPMs at my own

[root@srv-rhsoft:~]$ rpm -q --filesbypkg dovecot-mysql | grep -v /var/run
dovecot-mysql /usr/lib64/dovecot/auth/libdriver_mysql.so
dovecot-mysql /usr/lib64/dovecot/dict/libdriver_mysql.so
dovecot-mysql /usr/lib64/dovecot/libdriver_mysql.so

[root@srv-rhsoft:~]$ rpm -q --filesbypkg dovecot | grep -v /var/run
dovecot   /etc/dovecot
dovecot   /etc/dovecot/conf.d
dovecot   /etc/dovecot/conf.d/10-auth.conf
dovecot   /etc/dovecot/conf.d/10-director.conf
dovecot   /etc/dovecot/conf.d/10-logging.conf
dovecot   /etc/dovecot/conf.d/10-mail.conf
dovecot   /etc/dovecot/conf.d/10-master.conf
dovecot   /etc/dovecot/conf.d/10-ssl.conf
dovecot   /etc/dovecot/conf.d/15-lda.conf
dovecot   /etc/dovecot/conf.d/15-mailboxes.conf
dovecot   /etc/dovecot/conf.d/20-imap.conf
dovecot   /etc/dovecot/conf.d/20-lmtp.conf
dovecot   /etc/dovecot/conf.d/20-pop3.conf
dovecot   /etc/dovecot/conf.d/90-acl.conf
dovecot   /etc/dovecot/conf.d/90-plugin.conf
dovecot   /etc/dovecot/conf.d/90-quota.conf
dovecot   /etc/dovecot/conf.d/auth-checkpassword.conf.ext
dovecot   /etc/dovecot/conf.d/auth-deny.conf.ext
dovecot   /etc/dovecot/conf.d/auth-ldap.conf.ext
dovecot   /etc/dovecot/conf.d/auth-master.conf.ext
dovecot   /etc/dovecot/conf.d/auth-passwdfile.conf.ext
dovecot   /etc/dovecot/conf.d/auth-sql.conf.ext
dovecot   /etc/dovecot/conf.d/auth-static.conf.ext
dovecot   /etc/dovecot/conf.d/auth-system.conf.ext
dovecot   /etc/dovecot/conf.d/auth-vpopmail.conf.ext
dovecot   /etc/dovecot/dovecot.conf
dovecot   /etc/pki/dovecot
dovecot   /etc/pki/dovecot/certs
dovecot   /etc/pki/dovecot/certs/dovecot.pem
dovecot   /etc/pki/dovecot/dovecot-openssl.cnf
dovecot   /etc/pki/dovecot/private
dovecot   /etc/pki/dovecot/private/dovecot.pem
dovecot   /etc/tmpfiles.d/dovecot.conf
dovecot   /usr/bin/doveadm
dovecot   /usr/bin/doveconf
dovecot   /usr/bin/dsync
dovecot   /usr/lib/systemd/system/dovecot.service
dovecot   /usr/lib64/dovecot
dovecot   /usr/lib64/dovecot/auth
dovecot   /usr/lib64/dovecot/auth/libauthdb_imap.so
dovecot   /usr/lib64/dovecot/dict
dovecot   /usr/lib64/dovecot/doveadm
dovecot   /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so
dovecot   
/usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so
dovecot   
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
dovecot   /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so
dovecot   /usr/lib64/dovecot/lib01_acl_plugin.so
dovecot   /usr/lib64/dovecot/lib02_imap_acl_plugin.so
dovecot   /usr/lib64/dovecot/lib02_lazy_expunge_plugin.so
dovecot   /usr/lib64/dovecot/lib05_pop3_migration_plugin.so
dovecot   /usr/lib64/dovecot/lib05_snarf_plugin.so
dovecot   /usr/lib64/dovecot/lib10_quota_plugin.so
dovecot   /usr/lib64/dovecot/lib11_imap_quota_plugin.so
dovecot   /usr/lib64/dovecot/lib11_trash_plugin.so
dovecot   /usr/lib64/dovecot/lib15_notify_plugin.so
dovecot   /usr/lib64/dovecot/lib20_autocreate_plugin.so
dovecot   /usr/lib64/dovecot/lib20_expire_plugin.so
dovecot   /usr/lib64/dovecot/lib2

[Dovecot] How to remove duplicate GUID messages from storage?

2012-04-21 Thread Daniel Parthey
Hi,

I tried to import messages like this:
doveadm import -u usern...@example.org 
mdbox:/mail/dovecot/example.org/username/mail mbox:/root/mail.txt all

This seemed to have imported the same messages in the mail storage,
as they were already there. And now I have got a lot of duplicates.

Then I deleted the mbox:/root/mail mail stuff from "mailboxes" folder
and the storage remained, with duplicate GUIDs.

The following command
doveadm -v force-resync -u usern...@example.org INBOX
outputs lots of messages like this one, with different GUID
doveadm(usern...@example.org): Error: mdbox 
/mail/dovecot/example.org/username/mail/storage: Duplicate GUID 
0b8a032d66a0924fb42cde5f8128 in m.55:45484041 and m.14:52173045

The messages at m.55:45484041 and m.14:52173045 have the same content,
since they were seemingly imported from the mail store itself,
they are in the storage twice now and require twice as much disk
space as before.

How can I manually remove these identical, duplicate messages
from the storage to save space? Dovecot does not do it
automatically.

Kind regards,
Daniel


Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-24 Thread Daniel Parthey
Daniel Parthey schrieb:
> I tried to import messages like this:
> doveadm import -u usern...@example.org 
> mdbox:/mail/dovecot/example.org/username/mail mbox:/root/mail.txt all
> 
> This seemed to have imported the same messages in the mail storage,
> as they were already there. And now I have got a lot of duplicates.
> 
> Then I deleted the mbox:/root/mail mail stuff from "mailboxes" folder
> and the storage remained, with duplicate GUIDs.
> 
> The following command
> doveadm -v force-resync -u usern...@example.org INBOX
> outputs lots of messages like this one, with different GUID
> doveadm(usern...@example.org): Error: mdbox 
> /mail/dovecot/example.org/username/mail/storage: Duplicate GUID 
> 0b8a032d66a0924fb42cde5f8128 in m.55:45484041 and m.14:52173045
> 
> The messages at m.55:45484041 and m.14:52173045 have the same content,
> since they were seemingly imported from the mail store itself,
> they are in the storage twice now and require twice as much disk
> space as before.
> 
> How can I manually remove these identical, duplicate messages
> from the storage to save space? Dovecot does not do it
> automatically.

Should I edit the mdbox storage files directly using vim in order to remove the
duplicate messages which I imported by accident, or is there any dovecot mdbox
"repair toolkit" with removes duplicate messages?

I attached the dovecot version and config.

Regards,
Daniel

# doveconf -n
# 2.0.20: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-40-server x86_64 Ubuntu 10.04.4 LTS 
auth_cache_negative_ttl = 0
auth_cache_size = 10 M
auth_verbose = yes
auth_verbose_passwords = sha1
deliver_log_format = mailbox: deliver: msgid=%m from=%f: %$
dict {
  quota = mysql:/etc/dovecot/conf.d/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
login_greeting = Mailbox
login_log_format = mailbox: login: %$: %s
login_trusted_networks = 10.129.3.0/24
mail_debug = yes
mail_gid = vmail
mail_home = /mail/dovecot/%d/%n
mail_location = mdbox:~/mail
mail_log_prefix = "mailbox: mail: %s(%u): "
mail_plugins = quota
mail_privileged_group = vmail
mail_uid = vmail
managesieve_implementation_string = Sieve
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
mdbox_rotate_interval = 1 weeks
mdbox_rotate_size = 50 M
mmap_disable = yes
passdb {
  args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota = dict:User quota::proxy::quota
  quota_rule = *:storage=10G
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service dict {
  unix_listener dict {
group = vmail
mode = 0660
  }
}
service imap-login {
  inet_listener imap {
port = 19143
  }
}
service lmtp {
  inet_listener lmtp {
address = *
port = 19024
  }
}
service managesieve-login {
  inet_listener sieve {
port = 19200
  }
}
service pop3-login {
  inet_listener pop3 {
port = 19110
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning
  unix_listener quota-warning {
user = vmail
  }
  user = dovecot
}
ssl = no
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
  driver = sql
}
verbose_proctitle = yes
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  mail_plugins = quota imap_quota
}
protocol lmtp {
  mail_plugins = quota sieve
}


Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-25 Thread Timo Sirainen
On 21.4.2012, at 23.29, Daniel Parthey wrote:

> The following command
> doveadm -v force-resync -u usern...@example.org INBOX
> outputs lots of messages like this one, with different GUID
> doveadm(usern...@example.org): Error: mdbox 
> /mail/dovecot/example.org/username/mail/storage: Duplicate GUID 
> 0b8a032d66a0924fb42cde5f8128 in m.55:45484041 and m.14:52173045

I think this is a force-resync bug and it shouldn't really complain about 
duplicates. Although I'm not entirely sure why with you it's complaining about 
them at all. I have anyway in TODO to look into this..

> How can I manually remove these identical, duplicate messages
> from the storage to save space? Dovecot does not do it
> automatically.

Perhaps force-resync + purge should do that, but currently it doesn't.

Also it would be nice if doveadm import didn't add duplicates in the first 
place. This is also something for which I have vague plans, because it would 
help dsync as well.



Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-25 Thread Daniel Parthey
Timo Sirainen schrieb:
> On 21.4.2012, at 23.29, Daniel Parthey wrote:
> 
> > The following command
> > doveadm -v force-resync -u usern...@example.org INBOX
> > outputs lots of messages like this one, with different GUID
> > doveadm(usern...@example.org): Error: mdbox 
> > /mail/dovecot/example.org/username/mail/storage: Duplicate GUID 
> > 0b8a032d66a0924fb42cde5f8128 in m.55:45484041 and m.14:52173045
> 
> I think this is a force-resync bug and it shouldn't really complain about 
> duplicates.
> Although I'm not entirely sure why with you it's complaining about them at 
> all. I have anyway in TODO to look into this..

Maybe this is because I "manually" deleted all the mailboxes directories (rm 
-rf)
containing the duplicates, which one should better avoid with mdbox 
mailboxes... :(

So there is no "meta information" anymore, just the duplicate messages in the 
storage.
and dovecot would need to "guess" where these messages from the store belong.

> > How can I manually remove these identical, duplicate messages
> > from the storage to save space? Dovecot does not do it
> > automatically.
> 
> Perhaps force-resync + purge should do that, but currently it doesn't.

I already tried both, and purge is even running as a nightly cronjob.

> Also it would be nice if doveadm import didn't add duplicates in the first 
> place.
> This is also something for which I have vague plans, because it would help 
> dsync as well.

Thanks for looking into this.

I would really appreciate this idea of "duplicate GUID prevention" while
duplicate messages (with different GUIDs) should probably be allowed.
Maybe someone wants to store the same message several times...

Regards,
Daniel


[Dovecot] How to remove Dovecot (LMTP) information from Email header

2014-01-02 Thread Anant

Hello All,

I want to remove  Dovecot (LMTP) information from Email Header, Please 
help me. I am using Dovecot 2.0.9 with Exim.


Received: from XX.XXblue.co.uk
by XX.XXblue.co.uk*(Dovecot) with LMTP id*  XIuTJkJFxVLKTwAAG2fxGQ
for ; Thu, 02 Jan 2014 10:59:28 +
Received: from [210.7.64.2] (helo=[192.168.100.71])
by solo.techblue.co.uk with esmtp (Exim 4.72)
(envelope-from )
id 1Vyfzr-0005Oy-7H
for anant.saras...@techblue.co.uk; Thu, 02 Jan 2014 10:59:28 +



Thanks & Regards,
Anant Saraswat



Re: [Dovecot] How to remove Dovecot (LMTP) information from Email header

2014-01-02 Thread Adrian Zaugg

Dear Anant

According to RFC 3848 you should not remove those headers. RFC 5321 
(SMTP), Section 4.4. also says that trace information is mandatory to 
add and RFC 2033 (LMTP) makes no exception to this.
If you do not like those headers, use LDA for local storage, it doesn't 
add any headers.


Regards, Adrian.

On 02/01/14 15:03, Anant wrote:

Hello All,

I want to remove  Dovecot (LMTP) information from Email Header, Please
help me. I am using Dovecot 2.0.9 with Exim.

Received: from XX.XXblue.co.uk
 by XX.XXblue.co.uk*(Dovecot) with LMTP id*  XIuTJkJFxVLKTwAAG2fxGQ
 for ; Thu, 02 Jan 2014 10:59:28 +
Received: from [210.7.64.2] (helo=[192.168.100.71])
 by solo.techblue.co.uk with esmtp (Exim 4.72)
 (envelope-from )
 id 1Vyfzr-0005Oy-7H
 for anant.saras...@techblue.co.uk; Thu, 02 Jan 2014 10:59:28 +



Thanks & Regards,
Anant Saraswat






Re: [Dovecot] How to remove Dovecot (LMTP) information from Email header

2014-01-02 Thread Anant

Dear Adrian,

Thanks for your reply , But I feel that I am ok with this header then.

Regards,
Anant Saraswat


On Thursday 02 January 2014 08:12 PM, Adrian Zaugg wrote:

Dear Anant

According to RFC 3848 you should not remove those headers. RFC 5321 
(SMTP), Section 4.4. also says that trace information is mandatory to 
add and RFC 2033 (LMTP) makes no exception to this.
If you do not like those headers, use LDA for local storage, it 
doesn't add any headers.


Regards, Adrian.

On 02/01/14 15:03, Anant wrote:

Hello All,

I want to remove  Dovecot (LMTP) information from Email Header, Please
help me. I am using Dovecot 2.0.9 with Exim.

Received: from XX.XXblue.co.uk
 by XX.XXblue.co.uk*(Dovecot) with LMTP id* XIuTJkJFxVLKTwAAG2fxGQ
 for ; Thu, 02 Jan 2014 10:59:28 
+

Received: from [210.7.64.2] (helo=[192.168.100.71])
 by solo.techblue.co.uk with esmtp (Exim 4.72)
 (envelope-from )
 id 1Vyfzr-0005Oy-7H
 for anant.saras...@techblue.co.uk; Thu, 02 Jan 2014 10:59:28 +



Thanks & Regards,
Anant Saraswat








[Dovecot] How to remove leading dots from folder names with Layout=FS

2009-11-19 Thread Tony Rutherford

We are looking to move to Dovecot from a customized Courier implementation.  
Our current format is maildir-like. It's basically a filesystem 
layout...hierarchies are identified by real directories/subdirectories.  Our 
folder names do have a leading dot and for reasons related to other systems, we 
do not want to change our format at all.The Layout=FS is very close to working 
for us.  The  problem we have is the folder names are coming back with the 
leading dot to the clients.  Is there a way through configuration to have the 
leading dot removed?So, just to clarify, under our maildir home, we have 
directories (folders) for example: .Trash, .Sent-Mail, etc.  Then, any child 
folders would be resident in the physical subdirectories.  Like I said, things 
appear to work ok, except our List is coming back with .Trash, .Sent-Mail, 
etcwe would like simply Trash, Sent-Mail, etc.Thanks,...Tony 

This message is intended solely for the individual(s) to whom 
it is addressed. If you are not the intended recipient, any 
dissemination or copying is strictly prohibited. If you 
believe you received this message in error, please notify 
the sender and delete from your system. Thank you.


Re: [Dovecot] How to remove leading dots from folder names with Layout=FS

2009-11-23 Thread Timo Sirainen
On Thu, 2009-11-19 at 12:49 -0500, Tony Rutherford wrote:
> We are looking to move to Dovecot from a customized Courier
> implementation.  Our current format is maildir-like. It's basically a
> filesystem layout...hierarchies are identified by real
> directories/subdirectories.  Our folder names do have a leading dot
> and for reasons related to other systems, we do not want to change our
> format at all.The Layout=FS is very close to working for us.  The
> problem we have is the folder names are coming back with the leading
> dot to the clients.  Is there a way through configuration to have the
> leading dot removed?

No. You're doing something way too weird.



signature.asc
Description: This is a digitally signed message part