Re: [Dovecot] pigeonhole sources no more available

2013-10-29 Thread Christian Felsing
Hello,

until problem is resolved, I provide that on
https://x.ip6.li/dovecot-2.2-pigeonhole-0.4.2.tar.gz

best regards
Christian Felsing

Am 29.10.13 04:05, schrieb m...@electronico.nc:
 Please excuse me for this message but I can't find the pigeonhole sources 
 available anymore.
 Points to (for latest sources) : 
 http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-pigeonhole-0.4.2.tar.gz



Re: [Dovecot] pigeonhole sources no more available

2013-10-29 Thread Tom Hendrikx

Hi,

The physical address details on both sites look the same, and the
domains share the rename-it dns infra. I guess Stephan simply screwed up
his vhost config...

See google cache for old site:

http://webcache.googleusercontent.com/search?q=cache:0A6QBfSIBDUJ:www.rename-it.nl/index.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D4%26Itemid%3D4+cd=2hl=enct=clnkgl=nlclient=ubuntu


Regards,
Tom

On 10/29/2013 04:49 AM, Noel Butler wrote:
 u someone doesnt use DNSSEC... its been hijacked me thinks
 
 http://www. medicalbits.  nl/    really?  :)
 
 
 On Tue, 2013-10-29 at 14:05 +1100, m...@electronico.nc wrote:
 
 Hi all,
 Please excuse me for this message but I can't find the pigeonhole 
 sources available anymore.
 This page : http://pigeonhole.dovecot.org/download.html
 Points to (for latest sources) : 
 http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-pigeonhole-0.4.2.tar.gz
 And it seems that : www.rename-it.nl
 is now : http://www.medicalbits.nl
 So we get 404 error ...
 Could someone point us the to right URL and, maybe, update 
 pigeonhole.dovecot.org ?
 Thanks in advance for your time.
 Nicolas
 
 
 




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] pigeonhole sources no more available

2013-10-29 Thread Stephan Bosch
On 10/29/2013 4:05 AM, m...@electronico.nc wrote:
 Hi all,
 Please excuse me for this message but I can't find the pigeonhole
 sources available anymore.
 This page : http://pigeonhole.dovecot.org/download.html
 Points to (for latest sources) :
 http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-pigeonhole-0.4.2.tar.gz
 And it seems that : www.rename-it.nl
 is now : http://www.medicalbits.nl
 So we get 404 error ...
 Could someone point us the to right URL and, maybe, update
 pigeonhole.dovecot.org ?
 Thanks in advance for your time.


Looks like the administrator renamed rename-it (pun intended) without
realizing that the Pigeonhole downloads were still located there. I
should have moved this ages ago, but I did it now.

I'll also make the old URL redirect to the new location (but that can
take a while still).

Regards,

Stephan.


Re: [Dovecot] recipient_delimiter deux

2013-10-29 Thread LuKreme
On 24 Oct 2013, at 08:54 , LuKreme krem...@kreme.com wrote:
 dovecot unix-   n   n   -   -  pipe flags=DRhu 
 user=user:group argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d 
 ${user}@${nexthop} -m ${extension}

I ran into a problem with this line in that the D flag generates an error if a 
message is sent to two virtual users.

