Re: dovecot log shows: service=imap ... Error: Temp file creation to /tmp/dovecot.imap. failed: No such directory

2017-05-02 Thread Aki Tuomi
On 03.05.2017 08:14, Peter Kielbasiewicz wrote: > I am using dovecot 2.2 with plesk 12 and I have made no modifications to the > dovecot config. > Logwatch reports the messages below. > The errors don't seem to appear for every imap connect as can be seen from > the number of deliveries and suc

Re: Problem with Pigeonhole/Sieve

2017-05-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 May 2017, Kamil Kapturkiewicz wrote: 248 is a dovecot, 202 is dovenull, both users are in theirs groups across. If I change ownership of /usr/local/dovecot to dovecot.dovecot, then dovecot is correcting it to root.root for some reason. Do

dovecot log shows: service=imap ... Error: Temp file creation to /tmp/dovecot.imap. failed: No such directory

2017-05-02 Thread Peter Kielbasiewicz
I am using dovecot 2.2 with plesk 12 and I have made no modifications to the dovecot config. Logwatch reports the messages below. The errors don't seem to appear for every imap connect as can be seen from the number of deliveries and successful logins. So what makes dovecot fail sometimes to crea

Re: Re: migrate Maildir to mdbox

2017-05-02 Thread Joseph Tam
Michael Segel writes: Which is preferred? MailDir or Mbox? (directory vs flat file) Mailbox; I wish I converted when I had the chance. The only benefits I can see with mbox is that it's slightly less complicated, and if you're doing pattern searching or some global mailbox operation, less I

Re: Problem with Userid

2017-05-02 Thread Aki Tuomi
On 2017-05-02 17:15, Luciano Mannucci wrote: I have a problem with a physical user that was removed and recreated whith same name and different uid. The home dir, the mailbox file and the index directory where removed and recreated with the new uid/gid. I can feed the mailbox via procmail, tho

Re: IMAP-auth on LAN and otherwise

2017-05-02 Thread Rupert Gallagher
It may be the new router and the new switch doing something "smart", because problems started to show up since their installation. We are purchasing a Cisco Catalyst just to diagnose the hardware. There may be a software problem, although things used to work before the installation of the new hard

Re: IMAP-auth on LAN and otherwise

