[Dovecot] Dovecot Or Debian, Boot-Time Error Can't assign requested address

2011-02-06 Thread Sabahattin Gucukoglu
Hi all,

I have a really weird problem, which for now I have solved by just binding to 
the IPv6 wildcard address ::.

Using the latest packages from Debian unstable (1.x series), I set up a tunnel 
with tunnelbroker.net for IPv6.  I assign two of the delegated addresses in my 
/48 using IP aliases in /etc/network/interfaces to my ethernet interface (eth0 
and eth0:1).  All other servers start and run, binding to the primary address 
(eth0) assigned.  The packet forwarder is not necessary, so it isn't turned on 
using sysctl.  But Dovecot will only start if I launch it using the init script 
after boot.  Until then, in syslog there is always:
Fatal: listen(2001:470:::1): Can't assign requested address

Anybody have the slightest clue what's going on here?  Debian bug, or Dovecot?  
I suspect some problem with initscript order, yet inspection shows no apparent 
problem; network starts up before services.  Very, very odd.

Cheers,
Sabahattin


[Dovecot] Slightly OT: iPhone IMAP IDLE

2010-04-11 Thread Sabahattin Gucukoglu
Hi all,

Does anybody know whether iPhone is supposed to be able to do IMAP IDLE?  I 
know it does Push but that seems to be using Apple's Mobile Me and Exchange.

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


Re: [Dovecot] test

2010-03-25 Thread Sabahattin Gucukoglu
On 25 Mar 2010, at 14:19, Timo Sirainen wrote:
On Thu, 2010-03-25 at 16:17 +0200, to...@example.com wrote:
 test
 
 Ugh. I guess mailman doesn't use From: line to check if user is
 subscribed. :)

It does if you ask it to.  It uses the From: header as the authentication for 
the sender.  So I change my bounce and reply address but leave the From: 
intact, then I get bounces and replies without filtering.

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


Re: [Dovecot] Removing Duplicates

2010-03-23 Thread Sabahattin Gucukoglu
On 14 Mar 2010, at 11:41, Leonardo Rodrigues wrote:
Em 14/03/2010 08:21, Sabahattin Gucukoglu escreveu:
 I am starting fresh with a local repository of mails, which almost certainly 
 have duplicates in them.  I am going to use maildirs, and ensure all mails 
 are input with CRLFs.
 
 The question is: does anybody know how I can find and remove duplicates, 
 either while injecting mail with IMAP, or afterward?  I can use tools to 
 find duplicate Message-IDs, but don't know of a way to remove duplicates in 
 mailboxes that are already imported as opposed to incoming mail.  Perhaps 
 there is a way to use the IMAP protocol for this?

  i've used console tool named fdupes to find duplicate messages on Maildirs. 
 That's done directly on the filesystem, there's no IMAP or dovecot involved.
 
Saved about 200M in one particularly large mailbox.  Thanks!

Thanks to others for their suggestions, now working with delIMAPdups since I 
have mails (not many, but a few) which have identical content and are only 
different in their Content-Type header lines.  One copy will have the 
declaration on one line, the other has its declarations folded across multiple 
lines for each parameter.  Any idea why *that* might be?

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


[Dovecot] Debian Unstable Packages

2010-03-22 Thread Sabahattin Gucukoglu
Hi all,

Speaking of Debian, what relative position are the Debian Unstable (Sid) 
packages in to the latest Bleeding edge builds of RCS-based releases from the 
Wiki?  If using Unstable is it recommended to stay or use the newer ones?  I'd 
say it was production, yes, but I'm forgiving of problems in the latest 
releases, so long as they aren't meant to be beta (i.e., known breakages).

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-20 Thread Sabahattin Gucukoglu
On 20 Mar 2010, at 01:48, Daryl Tester wrote:
Timo Sirainen wrote:
 [Sendmail mailer arguments]
 Change the last line (Argv) to
 
 A=/opt/dovecot-1.2.9/libexec/dovecot/deliver -d $u
 
 ...
 
 Well, at least I updated the wiki now so that future people won't have
 this problem. :)
 
 To be fair, this was only a problem because I setuid'd the binary as root,
 which causes the extra permissions checking.  The wiki page uses a non-
 root ID, which I couldn't get to work (the previously mentioned setgid()
 failure), but at least wouldn't have fallen over in this fashion.

I skipped this thread too soon.  The mailer flags a=... does include argv[0]. 
 That tripped me up when I was first doing Sendmail, too.

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


[Dovecot] mail_save_crlf Semantics

2010-03-18 Thread Sabahattin Gucukoglu
Hi,

It's not clear from the configuration when CR/LF conversion happens with 
mail_save_crlf set.  Does this only happen with appends, or do all mails 
handled by Dovecot always get converted when opened?

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


Re: [Dovecot] [xmail] XMail + Dovecot

2010-03-17 Thread Sabahattin Gucukoglu
What, exactly, is the problem?  How do you want Dovecot and XMail to work 
together?

