how to run dovecot imap on separate server from postfix?
Robert Fantini
robertfantini at gmail.com
Wed Feb 18 17:15:05 UTC 2015
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
>>>>
>>>
>>
>
More information about the dovecot
mailing list