# Djigzo doesn't forward Emails

**URL:** <https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232>\
**Category:** Gateway\
**Created:** [August 13, 2011, 12:24pm UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232 "2011-08-13T12:24:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [August 13, 2011, 12:24pm UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232/1 "2011-08-13T12:24:42Z")

</div>

Hi,

I have installed Djigzo on a OpenSUSE 11.1, together with an email archiving solution called MPP.

MPP was connected to postifx with the following parameters:

main.cf:

> **···**
>
> ----------  
> content\_filter = mppscan:[127.0.0.1]:10025
> 
> master.cf:  
> --------------  
> localhost:10026 inet n - n - 10 smtpd  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o local\_recipient\_maps=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o relay\_recipient\_maps=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=xxx.xxx.de  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_helo\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_client\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_sender\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_recipient\_restrictions=permit\_mynetworks,reject  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o mynetworks=127.0.0.0/8  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_data\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_end\_of\_data\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_authorized\_xforward\_hosts=127.0.0.0/8
> 
> mppscan unix - - n - 10 lmtp  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_send\_xforward\_command=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_cache\_connection=no  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_mime\_output\_conversion=yes
> 
> To add Djigzo to the mailflow I changed the content filter ln main.cf to
> 
> content\_filter = djigzo:127.0.0.1:10023
> 
> and added the following lines to master.cf:
> 
> djigzo unix - - n - 4 smtp  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_send\_xforward\_command=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_dns\_lookups=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_generic\_maps=
> 
> I changed the port in /usr/local/djigzo/conf/james/SAR-INF/smtp\_server\_config.xml to 10023 and in /usr/local/djigzo/conf/james/SAR-INF/smtp\_transport\_config.xml the gateway port to 10025 because MPP is waiting for incoming connections on that port.
> 
> For an incoming mail Postfix and Djigzo produce the following lines in their logfiles:
> 
> Aug 13 14:11:26 lxserver postfix/qmgr[26723]: 4E8679F029A: from=\<s.guenther(a)in-put.de\>, size=9249, nrcpt=1 (queue active)  
> Aug 13 14:11:26 lxserver postfix/smtp[28125]: 4E8679F029A: to=\<s.guenther(a)xxxxx.de\>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.66, delays=0.48/0.02/0.05/0.11, dsn=2.6.0, status=sent (250 2.6.0 Message received)
> 
> 13 Aug 2011 14:11:26 | INFO incoming | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)xxx.de]; Subject: test 11; Message-ID: \<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> 13 Aug 2011 14:11:26 | INFO internal | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> 13 Aug 2011 14:11:26 | INFO postDecrypt | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]  
> 13 Aug 2011 14:11:26 | INFO transport | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)a-a-w.de]; Subject: test 11; Message-ID: \<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
> 
> That's it, where is the email? There are no further lines in the logfiles of Postfix or MPP. The email seem to be stucked somewehere in Djigzo, but where and why?
> 
> Thanks for any suggestions.
> 
> Stefan

---

<div class="post-metadata">

