Amavisd NOT on the same machine as Postfix

From: Arndt Roth (no email)
Date: Mon Sep 01 2003 - 10:45:28 EDT


Hi,

does anybody know, if it possible to have the following setup:

1 machine (solaris - 10.1.42.15) running the current postfix
1 machine (debian - 10.1.42.17) running amavisd-new and spamassasin

I want the postfix-machine to send mail on port 10024 to the
amavis-machine and get it back on port 10025.

Postfix is up and running (without content filtering at least).
The problem is, that every incoming mail now produces the following error:

status=deferred (transport is unavailable)

The reason I could find when starting postfix is:

warning: connect to transport smtp_amavis: No such file or directory

How do I tell postfix to not search for files or directories, but use
amavis on a different machine?

My master.cf has these settings for communicating to the amavis-machine:

10.1.42.15:10025 inet n - n - - smtpd
 -o content_filter=
-o local_recipient_maps=
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks, reject
 -o mynetworks=10.1.42.0/24

smtpd-amavis unix - - n - 2 smtp
 -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes

My main.cf has this settings for communicating to the amavis-machine:

content_filter = smtp-amavis:[10.1.42.17]:10024

Amavid is up and running. It does not produce errors. Telneting it on port

10024 works.

I couldn't find anybody who has Postfix and Amavis on different machines.
Does content-filtering/virus-scanning only work if postfix and amavis run
on the same machine????

Thanx for help.

Arndt Roth
Systemadministration

--=_alternative 005002AFC1256D94_=
Content-Type: text/html; charset="US-ASCII"

<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">does anybody know, if it possible to
have the following setup:</font>
<br>
<br><font size=2 face="sans-serif">1 machine (solaris - 10.1.42.15)
running
the current postfix</font>
<br><font size=2 face="sans-serif">1 machine (debian - 10.1.42.17) running
amavisd-new and spamassasin</font>
<br>
<br><font size=2 face="sans-serif">I want the postfix-machine to send mail
on port 10024 to the amavis-machine and get it back on port 10025.</font>
<br>
<br><font size=2 face="sans-serif">Postfix is up and running (without
content
filtering at least). </font>
<br><font size=2 face="sans-serif">The problem is, that every incoming
mail now produces the following error:</font>
<br>
<br><font size=2 face="sans-serif">status=deferred (transport is
unavailable)</font>
<br>
<br><font size=2 face="sans-serif">The reason I could find when starting
postfix is:</font>
<br>
<br><font size=2 face="sans-serif">warning: connect to transport
smtp_amavis:
No such file or directory</font>
<br>
<br><font size=2 face="sans-serif">How do I tell postfix to not search
for files or directories, but use amavis on a different machine?</font>
<br>
<br>
<br><font size=2 face="sans-serif">My master.cf &nbsp;has these settings
for communicating to the amavis-machine:</font>
<br>
<br><font size=2 face="sans-serif">10.1.42.15:10025 inet n - n - -
smtpd</font>
<br><font size=2 face="sans-serif">&nbsp;-o content_filter=</font>
<br><font size=2 face="sans-serif">-o local_recipient_maps=</font>
<br><font size=2 face="sans-serif">&nbsp;-o
smtpd_helo_restrictions=</font>
<br><font size=2 face="sans-serif">&nbsp;-o
smtpd_client_restrictions=</font>
<br><font size=2 face="sans-serif">&nbsp;-o
smtpd_sender_restrictions=</font>
<br><font size=2 face="sans-serif">&nbsp;-o
smtpd_recipient_restrictions=permit_mynetworks,
reject </font>
<br><font size=2 face="sans-serif">&nbsp;-o mynetworks=10.1.42.0/24</font>
<br>
<br><font size=2 face="sans-serif">smtpd-amavis unix - - n - 2 smtp
</font>
<br><font size=2 face="sans-serif">&nbsp;-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes</font>
<br>
<br>
<br><font size=2 face="sans-serif">My main.cf has this settings for
communicating
to the amavis-machine:</font>
<br>
<br><font size=2 face="sans-serif">content_filter =
smtp-amavis:[10.1.42.17]:10024</font>
<br>
<br>
<br><font size=2 face="sans-serif">Amavid is up and running. It does not
produce errors. Telneting it on port 10024 works.</font>
<br>
<br>
<br><font size=2 face="sans-serif">I couldn't find anybody who has Postfix
and Amavis on different machines. Does content-filtering/virus-scanning
only work if postfix and amavis run on the same machine????</font>
<br>
<br><font size=2 face="sans-serif">Thanx for help.</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3>Arndt Roth<br>
Systemadministration<br>
</font>
--=_alternative 005002AFC1256D94_=--








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD