Postfix config

Scott Kitterman ubuntu at kitterman.com
Mon Jul 7 20:24:33 UTC 2008


On Monday 07 July 2008 15:30, Jim Douglas wrote:

> > > content_filter = amavis:[127.0.0.1]:10024

> > > content_filter = smtp-amavis:[127.0.0.1]:10024
> > > receive_override_options = no_address_mappings

> > > # Added 7/17/08 for amavis support
> > > #[...]
> > > smtp-amavis     unix    -       -       -       -       2       smtp
> >
> > Here your service name is smtp-amavis.

>
> I renamed
>  #smtp-amavis     unix    -       -       -       -       2       smtp
> to,
> amavis     unix    -       -       -       -       2       smtp
>
> Stopped and started Postfix, restarted spamassin, clam and amavis, and now
> get,
>
>  Jul  7 15:27:12 sa-desktop postfix/qmgr[6797]: warning: connect to
> transport smtp-amavis: No such file or directory
>
> Thanks,

It's also chrooted.  Try something like:

smtp-amavis unix -      -       n     -        2        smtp
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=yes

You can sudo postfix stop, sudo postfix start to make sure you are picking up 
the master.cf changes.

You can also telnet 127.0.0.1:10024 and make sure amavisd-new is listening 
there.

Scott K




More information about the ubuntu-server mailing list