Problem with POSTFIX and avastmail

Hello,

I use postfix as smtp relay and I want to link it with avastmail. My smtp relay work but when I send mail via my smtp relay + avastmail I receive the following mail : 


This is the mail system at host Ubuntu.

I’m sorry to have to inform you that your message could not be delivered to one or more recipients. It’s attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

               The mail system

kabouns21@msn.com: remote error in protocol. Command output: can’t relay
message, 5.7.1 kabouns21@msn.com: Relay access denied



And the following postfix log : 

Nov 28 11:12:07 Ubuntu postfix/smtpd[7279]: connect from ao-vis-18.domain.local[192.168.2.243]
Nov 28 11:12:07 Ubuntu postfix/smtpd[7279]: D5B39F9D42: client=ao-vis-18.domain.local[192.168.2.243]
Nov 28 11:12:07 Ubuntu postfix/cleanup[7282]: D5B39F9D42: message-id=20071128101207.D5B39F9D42@Ubuntu
Nov 28 11:12:08 Ubuntu postfix/qmgr[6975]: D5B39F9D42: from=thibault.brisse@artesys.eu, size=2444, nrcpt=1 (queue active)
Nov 28 11:12:08 Ubuntu avastfilter[7285]: can’t change program root directory to ‘/var’, Operation not permitted
Nov 28 11:12:08 Ubuntu avastfilter[7285]: message scan failed (avast! server: File was not tested due to excluded areas)
Nov 28 11:12:08 Ubuntu postfix/smtpd[7286]: connect from localhost[127.0.0.1]
Nov 28 11:12:08 Ubuntu postfix/smtpd[7286]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 kabouns21@msn.com: Relay access denied; from=thibault.brisse@artesys.eu to=kabouns21@msn.com proto=SMTP helo=
Nov 28 11:12:08 Ubuntu avastfilter[7285]: can’t relay message, 5.7.1 kabouns21@msn.com: Relay access denied
Nov 28 11:12:08 Ubuntu postfix/smtpd[7286]: disconnect from localhost[127.0.0.1]
Nov 28 11:12:08 Ubuntu postfix/pipe[7284]: D5B39F9D42: to=kabouns21@msn.com, relay=filter, delay=0.95, delays=0.14/0.04/0/0.77, dsn=5.5.0, status=bounced (remote error in protocol. Command output: can’t relay message, 5.7.1 kabouns21@msn.com: Relay access denied )

Nov 28 11:12:08 Ubuntu postfix/cleanup[7282]: C8B1DF9D49: message-id=<20071128101208.C8B1DF9D49@Ubuntu>
Nov 28 11:12:08 Ubuntu postfix/qmgr[6975]: C8B1DF9D49: from=<>, size=4232, nrcpt=1 (queue active)
Nov 28 11:12:08 Ubuntu postfix/bounce[7289]: D5B39F9D42: sender non-delivery notification: C8B1DF9D49
Nov 28 11:12:08 Ubuntu postfix/qmgr[6975]: D5B39F9D42: removed
Nov 28 11:12:09 Ubuntu postfix/smtp[7291]: C8B1DF9D49: to=<thibault.brisse@artesys.eu>, relay=smtp.easynet.fr[212.180.1.59]:25, delay=0.58, delays=0.12/0.04/0.04/0.38, dsn=2.0.0, status=sent (250 OK id=1IxJu6-0007ze-EF)
Nov 28 11:12:09 Ubuntu postfix/qmgr[6975]: C8B1DF9D49: removed
Nov 28 11:12:10 Ubuntu postfix/smtpd[7279]: disconnect from ao-vis-18.domain.local[192.168.2.243]

Thank you,

Kab

It was a problem with postfix conf

kab