Robert Fantini
2015-Feb-17 22:02 UTC
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 <h.reindl at thelounge.net> 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 <h.reindl at thelounge.net> >> 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 >>> >> >
Robert Fantini
2015-Feb-18 17:15 UTC
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 <robertfantini at gmail.com> 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 <h.reindl at thelounge.net> > 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 <h.reindl at thelounge.net> >>> 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 >>>> >>> >> >
Reindl Harald
2015-Feb-18 17:20 UTC
how to run dovecot imap on separate server from postfix?
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 > insteadso 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 at srv-rhsoft:~]$ cat /etc/services | grep -i lmtp lmtp 24/tcp # LMTP Mail Delivery lmtp 24/udp # LMTP Mail Delivery -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150218/21bb55aa/attachment.sig>
Possibly Parallel Threads
- how to run dovecot imap on separate server from postfix?
- how to run dovecot imap on separate server from postfix?
- how to run dovecot imap on separate server from postfix?
- how to run dovecot imap on separate server from postfix?
- how to run dovecot imap on separate server from postfix?