Question about content_filter

Hello,

Djigzo adds the line

content_filter = djigzo:127.0.0.1:10025

to /etc/postfix/main.cf.

I already use this parameter to call Amavis:

content_filter = smtp-amavis:[127.0.0.1]:10024

Is it possible to call Amavis after Djigzo or maybe the other round?

Amavis has a few more entries in /etc/postfix/master.cf, e.g.:

127.0.0.1:10025 inet n - n - - smtpd
     -o content_filter=
     .....

But I guess it make more sense to first call Djizgo and Amavis afterwards.

By the way, both programs like to use port 10025.

Thanks for any suggestions or hints,

Stefan

Hello,

Djigzo adds the line

content_filter = djigzo:127.0.0.1:10025

to /etc/postfix/main.cf.

I already use this parameter to call Amavis:

content_filter = smtp-amavis:[127.0.0.1]:10024

Is it possible to call Amavis after Djigzo or maybe the other round?

Amavis has a few more entries in /etc/postfix/master.cf, e.g.:

127.0.0.1:10025 inet n - n - - smtpd
     -o content_filter=
     .....

But I guess it make more sense to first call Djizgo and Amavis afterwards.

By the way, both programs like to use port 10025.

Yes that's possible but you have to make sure that one is listening on a
different port. I'm not sure how hard it is to let Amavis listen on a
different port so lets assume you want to change the port Djigzo listens
on. The port Djigzo listens on (i.e., the internal SMTP) can be set in
the file smtp_server_config.xml (which can be found in
/usr/share/djigzo/conf/james/SAR-INF/). You can change it to a different
unused port. After Djigzo has handled the message, the message is sent
to localhost:10026 (which is the reinjection port specified in master.cf).
This port can be changed by modifying the file smtp_transport_config.xml
(again found in /usr/share/djigzo/conf/james/SAR-INF/). You can change
this to the port Amavis listens on.

So in your case there are different ways to do this. You can change the
two Djigzo files or change Amavis or change both :slight_smile:

Kind regards,

Martijn Brinkers

···

On 03/18/2011 06:49 PM, Stefan-Michael Guenther wrote:

Thanks for any suggestions or hints,

Stefan

_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
http://lists.djigzo.com/lists/listinfo/users

--
Djigzo open source email encryption