I am setting up Dovecot to read from standard Maildirs in user home 
directories, because I am using a separate delivery agent (TMDA but would work 
for maildrop, Dovecot's deliver program and others) to deliver mails using 
mailproc.tab.  So, even while XMail runs as root, Dovecot need not and there is 
no problem getting it to work just like with other MTAs.  XMail can't help with 
delivery to Maildir because it runs as root, and unless you mess about with 
packet filters to non-root it you'll still end up using for instance XACLs to 
allow Dovecot to read the mails.

For authentication of XMail to Dovecot you would have to write external 
authentication helpers that use Dovecot's protocol.  Or, you can use 
checkpassword or PAM-POP3 or something else to try getting Dovecot to 
authenticate against the active XMail list of users.  Or you can just do what I 
do, maintain two databases and keep them in sync.

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


[Dovecot] Removing Duplicates

2010-03-14 Thread Sabahattin Gucukoglu
Hi all,

I am starting fresh with a local repository of mails, which almost certainly 
have duplicates in them.  I am going to use maildirs, and ensure all mails are 
input with CRLFs.

The question is: does anybody know how I can find and remove duplicates, either 
while injecting mail with IMAP, or afterward?  I can use tools to find 
duplicate Message-IDs, but don't know of a way to remove duplicates in 
mailboxes that are already imported as opposed to incoming mail.  Perhaps there 
is a way to use the IMAP protocol for this?

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature


[Dovecot] Pegasus Mail 4.41 OK With Dovecot

2008-03-25 Thread Sabahattin Gucukoglu
Pegasus Mail 4.41 is an excellent client on Windows.  It works fine with 
both Dovecot IMAP and POP3 (APOP, IMAP LOGIN commands only - no SASL).  
Responds to async events.  Supports IMAP STARTTLS.  Does not use IDLE - 
periodic CHECKs.  Fast and sensible header caches, light on resources.  
Offline mode, but read-only, using cache (prefetch options available if 
body caching enabled, it's not by default to save disk space).  Searching 
is still a bit slow, although it does its best to use IMAP substring 
searches when it's possible even though the folder metadata is apparently 
managed locally.  Excellent configurability; includes semantics for the 
different types of separator, prefixes, and a choice of whether or not to 
support folders w/ messages or w/o in folders.  Moves mails for trash; 
only purges from the Trash folder (expunge after every delete operation 
and don't provide end-user experience different than local folder 
management).  Provides several tricks for faster IMAP access, one of which 
is to assume only the client is using the mailbox (they can all be turned 
off).  Closed source.  But a very nice client, all round.

http://www.pmail.com/
http://community.pmail.com/

Cheers,
Sabahattin

-- 
Sabahattin Gucukoglu mailatsabahattindashgucukogludotcom
Address harvesters, snag this: [EMAIL PROTECTED]
Phone: +44 20 88008915
Mobile: +44 7986 053399
http://sabahattin-gucukoglu.com/



Re: [Dovecot] question about dovecot imap outlook clients

2008-03-11 Thread Sabahattin Gucukoglu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Joseph,

On 10 Mar 2008 at 16:53, Joseph Norris [EMAIL PROTECTED] said:

 on outlook, a message for certificates being trusted comes up, the user
 clicks yes and connection fails.

I can't think why that should happen at all.  Outlook uses the same SSL 
engine and certificate store as IE and IIS, I.E. the one built into the 
Windows NT OS.  So at best it should just be a warning that the 
certificate isn't trusted that the user can just ignore.  If not, it must 
be configurable somewhere in Outlook.

 Do I have to get an ssl certificate to make it work?  ( cost ouch!)

Theoretically not.  But it would be useful to avoid the warnings and give 
the users a sense of security.

 Is there a way around this using my own self-signed certificates?

Yes, if you import your certificate into the certificate stores of the 
machines your users use as a Trusted Root Certification Authority, you can 
use it to certify any host you like.  It can be done in quite a few ways, 
including with Security Policy, with scripts or by hand.

 Is there a cheaper ssl certificate service?

http://www.cacert.org/ .  I've not got enough good things to say about 
them.  The only real drawback is that initially the certificates only last 
six months a time, which turns out to be quite often enough for my small 
home site. :-)  On the other hand, it's FREE!  They have a nice script-
driven installer for the Root Certificate on IE under Windows, which means 
even MS Exchange servers can be cacert-powered in no time allowing for 
inbound STARTTLS from them (Exchange defaults to paranoia and won't talk 
[returns mail] if SSL doesn't verify when available).  Nice.

Cheers,
Sabahattin

- -- 
Sabahattin Gucukoglu mailatsabahattindashgucukogludotcom
Address harvesters, snag this: [EMAIL PROTECTED]
Phone: +44 20 88008915
Mobile: +44 7986 053399
http://sabahattin-gucukoglu.com/


-BEGIN PGP SIGNATURE-
Version: PGP 8
Comment: QDPGP - http://community.wow.net/grt/qdpgp.html

iQA/AwUBR9ZgsyNEOmEWtR2TEQIVXQCgpXubZDmf/tbl4PhTBJVMRiV3VtAAn3Yi
wTqt1mzGo1ZECWxPWyyzqlWA
=5+GE
-END PGP SIGNATURE-