dovecot-lda from postfix on remote dovecot server

2014-10-24 Thread nik600
Dear all

i've got many SMTP front-end that filter the mail and do some custom
stuff... then when i've decided the final destination i'd like to call

/usr/lib/dovecot/dovecot-lda to deliver the mail.

Actually i have in master.cf:

#à
dovecot   unix  -   n   n   -   -   pipe
  flags=DRhu user=vmail:vmail null_sender=
argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient}
#à

I'd like to know if is possible to use some other command or some
additional parameter to deliver the mail to a remote dovecot server.

Thanks

-- 
/*/
nik600
http://www.kumbe.it


Re: dovecot-lda from postfix on remote dovecot server

2014-10-24 Thread Tom Hendrikx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 24-10-14 12:20, nik600 wrote:
 Dear all
 
 i've got many SMTP front-end that filter the mail and do some
 custom stuff... then when i've decided the final destination i'd
 like to call
 
 /usr/lib/dovecot/dovecot-lda to deliver the mail.
 
 Actually i have in master.cf:
 
 #à dovecot   unix  -   n   n   -
 -   pipe flags=DRhu user=vmail:vmail null_sender= 
 argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient} 
 #à
 
 I'd like to know if is possible to use some other command or some 
 additional parameter to deliver the mail to a remote dovecot
 server.
 

You could enable LMTP on the remote server, and deliver to that. I
don't know how secure that is: do postfix and dovecot both support
lmtp over tls, and does that even matter when hardware is in the same
rack and has dedicated networking?

Or you could install an MTA on the remote server which delivers to
dovecot, and configure postfix to relay the mail to that mta.

Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJUSimhAAoJEJPfMZ19VO/10ngP/0dF4PqkFE7vy+jCxlM7tkN/
dhr+btTSNhcjKlt1BgGkH4AJEidQLXKqFX7YOcAs+ZdLPwKthxIP8irokZwM0GkT
d1crTQ0HoA8a3Mw6gw1Xw4qrpQnhhzBjEK4yPWLe9gig+ocgozfWM8+8sSNzZa5S
9R8WzaAXhAox8ppZT9BR3a+hHPih0BSYA9yKwGQ2T/OzLjHhytLE46ZBmjBL09tp
UM+ifYcjko1udFkZumbyGrdVBDjg3wG0veC+bCmFwLldOM7+cfsNqwuil5BST0JC
Lz/98by/8mDJcF8645lcRkKkIGgQhmIg1VxjeGXRThFM64k+8iauClPb0/bdpvzw
GvDN51R0ljjR8nGU2zpnax+BaxItgo8inDpE5CVaaH3gKAwpxaKOdgkABLldGMPH
hNLpajHO15c/I/MNktDjRNojm9vP39jh7YRFVpkg6s2QjsDdjiP5EhaJkdfKe334
hpVI5nJNwZUAuUCE72h0MO2vPesQZzZjH4T7WpxTCcVja3VNQnmWoJ/6MOgzHKOt
l7jksmJwIFKukSTLZf1zEehyDjBcpbvDmgOY5r52SmBeY0QGyq7QpMs30iXFRmX0
Qj8BYrknXB8EdV0GXb3voRxjjT6H4nBYfBkfQYOSMTxZ5g19NQ6Zzy5bpVpPfPQ+
9pYFJ0mnxaV2vYdhXxvo
=VY8B
-END PGP SIGNATURE-


Re: dovecot-lda from postfix on remote dovecot server

2014-10-24 Thread nik600
Ok i've used lmtp with some acl on firewall...thanks!
Il 24/ott/2014 12:27 Tom Hendrikx t...@whyscream.net ha scritto:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 24-10-14 12:20, nik600 wrote:
  Dear all
 
  i've got many SMTP front-end that filter the mail and do some
  custom stuff... then when i've decided the final destination i'd
  like to call
 
  /usr/lib/dovecot/dovecot-lda to deliver the mail.
 
  Actually i have in master.cf:
 
  #à dovecot   unix  -   n   n   -
  -   pipe flags=DRhu user=vmail:vmail null_sender=
  argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient}
  #à
 
  I'd like to know if is possible to use some other command or some
  additional parameter to deliver the mail to a remote dovecot
  server.
 

 You could enable LMTP on the remote server, and deliver to that. I
 don't know how secure that is: do postfix and dovecot both support
 lmtp over tls, and does that even matter when hardware is in the same
 rack and has dedicated networking?

 Or you could install an MTA on the remote server which delivers to
 dovecot, and configure postfix to relay the mail to that mta.

 Tom
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1

 iQIcBAEBCAAGBQJUSimhAAoJEJPfMZ19VO/10ngP/0dF4PqkFE7vy+jCxlM7tkN/
 dhr+btTSNhcjKlt1BgGkH4AJEidQLXKqFX7YOcAs+ZdLPwKthxIP8irokZwM0GkT
 d1crTQ0HoA8a3Mw6gw1Xw4qrpQnhhzBjEK4yPWLe9gig+ocgozfWM8+8sSNzZa5S
 9R8WzaAXhAox8ppZT9BR3a+hHPih0BSYA9yKwGQ2T/OzLjHhytLE46ZBmjBL09tp
 UM+ifYcjko1udFkZumbyGrdVBDjg3wG0veC+bCmFwLldOM7+cfsNqwuil5BST0JC
 Lz/98by/8mDJcF8645lcRkKkIGgQhmIg1VxjeGXRThFM64k+8iauClPb0/bdpvzw
 GvDN51R0ljjR8nGU2zpnax+BaxItgo8inDpE5CVaaH3gKAwpxaKOdgkABLldGMPH
 hNLpajHO15c/I/MNktDjRNojm9vP39jh7YRFVpkg6s2QjsDdjiP5EhaJkdfKe334
 hpVI5nJNwZUAuUCE72h0MO2vPesQZzZjH4T7WpxTCcVja3VNQnmWoJ/6MOgzHKOt
 l7jksmJwIFKukSTLZf1zEehyDjBcpbvDmgOY5r52SmBeY0QGyq7QpMs30iXFRmX0
 Qj8BYrknXB8EdV0GXb3voRxjjT6H4nBYfBkfQYOSMTxZ5g19NQ6Zzy5bpVpPfPQ+
 9pYFJ0mnxaV2vYdhXxvo
 =VY8B
 -END PGP SIGNATURE-



Re: dovecot-lda from postfix on remote dovecot server

2014-10-24 Thread Benny Pedersen

On October 24, 2014 12:20:08 PM nik600 nik...@gmail.com wrote:


I'd like to know if is possible to use some other command or some
additional parameter to deliver the mail to a remote dovecot server.


Dovecot lda is local, with postfix lmtp you can deliver to remote dovecot 
lmtp, hope you will see wiki or google how to setup lmtp