problem with amavisd and postfix

digitalphoto digitalphoto at digitalphoto.com.br
Sun Jan 30 20:54:25 CET 2005


Hallo Martin,

Maybe it's time to trust 100% in Kolab :-) and do a clean install outside the 
jail. Anyway, the jail is behaving properly in all other aspects and it seems 
to be a smart and safe way to use kolab or any other program. I had a lot of 
troubles in the beginning but after a while I got used to it and everything 
is working fine (but amavisd/postfix). Maybe if I can do the mail traffic 
using the NIC's IP and not the localhost address, but I'm not sure how to do 
it.

> BTW: Is there an easy way to detect that a program is running in a jail?
The only way I know to detect programs running in a jail is calling ps and 
cheking if there's a jota in the thir field, like the example below
# ps ax | grep postfix
 2717  ??  SsJ    0:03.57 /kolab/libexec/postfix/master
                    |------ See the big J in here?

Or calling all jail processes using something like this:
bash-2.05b$ ps ax | grep "^[0-9].*J .*$"
31744  ??  IJ     0:00.02 pickup -l -t fifo -u
32792  ??  SJ     0:00.24 imapd: imapd: kolab.usina-de-imagens.com.br 
[192.168.
33176  ??  SJ     0:00.01 [spawn]
33607  ??  SJ     0:00.01 lmtpd
33611  ??  SJ     0:00.00 [spawn]
33623  ??  IJ     0:00.01 smtp -n smtp-amavis -t unix -u -o 
smtp_data_done_time
33624  ??  IJ     0:00.01 smtp -n smtp-amavis -t unix -u -o 
smtp_data_done_time
33627  ??  IJ     0:00.01 bounce -z -n defer -t unix -u
33634  ??  IJ     0:00.43 amavisd (ch4-avail) (perl)
33640  ??  IJ     0:00.00 amavisd (virgin child) (perl)





Regards,
Joe Karma





> Am Sonntag, 30. Januar 2005 14:25 schrieb digitalphoto:
> 
> Hi,
> 
> > I can't make amavisd work with postfix. is there a howto somewhere?
> > problem is, when I comment out the lines on main.cf
> 
> You are not supposed to change the main.cf manually. Actually the feature in 
> question is controlled via the web admin GUI / LDAP repository.
> 
> > @@@if postfix-enable-virus-scan@@@
> > #
> > # Amavis virus scan
> > #
> >
> > >>>> #content_filter=smtp-amavis:[127.0.0.1]:10024 <<<<<
> >
> > @@@else@@@
> >
> > >>>> #content_filter=kolabfilter <<<<<
> >
> > @@@endif@@@
> 
> > kolab is running on a jail
> 
> Are you using jail on FreeBSD? We sofar got multiple reports that this does 
> not work as expected. 
> 
> Please note that we currently recommend native installs on FreeBSD not 
jails.
> 
> BTW: Is there an easy way to detect that a program is running in a jail?
> 
> Regards,
> -- martin
> 
> -- 
> "I am committed to helping Ohio deliver its electoral votes to the
> President next year."  -- 2004, Wally O'Dell - CEO of Diebold, Inc. 
> e r f r a k o n - Stuttgart, Germany
> Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
> 
> 
> 




More information about the users mailing list