2017-05-02 Thread Rupert Gallagher
Test on 10-master.conf: inet_listener imaps { address = port = 993 ssl = yes } Returns the following error: Error: bind(, 993) failed: Can't assign requested address 2017-05-02T18:12:41 master: Error: bind(, 993) failed: Can't assign requested address Error: service(imap-login): listen(, 993

Re: migrate Maildir to mdbox

2017-05-02 Thread Tanstaafl
On Tue May 02 2017 10:58:33 GMT-0400 (Eastern Standard Time), Aki Tuomi wrote: > mbox is not recommended for new setups unless you have very good reason to do > so. > > Use maildir or sdbox. Just curious - why not mdbox?

Re: Issue with parsing of forwarded messages with attachments and quotes in the subject

2017-05-02 Thread Giovanni Salvatore Fois
On 05/02/2017 11:13 AM, Timo Sirainen wrote: On 2 May 2017, at 11.21, Giovanni Salvatore Fois wrote: Hi all, at work we use Roundcube acting as a mail client for the Dovecot Imap server. In Roundube the messages are parsed through the Imap BODYSTRUCTURE command If a message contai

Re: migrate Maildir to mdbox

2017-05-02 Thread Aki Tuomi
mbox is not recommended for new setups unless you have very good reason to do so. Use maildir or sdbox. Aki > On May 2, 2017 at 5:09 PM Michael Segel wrote: > > > Silly question… > Which is preferred? MailDir or Mbox? (directory vs flat file) > > How would you do this when migrating fro

Re: IMAP-auth on LAN and otherwise

2017-05-02 Thread Tobi
I'm not sure that this is a dovecot issue. For me it sounds more that the router somehow learned dovecots LAN ip and then takes a shortcut by sending the packets directly to dovecot on routers LAN interface instead of going all the way to the WAN interface and then back to LAN. You could verify if

Re: IMAP-auth on LAN and otherwise

2017-05-02 Thread B. Reino
On Tue, 2 May 2017, Rupert Gallagher wrote: [...] Is it possible to instruct Dovecot to use the public IP only? for inet_listeners (imap, pop, etc.) you can use "address = " the default is AFAIK to listen on all addresses ("*" for ip4 and "::" for ip6)

Problem with Userid

2017-05-02 Thread Luciano Mannucci
I have a problem with a physical user that was removed and recreated whith same name and different uid. The home dir, the mailbox file and the index directory where removed and recreated with the new uid/gid. I can feed the mailbox via procmail, though dovecot-lda complains that userids do not ma

Re: migrate Maildir to mdbox

2017-05-02 Thread Michael Segel
Silly question… Which is preferred? MailDir or Mbox? (directory vs flat file) How would you do this when migrating from an old server to a new one? Thx -Mike > On May 2, 2017, at 1:58 AM, Aki Tuomi wrote: > > Assuming your maildir path is /path/to/mail/Maildir You could do it like this: >

IMAP-auth on LAN and otherwise

2017-05-02 Thread Rupert Gallagher
Hello, Thunderbird has been bugging us with connection errors. Dovecot is installed on a local server that carries a local IP and a public IP. When Thunderbird on a local client connects successfully, Wireshark shows a SYN request from the client's IP on LAN to the public IP of the server, foll

Re: Problem with Pigeonhole/Sieve

2017-05-02 Thread Kamil Kapturkiewicz
Hi Steffen, 248 is a dovecot, 202 is dovenull, both users are in theirs groups across. If I change ownership of /usr/local/dovecot to dovecot.dovecot, then dovecot is correcting it to root.root for some reason. Does it mean that dovecot should be running as root only? What does it mean / her

Re: Issue with parsing of forwarded messages with attachments and quotes in the subject

2017-05-02 Thread Timo Sirainen
On 2 May 2017, at 11.21, Giovanni Salvatore Fois wrote: > > Hi all, > at work we use Roundcube acting as a mail client for the Dovecot > Imap server. > > In Roundube the messages are parsed through the Imap BODYSTRUCTURE command > If a message contains forwarded messages and attachme

Issue with parsing of forwarded messages with attachments and quotes in the subject

2017-05-02 Thread Giovanni Salvatore Fois
Hi all, at work we use Roundcube acting as a mail client for the Dovecot Imap server. In Roundube the messages are parsed through the Imap BODYSTRUCTURE command If a message contains forwarded messages and attachments and some of the messages contains a quote (") in the subject, then

Re: lmtp segfault after upgrade

2017-05-02 Thread Timo Sirainen
On 2 May 2017, at 10.41, Tom Sommer wrote: > > (gdb) bt full > #0 i_stream_seek (stream=0x21, v_offset=0) at istream.c:298 >_stream = > #1 0x7fe98391ff32 in i_stream_concat_read_next (stream=0x1efe6c0) at > istream-concat.c:77 >prev_input = 0x1ef1560 >data = 0x0 >

Re: Problem with Pigeonhole/Sieve

2017-05-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 1 May 2017, Kamil Kapturkiewicz wrote: Unfortunately I am getting following error in DoveCot log instead: May 01 14:35:41 managesieve-login: Error: auth: connect(login) in directory / failed: Permission denied (euid=248() egid=248(error>)

Re: lmtp segfault after upgrade

2017-05-02 Thread Aki Tuomi
On 2017-05-02 10:41, Tom Sommer wrote: On 2017-05-02 09:35, Aki Tuomi wrote: On 2017-05-02 10:20, Tom Sommer wrote: On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messa

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-02 09:35, Aki Tuomi wrote: On 2017-05-02 10:20, Tom Sommer wrote: On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors:

Re: lmtp segfault after upgrade

2017-05-02 Thread Aki Tuomi
On 2017-05-02 10:20, Tom Sommer wrote: On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors: lmtp[45758]: segfault at 21 ip 7fb4

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors: lmtp[45758]: segfault at 21 ip 7fb412d3ad11 sp 7ffe83ad2df0 error 4 in li

Re: lmtp segfault after upgrade

2017-05-02 Thread Aki Tuomi
On 2017-05-02 10:02, Tom Sommer wrote: On 2017-05-01 19:34, Aki Tuomi wrote: On May 1, 2017 at 8:26 PM Aki Tuomi wrote: > On May 1, 2017 at 8:21 PM Tom Sommer wrote: > > > I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg > and /var/log/messages are getting flooded

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-01 19:34, Aki Tuomi wrote: On May 1, 2017 at 8:26 PM Aki Tuomi wrote: > On May 1, 2017 at 8:21 PM Tom Sommer wrote: > > > I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg > and /var/log/messages are getting flooded by these errors: > > lmtp[45758]: segfault