**Author:** ![Christine](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Christine](https://community.ciphermail.com/u/Christine)\
**Post date:** [August 13, 2011, 2:59pm UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232/2 "2011-08-13T14:59:20Z")

</div>

> Hi,
> 
> I have installed Djigzo on a OpenSUSE 11.1, together with an email archiving solution called MPP.

Hi Stefan,

I have a similar setup on my own mail server.

This is from my master.cf:

smtp inet n - - - - smtpd  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=smtp:[127.0.0.1]:10025  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=bliep.christine.nl

localhost:10026 inet n - n - 10 smtpd  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=mail.christine.nl

This is from my /etc/djigzo/james/smtp\_server\_config.xml:

\<!-- because of spampd I changed this port from 10025 to 10027 --\>  
\<port\> 10027 \</port\>  
\<bind\> 127.0.0.1 \</bind\>

This is from spampd, my content filter:

# The port to forward the connection to  
# changed from 10026 to 10027 for Djigzo  
DESTPORT=10027

Does this help you?

kind regards  
Christine

> **···**
>
> On 08/13/2011 02:24 PM, Stefan Michael Guenther wrote:
> 
> > MPP was connected to postifx with the following parameters:
> > 
> > main.cf:  
> > ----------  
> > content\_filter = mppscan:[127.0.0.1]:10025
> > 
> > master.cf:  
> > --------------  
> > localhost:10026 inet n - n - 10 smtpd  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o local\_recipient\_maps=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o relay\_recipient\_maps=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=xxx.xxx.de  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_helo\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_client\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_sender\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_recipient\_restrictions=permit\_mynetworks,reject  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o mynetworks=127.0.0.0/8  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_data\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_end\_of\_data\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_authorized\_xforward\_hosts=127.0.0.0/8
> > 
> > mppscan unix - - n - 10 lmtp  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_send\_xforward\_command=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_cache\_connection=no  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_mime\_output\_conversion=yes
> > 
> > To add Djigzo to the mailflow I changed the content filter ln main.cf to
> > 
> > content\_filter = djigzo:127.0.0.1:10023
> > 
> > and added the following lines to master.cf:
> > 
> > djigzo unix - - n - 4 smtp  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_send\_xforward\_command=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_dns\_lookups=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_generic\_maps=
> > 
> > I changed the port in /usr/local/djigzo/conf/james/SAR-INF/smtp\_server\_config.xml to 10023 and in /usr/local/djigzo/conf/james/SAR-INF/smtp\_transport\_config.xml the gateway port to 10025 because MPP is waiting for incoming connections on that port.
> > 
> > For an incoming mail Postfix and Djigzo produce the following lines in their logfiles:
> > 
> > Aug 13 14:11:26 lxserver postfix/qmgr[26723]: 4E8679F029A: from=\<s.guenther(a)in-put.de\>, size=9249, nrcpt=1 (queue active)  
> > Aug 13 14:11:26 lxserver postfix/smtp[28125]: 4E8679F029A: to=\<s.guenther(a)xxxxx.de\>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.66, delays=0.48/0.02/0.05/0.11, dsn=2.6.0, status=sent (250 2.6.0 Message received)
> > 
> > 13 Aug 2011 14:11:26 | INFO incoming | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)xxx.de]; Subject: test 11; Message-ID:\<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> > 13 Aug 2011 14:11:26 | INFO internal | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> > 13 Aug 2011 14:11:26 | INFO postDecrypt | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]  
> > 13 Aug 2011 14:11:26 | INFO transport | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)a-a-w.de]; Subject: test 11; Message-ID:\<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
> > 
> > That's it, where is the email? There are no further lines in the logfiles of Postfix or MPP. The email seem to be stucked somewehere in Djigzo, but where and why?
> > 
> > Thanks for any suggestions.
> > 
> > Stefan  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Users mailing list  
> > Users(a)lists.djigzo.com  
> > [http://lists.djigzo.com/lists/listinfo/users](http://lists.djigzo.com/lists/listinfo/users)

---

<div class="post-metadata">

**Author:** ![lst\_hoe021](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lst\_hoe021](https://community.ciphermail.com/u/lst_hoe021)\
**Post date:** [August 14, 2011, 9:34am UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232/3 "2011-08-14T09:34:29Z")

</div>

Zitat von Stefan Michael Guenther \<s.guenther(a)in-put.de\>:

> Hi,
> 
> I have installed Djigzo on a OpenSUSE 11.1, together with an email  
> archiving solution called MPP.
> 
> MPP was connected to postifx with the following parameters:
> 
> main.cf:  
> ----------  
> content\_filter = mppscan:[127.0.0.1]:10025
> 
> master.cf:  
> --------------  
> localhost:10026 inet n - n - 10 smtpd  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o local\_recipient\_maps=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o relay\_recipient\_maps=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=xxx.xxx.de  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_helo\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_client\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_sender\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_recipient\_restrictions=permit\_mynetworks,reject  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o mynetworks=127.0.0.0/8  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_data\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_end\_of\_data\_restrictions=  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_authorized\_xforward\_hosts=127.0.0.0/8
> 
> mppscan unix - - n - 10 lmtp  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_send\_xforward\_command=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_cache\_connection=no  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_mime\_output\_conversion=yes
> 
> To add Djigzo to the mailflow I changed the content filter ln main.cf to
> 
> content\_filter = djigzo:127.0.0.1:10023
> 
> and added the following lines to master.cf:
> 
> djigzo unix - - n - 4 smtp  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_send\_xforward\_command=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_dns\_lookups=yes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_generic\_maps=
> 
> I changed the port in  
> /usr/local/djigzo/conf/james/SAR-INF/smtp\_server\_config.xml to 10023  
> and in  
> /usr/local/djigzo/conf/james/SAR-INF/smtp\_transport\_config.xml the  
> gateway port to 10025 because MPP is waiting for incoming  
> connections on that port.

From your master.cf entry it looks like MPP is using LMTP not SMTP.  
While the two protocols are very similar i doubt this will work. You  
have to check if MPP can be configure to use SMTP instead of LMTP as  
input.

Regards

Andreas

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [August 16, 2011, 8:56am UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232/4 "2011-08-16T08:56:13Z")

</div>

It seems you are mixing LMTP and SMTP (see posting by Andreas).

The email are probably still in the MPA outgoing queue (or in the MPA  
error queue if there was a problem delivering the email). The MPA  
outgoing queue is the queue of email which are being sent back from the  
encryption engine. Normally they are sent to Postfix on localhost:10026  
but with your changes they are being sent to localhost:10025. LMTP is  
AFAIK not compatible with SMTP (minor differences but enough to not be  
compatible I think). If MPP uses the LMTP protocol, try to change it to  
use the SMTP protocol.

Kind regards,

Martijn Brinkers

> **···**
>
> On 08/13/2011 02:24 PM, Stefan Michael Guenther wrote:
> 
> > Hi,
> > 
> > I have installed Djigzo on a OpenSUSE 11.1, together with an email archiving solution called MPP.
> > 
> > MPP was connected to postifx with the following parameters:
> > 
> > main.cf:  
> > ----------  
> > content\_filter = mppscan:[127.0.0.1]:10025
> > 
> > master.cf:  
> > --------------  
> > localhost:10026 inet n - n - 10 smtpd  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o content\_filter=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o local\_recipient\_maps=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o relay\_recipient\_maps=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o myhostname=xxx.xxx.de  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_helo\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_client\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_sender\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_recipient\_restrictions=permit\_mynetworks,reject  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o mynetworks=127.0.0.0/8  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_data\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_end\_of\_data\_restrictions=  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtpd\_authorized\_xforward\_hosts=127.0.0.0/8
> > 
> > mppscan unix - - n - 10 lmtp  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_send\_xforward\_command=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o lmtp\_cache\_connection=no  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_mime\_output\_conversion=yes
> > 
> > To add Djigzo to the mailflow I changed the content filter ln main.cf to
> > 
> > content\_filter = djigzo:127.0.0.1:10023
> > 
> > and added the following lines to master.cf:
> > 
> > djigzo unix - - n - 4 smtp  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_send\_xforward\_command=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o disable\_dns\_lookups=yes  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o smtp\_generic\_maps=
> > 
> > I changed the port in /usr/local/djigzo/conf/james/SAR-INF/smtp\_server\_config.xml to 10023 and in /usr/local/djigzo/conf/james/SAR-INF/smtp\_transport\_config.xml the gateway port to 10025 because MPP is waiting for incoming connections on that port.
> > 
> > For an incoming mail Postfix and Djigzo produce the following lines in their logfiles:
> > 
> > Aug 13 14:11:26 lxserver postfix/qmgr[26723]: 4E8679F029A: from=\<s.guenther(a)in-put.de\>, size=9249, nrcpt=1 (queue active)  
> > Aug 13 14:11:26 lxserver postfix/smtp[28125]: 4E8679F029A: to=\<s.guenther(a)xxxxx.de\>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.66, delays=0.48/0.02/0.05/0.11, dsn=2.6.0, status=sent (250 2.6.0 Message received)
> > 
> > 13 Aug 2011 14:11:26 | INFO incoming | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)xxx.de]; Subject: test 11; Message-ID: \<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> > 13 Aug 2011 14:11:26 | INFO internal | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> > 13 Aug 2011 14:11:26 | INFO postDecrypt | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]  
> > 13 Aug 2011 14:11:26 | INFO transport | MailID: 96e32cc0-102a-4b04-ac7e-e2abef86afe5; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Recipients: [s.guenther(a)a-a-w.de]; Subject: test 11; Message-ID: \<4E4669F6.9070000(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
> > 
> > That's it, where is the email? There are no further lines in the logfiles of Postfix or MPP. The email seem to be stucked somewehere in Djigzo, but where and why?
> 
> --  
> Djigzo open source email encryption

---

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [August 16, 2011, 9:24am UTC](https://community.ciphermail.com/t/djigzo-doesnt-forward-emails/232/5 "2011-08-16T09:24:12Z")

</div>

Hi,

> The email are probably still in the MPA outgoing queue (or in the MPA  
> error queue if there was a problem delivering the email). The MPA  
> outgoing queue is the queue of email which are being sent back from the  
> encryption engine. Normally they are sent to Postfix on localhost:10026  
> but with your changes they are being sent to localhost:10025. LMTP is  
> AFAIK not compatible with SMTP (minor differences but enough to not be  
> compatible I think). If MPP uses the LMTP protocol, try to change it to  
> use the SMTP protocol.

thanks for your suggestions.

But before I try to change MPP, I will change the way emails are handled:

There is a linux gateway in front of the email server and I will install Djigzo there.  
The only disadvantage is, that I have to setup a cronjob to copy the fetchmailrc from the server to the gateway because our client changes the email accounts quite often.  
But that's easier than messing around with MPP.

Stefan
