Muhammad wrote:

> Dear sir,

>  I am working on postfix mail server.All
> packages(postfix,courier-imap,courier-authlib,maildrop) working
> correctly.and  virtual pop user authentication with mysql
> successfully.The mail is placed on to /home/vmail/usermaildir.I send
> the email without clamav+amavis.The mail is send to the recipient
> sucessfully

>  When i send the mail and checking mail with amisd+clamav. The mail is
> not send and mail is bouncing.

> Error message fetch from /var/log/maillog
> ------------------------------------------------------------
> Jul  8 18:41:13 post-4 postfix/smtpd[1562]: 075426148:
> client=unknown[192.168.10.25]
> Jul  8 18:41:13 post-4 postfix/cleanup[1564]: 075426148:
> message-id=<[EMAIL PROTECTED]>
> Jul  8 18:41:13 post-4 postfix/qmgr[1491]: 075426148:
> from=<[EMAIL PROTECTED]>, size=1367, nrcpt=1 (queue active)
> Jul  8 18:41:13 post-4 postfix/smtpd[1562]: disconnect from
> unknown[192.168.10.25]
> Jul  8 18:41:13 post-4 postfix/smtp[1565]: 075426148:
> to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=bounced (mail for
> post-4.fsd.net loops back to myself)

I don't know if you have solved you problem yet, but the error above
needs to be corrected. http://www.postfix.org/VIRTUAL_README.html may
provide some guidance on this error.

> Jul  8 18:41:13 post-4 postfix/cleanup[1564]: 23CDB614A:
> message-id=<[EMAIL PROTECTED]>
> Jul  8 18:41:13 post-4 postfix/qmgr[1491]: 23CDB614A: from=<>,
> size=2997, nrcpt=1 (queue active)
> Jul  8 18:41:13 post-4 postfix/qmgr[1491]: 075426148: removed
> Jul  8 18:41:13 post-4 postfix/virtual[1567]: 23CDB614A:
> to=<[EMAIL PROTECTED]>, relay=virtual, delay=0, status=sent (delivered
> to maildir)
> Jul  8 18:41:13 post-4 postfix/qmgr[1491]: 23CDB614A: removed
> Jul  8 18:41:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport spamfilter: Connection refused
> Jul  8 18:41:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport filter: No such file or directory
> Jul  8 18:41:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport smtp-amavis: Connection refused
> Jul  8 18:42:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport spamfilter: Connection refused
> Jul  8 18:42:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport filter: No such file or directory
> Jul  8 18:42:47 post-4 postfix/qmgr[1491]: warning: connect to
> transport smtp-amavis: Connection refused

I'm not sure, but it looks like you have tried several configurations
and you have some stuff stuck in your queue. After a change to
master.cf, and after you reload Postfix, run 'postsuper -r ALL' to
requeue the mail.

> Detail amavis configuration in postfix file

> master.cf
> =========
> smtp-amavis unix -      -       n       -       2  lmtp
>     -o lmtp_data_done_timeout=1200
>     -o lmtp_send_xforward_command=yes

> 127.0.0.1:10025 inet n  -       n       -       -  smtpd
>     -o content_filter=
>     -o local_recipient_maps=
>     -o relay_recipient_maps=
>     -o smtpd_restriction_classes=
>     -o smtpd_client_restrictions=
>     -o smtpd_helo_restrictions=
>     -o smtpd_sender_restrictions=
>     -o smtpd_recipient_restrictions=permit_mynetworks,reject
>     -o mynetworks=127.0.0.0/8
>     -o strict_rfc821_envelopes=yes
>     -o smtpd_error_sleep_time=0
>     -o smtpd_soft_error_limit=1001
>     -o smtpd_hard_error_limit=1000

> main.cf
> ========

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

>  Detail package version 
> ----------------------------------
>  postfix2.2.2
>  mysql-client-4.0.21
>  mysql-server-4.0.21
>  courier-authlib-0.5.6
>  courier-imap-4.0.3
>  freebs5.3
> amavisd-new-2.2.1
> clamav-0.83

> Can  you help me in this regard.?
> Any help would be apreciated.
> Best Regard
> Muhammad kashif

The settings you have shown appear to be OK. You might need to head
on over to the Postfix mailing list if you can't get it working. You
will at least need to provide the output of 'postconf -n' and some
current log errors.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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