Error: vsize-hdr has invalid size
version 2.2.27 (c0f36b0) For one user logs have a lot of these since recent upgrade from debian jessie to stretch : Jun 28 13:08:18 imap dovecot: imap(tfa): Error: vsize-hdr has invalid size: 36 Only one user has the issue. It has been happening for a month, The user reports no issue on his end reading mail. Is there a way to fix the error ? best regards, Roberto # dovecot -n # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.16 (fed8554) # OS: Linux 4.9.0-3-amd64 x86_64 Debian 9.0 auth_mechanisms = plain login auth_username_format = %Ln lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes mail_location = maildir:~/Maildir mail_plugins = " quota" 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 index ihave duplicate mime foreverypart extracttext namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = INBOX. separator = . type = private } passdb { args = /etc/dovecot/dovecot-ldaps.conf.ext driver = ldap } plugin { mail_plugins = quota sieve sieve = ~/.dovecot.sieve sieve_before = /etc/dovecot/sieve/spam.sieve sieve_dir = ~/sieve sieve_global_dir = /etc/dovecot/sieve/ } postmaster_address = . protocols = " imap lmtp sieve" quota_full_tempfail = yes service auth-worker { user = $default_internal_user } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0600 user = postfix } } service imap-login { service_count = 0 vsz_limit = 128 M } service imap { process_limit = 2048 } service lmtp { inet_listener lmtp { address = x.x.x.x 127.0.0.1 ::1 port = 24 } } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 service_count = 0 vsz_limit = 256 M } ssl = required ssl_ca = ..hidden ssl_cert = ..hiden ssl_key = # hidden, use -P to show it userdb { args = /etc/dovecot/dovecot-ldaps.conf.ext driver = ldap } protocol lmtp { mail_plugins = quota sieve } protocol imap { mail_max_userip_connections = 50 mail_plugins = " quota imap_quota antispam" plugin { antispam_backend = pipe antispam_pipe_program = /fbc/bin/mail/sa-learn-pipe.sh antispam_pipe_program_notspam_arg = --ham antispam_pipe_program_spam_arg = --spam antispam_spam = Junk antispam_trash = Trash } } protocol sieve { mail_debug = yes
Re: multiple imap servers for high availability
I'll order it now. Thank you . On Tue, Mar 31, 2015 at 1:25 PM, Robert Giles wrote: > You might take a look at Peer Heinlein's Dovecot book - chapter 16: > > Dovecot: POP3/IMAP servers for enterprises and ISPs > ISBN-10: 3955391078 > http://www.amazon.com/Dovecot-POP3-IMAP-servers-enterprises/dp/3955391078/ > > Robert > > > > On Tue, 31 Mar 2015 13:19 -0400, Robert Fantini wrote: > >> We run imap for our domain at our lan. >> >> I'd like to set up a backup mirror that has imap storage always >> duplicated. Then using something like heartbeat to share the imapd IP >> address . >> >> Could someone point me to documents , if any , that give ideas on how to >> set up the mirror? >> >> best regards, Rob >> >
multiple imap servers for high availability
Hello, We run imap for our domain at our lan. I'd like to set up a backup mirror that has imap storage always duplicated. Then using something like heartbeat to share the imapd IP address . Could someone point me to documents , if any , that give ideas on how to set up the mirror? best regards, Rob
Re: how to run dovecot imap on separate server from postfix?
OK I got delivery from postfix to lmtp working , by changing from unix_listener to inet_listener . Reindl wrote "don't open the port for any other machine as the postfix server" I see that is important.. I assume that just a firewall setting? Or does the 'address' line in inet_listener lmtp have something to do with it? On Wed, Feb 18, 2015 at 12:37 PM, Reindl Harald wrote: > > > Am 18.02.2015 um 18:20 schrieb Reindl Harald: > > >> Am 18.02.2015 um 18:15 schrieb Robert Fantini: >> >>> I'm trying to figure out the exact line to put to /etc/postfix/main.cf >>> >>> for local lmtp deliver we use: >>> mailbox_transport = *lmtp:unix:private/dovecot-lmtp* >>> >>> for remote it is supposed to be:* lmtp:host:port* >>> >>> yet at the remote lmtp does not use ports. UNIX domain sockets are used >>> instead >>> >> >> so just configure dovecot lmtpd to listen on a TCP port, port 24 is >> reserved for that - and don't open the port for any other machine as the >> postfix server >> >> [harry@srv-rhsoft:~]$ cat /etc/services | grep -i lmtp >> lmtp24/tcp # LMTP Mail Delivery >> lmtp24/udp # LMTP Mail Delivery >> > > and since i answered the same question yet on the postfix list > > http://wiki2.dovecot.org/LMTP > http://www.postfix.org/lmtp.8.html > >
Re: how to run dovecot imap on separate server from postfix?
I'm trying to figure out the exact line to put to /etc/postfix/main.cf for local lmtp deliver we use: mailbox_transport = *lmtp:unix:private/dovecot-lmtp* for remote it is supposed to be:* lmtp:host:port* yet at the remote lmtp does not use ports. UNIX domain sockets are used instead: netstat --listening --programs| grep lmtp unix 2 [ ACC ] STREAM LISTENING 8457 3696/dovecot /var/run/dovecot/lmtp unix 2 [ ACC ] STREAM LISTENING 7998 3834/master private/lmtp unix 2 [ ACC ] STREAM LISTENING 7630 3696/dovecot /var/spool/postfix/private/dovecot-lmtp Is there a different setting for lmtp using 'domain sockets' ? On Tue, Feb 17, 2015 at 5:02 PM, Robert Fantini wrote: > Hello again Reindl Harald > > I always thought Wietse Venema was only as smart as me ;-) > > seriously thank you for the help. > > On Tue, Feb 17, 2015 at 4:57 PM, Reindl Harald > wrote: > >> >> Am 17.02.2015 um 22:51 schrieb Robert Fantini: >> >>> I want to make sure that the postfix delivery does not give up trying to >>> get the email delivered when the lmtp host is not reachable. I do >>> not >>> just want to assume that the default settings are correct for us. >>> >>> Are there postfix or other settings which can be checked and adjusted? >>> >> >> postfix was *not* written by a moron and hence in any case any mail in >> the queue will be re-tried until "maximal_queue_lifetime" is reached >> >> there is no difference if lmtp is a unix socket or on the network because >> nobody can say for sure that the lmtpd on localhost is reachable 365/7/24 >> and hence any sane MTA handles errors properly >> >> >> On Tue, Feb 17, 2015 at 4:37 PM, Reindl Harald >>> wrote: >>> >>>> >>>> Am 17.02.2015 um 22:29 schrieb Robert Fantini: >>>> >>>> we are using version 2.2.13 on debian. >>>> >>>>> >>>>>currently imap runs on the same system as postfix , spamassassin >>>>> and >>>>> other mail related software. >>>>> >>>>>I'd like to move dovecot imapd and mail storage to its own system. >>>>> >>>>>I've search google and wiki and could not see how to do so. >>>>> >>>>>could someone please point me in the direction to that done? I like >>>>> reading documentation.. >>>>> >>>>> here is more info on our set up: >>>>> >>>>> postfix: >>>>> # grep dovecot /etc/postfix/* >>>>> /etc/postfix/main.cf:mailbox_transport = >>>>> lmtp:unix:private/dovecot-lmtp >>>>> /etc/postfix/main.cf:smtpd_sasl_type = dovecot >>>>> >>>>> >>>> just configure postfix to use "lmtp:host:port" of the dovecot machine >>>> >>> >> >
Re: how to run dovecot imap on separate server from postfix?
Hello again Reindl Harald I always thought Wietse Venema was only as smart as me ;-) seriously thank you for the help. On Tue, Feb 17, 2015 at 4:57 PM, Reindl Harald wrote: > > Am 17.02.2015 um 22:51 schrieb Robert Fantini: > >> I want to make sure that the postfix delivery does not give up trying to >> get the email delivered when the lmtp host is not reachable. I do >> not >> just want to assume that the default settings are correct for us. >> >> Are there postfix or other settings which can be checked and adjusted? >> > > postfix was *not* written by a moron and hence in any case any mail in the > queue will be re-tried until "maximal_queue_lifetime" is reached > > there is no difference if lmtp is a unix socket or on the network because > nobody can say for sure that the lmtpd on localhost is reachable 365/7/24 > and hence any sane MTA handles errors properly > > > On Tue, Feb 17, 2015 at 4:37 PM, Reindl Harald >> wrote: >> >>> >>> Am 17.02.2015 um 22:29 schrieb Robert Fantini: >>> >>> we are using version 2.2.13 on debian. >>> >>>> >>>>currently imap runs on the same system as postfix , spamassassin >>>> and >>>> other mail related software. >>>> >>>>I'd like to move dovecot imapd and mail storage to its own system. >>>> >>>>I've search google and wiki and could not see how to do so. >>>> >>>>could someone please point me in the direction to that done? I like >>>> reading documentation.. >>>> >>>> here is more info on our set up: >>>> >>>> postfix: >>>> # grep dovecot /etc/postfix/* >>>> /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp >>>> /etc/postfix/main.cf:smtpd_sasl_type = dovecot >>>> >>>> >>> just configure postfix to use "lmtp:host:port" of the dovecot machine >>> >> >
Re: how to run dovecot imap on separate server from postfix?
Hello Reindl, thank you for the response. I want to make sure that the postfix delivery does not give up trying to get the email delivered when the lmtp host is not reachable. I do not just want to assume that the default settings are correct for us. Are there postfix or other settings which can be checked and adjusted? On Tue, Feb 17, 2015 at 4:37 PM, Reindl Harald wrote: > > Am 17.02.2015 um 22:29 schrieb Robert Fantini: > >we are using version 2.2.13 on debian. >> >> currently imap runs on the same system as postfix , spamassassin and >> other mail related software. >> >> I'd like to move dovecot imapd and mail storage to its own system. >> >> I've search google and wiki and could not see how to do so. >> >> could someone please point me in the direction to that done? I like >> reading documentation.. >> >> here is more info on our set up: >> >> postfix: >> # grep dovecot /etc/postfix/* >> /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp >> /etc/postfix/main.cf:smtpd_sasl_type = dovecot >> > > just configure postfix to use "lmtp:host:port" of the dovecot machine > >
how to run dovecot imap on separate server from postfix?
Hello we are using version 2.2.13 on debian. currently imap runs on the same system as postfix , spamassassin and other mail related software. I'd like to move dovecot imapd and mail storage to its own system. I've search google and wiki and could not see how to do so. could someone please point me in the direction to that done? I like reading documentation.. here is more info on our set up: postfix: # grep dovecot /etc/postfix/* /etc/postfix/main.cf:mailbox_transport = lmtp:unix:private/dovecot-lmtp /etc/postfix/main.cf:smtpd_sasl_type = dovecot kind regards Rob Fantini
Re: [Dovecot] 2.0.5 Error: Timeout waiting for handshake from auth server.
check your mail log, if you get this: Authentication service cannot retrieve authentication info then it could be related to this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566844 if you do have that issue let me know, and I'll look up our notes to post a work around. On Thu, Oct 21, 2010 at 3:57 AM, Veiko Kukk wrote: > Hello, > > Upgraded from 1.2.x to 2.0.5, converted configuration as described in > http://wiki2.dovecot.org/Upgrading/2.0 and now I'm unable to log in to imap > server. Dovecot error.log shows: > > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13338, input bytes=0 > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13364, input bytes=0 > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13337, input bytes=0 > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13350, input bytes=0 > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13335, input bytes=0 > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth > server. my pid=13360, input bytes=0 > > I'm using pam with winbind for authentication. > > /etc/pam.d/dovecot contains: > > auth required pam_winbind.so > account sufficient pam_winbind.so > > And it used to work perfectly with 1.1 and 1.2 series of dovecot. > > What could be the problem with 2.0.5? > > -- > Veiko >
Re: [Dovecot] anti-spam+anti-malware suggestions
check postgrey , it works great with postfix . http://www.debuntu.org/postfix-and-postgrey-a-proactive-approach-to-spam-filtering postgrey should I think be used in addition to the other suggestions. since we started using postgrey the amount of work done by our other anti-spam software, spamassassin , was cut at least 90% . On Wed, Oct 20, 2010 at 1:18 PM, Fabricio Archanjo wrote: > I'm runnning dovecot + dovecot-antispam + dspam + exim. > Dovecot-antispam trains in background the DSPAM when the users move > the messages to another folder, I have a knowledge base always > updated. It works fine. > > > > On Wed, Oct 20, 2010 at 2:48 PM, Dave McGuire wrote: >> On 10/20/10 12:20 PM, Jose Luis Faria wrote: >>> >>> I am using now qmail in cluster with LDAP + Interscan Messaging Security >>> Suite from Trendmicro. >>> >>> I need to develop a new solution with: >>> - postfix >>> - dovecot >>> - anti-spam >>> - anti-malware. >>> >>> I am thankful any help or suggestion for anti-spam and anti-malware. >> >> I'm running this combination at several sites with great success: >> >> - postfix >> - dovecot >> - SpamAssassin >> - ClamAV >> - amavisd-new >> >> Amavisd-new is an interface to SpamAssassin and ClamAV, as well as other >> scanners if desired. After the initial pain of getting it running, I've >> concluded that there's really no other reasonable way to do it. >> >> -Dave >> >> -- >> Dave McGuire >> Port Charlotte, FL >> >