On Thu, Jul 16, 2009 at 12:07 PM, Michael Orlitzky<mich...@orlitzky.com> wrote:
> # MTA SETTINGS, UNCOMMENT AS APPROPRIATE,
>
> # both $forward_method and $notify_method default to
> # 'smtp:[127.0.0.1]:10025'

So you're recommending I 'un-comment' the two lines above in my
amavisd.conf file? I am just wondering because Amavisd-new appears to
be working as I can see my headers have "X-Virus_Scanned" added into
them.
On Fri, Jul 17, 2009 at 12:36 AM, Sahil Tandon<sa...@tandon.net> wrote:
> You didn't paste your entire configuration.  10025 likely appears in your
> amavisd.conf; use grep(1) if your eyes deceive you.  You should also improve
> your understanding of Postfix and master.cf.  Postfix is listening on 10025;
> that is the port on which amavisd-new probably re-submits scanned messages.

It's a bit large so I searched to make sure I was not missing it and I
am sure I am not:

[r...@mail ~]# cat /etc/amavisd.conf | grep -i 10025
# $notify_method  = 'smtp:[127.0.0.1]:10025';
# $forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with milter!

Both options are commented out in Amavis configuration file.

Now when I search in my /etc/postfix* directory recursively, I find:

[r...@mail ~]# cat /etc/postfix/* | grep 1002

content_filter = amavisfeed:[127.0.0.1]:10024
127.0.0.1:10025 inet n    -       n       -       -     smtpd

As you can see from above, my main.cf file has an entry for 10024 &
master.cf file has an entry for 10025.

Is this wrong according to my amavisd.conf file settings?

[r...@mail ~]# cat /etc/amavisd.conf | grep 1002

$inet_socket_port = 10024;   # listen on this local TCP port(s)
# $inet_socket_port = [10024,10026];  # listen on multiple TCP ports
# from internal hosts to a dedicated TCP port (such as 10026) for filtering
$interface_policy{'10026'} = 'ORIGINATING';
  forward_method => 'smtp:[127.0.0.1]:10027',
# $notify_method  = 'smtp:[127.0.0.1]:10025';
# $forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with milter!

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to