warning: pipe flag `D' requires dovecot_destination_recipient_limit = 1

Also, I notice that on the dovecot2 page deliver is dovecot-lda.

I'm trying this right now and will see if there's any further errors:

main.cf:
dovecot_destination_recipient_limit = 1

master.cf
dovecotunix  -   n   n   -   -   pipe
flags=DRhu user=vpopmail:vchkpw argv=/usr/local/libexec/dovecot/dovecot-lda
-f ${sender} -d ${user}@${nexthop} -m ${extension}

-- 
You and me Sunday driving Not arriving



[Dovecot] Building the Antispam plugin fails

2013-10-29 Thread Michael Neurohr
Hi!
I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs
repository. Unfortunately this repo does not provide a packaged version of
the Antispam Plugin.

So I followed the steps outlined in the Dovecot Wiki [1].
But when running the command ./configure, I get stuck with the following
error:

checking for dovecot-config in /usr/local/lib/dovecot... not found
configure:
configure: Use --with-dovecot=DIR to provide the path to the dovecot-config
file.
configure: error: dovecot-config not found

So I downloaded the dovecot-devel package and run the configure command
again with the following command:
./configure --with-dovecot=/usr/include/dovecot
but with the same result.
I made sure the the directory /usr/include/dovecot does contain the
Dovecot header files.

What can I do next? Do I really also have to install Dovecot from the
sources only to get the Antispam Plugin working?

Thanks,
Michael

[1] http://wiki2.dovecot.org/Plugins/Antispam


[Dovecot] Encryption solution for messages at rest

2013-10-29 Thread Alan Brown



Date: Tue, 29 Oct 2013 08:54:04 +0100
From: Robert Schetterer r...@sys4.de
To: dovecot@dovecot.org
Subject: Re: [Dovecot] Encryption solution for messages at rest
Message-ID: 526f699c.9080...@sys4.de
Content-Type: text/plain; charset=ISO-8859-1


you shouldnt host mail/imap services on the same servers with massive
http hosting,



You shouldn't host anything else on a webserver FULLSTOP.

Webservers are best treated as disposable and should be heavily 
sandboxed. Any resources they can use should be vetted and ideally set 
as read only


Inbound external access should be firewalled down to the webserver ports 
and OUTBOUND traffic should be firewalled too (If it has no business 
initiating external connections then block all SYNs), in order to stop 
it becoming a DDoS zombie.


It's foolish (at best) to have mail servers running on a webserver, 
because if it's compromised it can immediately be used as a spam engine 
without much further effort.


At least if it has to hand mail off to another mailserver you have a 
chance to run outbound filtering on the emitted mail without worrying 
about that being compromised too.








Re: [Dovecot] Encryption solution for messages at rest

2013-10-29 Thread Timo Sirainen
On 28.10.2013, at 18.02, Douglas Mortensen d...@impalanetworks.com wrote:

 We have clients with various security  compliance requirements. Although not 
 required, it would be ideal to have messages encrypted at rest. We already 
 use SSL/TLS to secure the transmission of most email. However, it would be 
 nice to have them encrypted sitting on our server. Is anyone doing this? I 
 think that ideally, rather than full-disk encryption, we should use an 
 encryption that encrypts the actual email messages as they sit on our file 
 system. This way even if we ever had our server breached by an attacker, they 
 wouldn't be able to do anything with the messages. However, this would also 
 mean that if the attacker can't decrypt the files, than dovecot and postfix 
 still would need to. This means that the encryption key would need to be 
 available to the dovecot deamon. We'd either need to have it in a file that 
 is restricted to access only by dovecot (less secure), or use an encryption 
 passphrase for the certificate which would have to be typed in manually each 
 time that dovecot starts or restarts (more secure, but also more work and 
 possibility of disruption because the server can't restart gracefully without 
 a human being having to be present [although I don't think we have issues 
 with unexpected restarts anyway]).
 
 Is anyone doing anything like this with dovecot?

http://dovecot.org/patches/2.2/mail-filter.tar.gz could be used as the base for 
this.



Re: [Dovecot] Building the Antispam plugin fails

2013-10-29 Thread Pascal Volk
On 10/29/2013 03:48 PM Michael Neurohr wrote:
 …
 I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs
 repository. …
 …
 configure: Use --with-dovecot=DIR to provide the path to the dovecot-config
 file.
 configure: error: dovecot-config not found
^^
 
 So I downloaded the dovecot-devel package and run the configure command
 again with the following command:
 ./configure --with-dovecot=/usr/include/dovecot
 but with the same result.
 I made sure the the directory /usr/include/dovecot does contain the
 Dovecot header files.

Yeah, dovecot-devel-2.2.5-….rpm installs some headers into
/usr/include/dovecot.
BUT: The error message says:

error: dovecot-config not found

The file dovecot-config is installed under /usr/lib/dovecot.

So use: ./configure --with-dovecot=/usr/lib/dovecot


HTH
Pascal
-- 
The trapper recommends today: defaced.1330...@localdomain.org


Re: [Dovecot] Building the Antispam plugin fails

2013-10-29 Thread Michael Neurohr
Aaahh!
I didn't realize, that dovecot-config is a file...
Thanks for your help!
Now everything is working :-)

Michael

On 29.10.2013 18:24, Pascal Volk wrote:
 On 10/29/2013 03:48 PM Michael Neurohr wrote:
 …
 I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs
 repository. …
 …
 configure: Use --with-dovecot=DIR to provide the path to the dovecot-config
 file.
 configure: error: dovecot-config not found
 ^^

 So I downloaded the dovecot-devel package and run the configure command
 again with the following command:
 ./configure --with-dovecot=/usr/include/dovecot
 but with the same result.
 I made sure the the directory /usr/include/dovecot does contain the
 Dovecot header files.
 
 Yeah, dovecot-devel-2.2.5-….rpm installs some headers into
 /usr/include/dovecot.
 BUT: The error message says:
 
   error: dovecot-config not found
 
 The file dovecot-config is installed under /usr/lib/dovecot.
 
 So use: ./configure --with-dovecot=/usr/lib/dovecot
 
 
 HTH
 Pascal
 


[Dovecot] Problem with dovecot-lda

2013-10-29 Thread Wolfgang Ganzert
Hello Ladies and Gentlemen,

first of all I have to say that dovecot is really impressive. I seems to be a 
very goot IMAP server and has in general a good documentation.

I'm a beginner regarding the administration so please excuse if my questions 
sound silly but I want to learn to administrate these sophisticated things.

Now here's my configuration:
Linux openSuSE 12.1
Postfix 2.8.8
Dovecot 2.0.16

Boundary condition:
Postfix as smtp (Postfix is configured as relay server; mail is sent to 
smtp.web.de if mail is not locally distributed)
Dovecot  as IMAP server in my private network (192.168)

Situation:
I want to store outgoing mail which is send by postfix also in a SENT folder 
in Dovecot. The SENT folder is available and created through the plugin 
autocreate. The main.cf file from postfix contains the following mailbox 
command:

mailbox_command = /usr/lib/dovecot/dovecot-lda -f $SENDER -a $RECIPIENT -m 
SENT

If I send a simple mail from the shell with the following command

echo Hello me | mail -s Dovecot test 50, shell nach SENT $USER

the mail is send to my mailbox and stored in the folder SENT as unread.

Problem:
1.
I would expect to have to mails coming in; one in my SENT folder because 
this is copy of the mail and another one which is the incoming folder because 
the mail was sent to me. But, there is no mail in the incoming folder.
2.
If I use a mail client like kmail2 the same thing happens. The mail is 
distributed to the SENT folder but there's no copy in the incoming folder.
3.
If I send a mail to my adress at @web.de with the postfix configuration from 
above I do not receive the mail at web.de. 
4.
If I send a mail to my adress at @web.de with a postfix simplified mailbox 
command NOT containing the mailbox with -m, then mail is send to web.de and 
there I receive it in the incoming box. This is the simplified command:
mailbox_command = /usr/lib/dovecot/dovecot-lda -f $SENDER -a $RECIPIENT

Summary:
All examples from above show that I do not get a COPY of the outgoing mail in 
my SENT folder but it's the REAL mail. 

Can You please give me some advice what to do?

Thank You!

Wolfgang

P.S.: In /var/log/mail and /var/log/dovecot.log I do not get any errors.






Re: [Dovecot] Problem with dovecot-lda

2013-10-29 Thread Tom Hendrikx
On 29-10-13 22:00, Wolfgang Ganzert wrote:
 Hello Ladies and Gentlemen,
 
 first of all I have to say that dovecot is really impressive. I seems to be a 
 very goot IMAP server and has in general a good documentation.
 
 I'm a beginner regarding the administration so please excuse if my questions 
 sound silly but I want to learn to administrate these sophisticated things.
 
 Now here's my configuration:
 Linux openSuSE 12.1
 Postfix 2.8.8
 Dovecot 2.0.16
 
 Boundary condition:
 Postfix as smtp (Postfix is configured as relay server; mail is sent to 
 smtp.web.de if mail is not locally distributed)
 Dovecot  as IMAP server in my private network (192.168)
 
 Situation:
 I want to store outgoing mail which is send by postfix also in a SENT 
 folder 
 in Dovecot. The SENT folder is available and created through the plugin 
 autocreate. The main.cf file from postfix contains the following mailbox 
 command:
 
 mailbox_command = /usr/lib/dovecot/dovecot-lda -f $SENDER -a $RECIPIENT 
 -m 
 SENT
 
 If I send a simple mail from the shell with the following command
 
 echo Hello me | mail -s Dovecot test 50, shell nach SENT $USER
 
 the mail is send to my mailbox and stored in the folder SENT as unread.
 
 Problem:
 1.
 I would expect to have to mails coming in; one in my SENT folder because 
 this is copy of the mail and another one which is the incoming folder because 
 the mail was sent to me. But, there is no mail in the incoming folder.
 2.
 If I use a mail client like kmail2 the same thing happens. The mail is 
 distributed to the SENT folder but there's no copy in the incoming folder.
 3.
 If I send a mail to my adress at @web.de with the postfix configuration from 
 above I do not receive the mail at web.de. 
 4.
 If I send a mail to my adress at @web.de with a postfix simplified mailbox 
 command NOT containing the mailbox with -m, then mail is send to web.de and 
 there I receive it in the incoming box. This is the simplified command:
 mailbox_command = /usr/lib/dovecot/dovecot-lda -f $SENDER -a $RECIPIENT
 
 Summary:
 All examples from above show that I do not get a COPY of the outgoing mail in 
 my SENT folder but it's the REAL mail. 
 
You are correct ;)

You need 2 copies of the e-mail: one that is delivered to the recipient
(on- or offsite), and one copy needs to go in your sent folder. To fix
it, you could bcc yourself and store the bcc in the sent folder.

Postfix can do that using always_bcc / recipient_bcc_maps. You should
generate that only for the non IMAP sent e-mails (no idea on how to
detect that), and then send that copy to dovecot-lda.

When you generate the bcc using recipient delimiter syntax
(account+s...@domain.tld), sieve is easily configurable to deliver to
your sent folder.

So generally speaking, you have a Postfix problem to solve. The dovecot
part is really easy :)

Regards,
Tom



Re: [Dovecot] Disable unsecure POP3 at all (Dovecot 2.1)

2013-10-29 Thread Benny Pedersen

Андрей Кумыков skrev den 2013-10-28 11:34:

Hi to all.
Is it possible to disable unsecure POP3 protocol at all in Dovecot 2.1?
There was protocols option in 1.x version, and there was separate
pop3 and pop3s modules.
There is no pop3s in configuration files in 2.1.


sure, set inet_listner pop3 to port = 0

there is a pop3s if you add one

more help show dovecot -n