Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    bad transport type error when integerate Postfix, amavis, and clamav

    OS: SUSE Enterprise 10
    # rpm -q postfix
    # rpm -q clamav
    # rpm -q amavisd-new

    I have to config the Postfix + Clamav + Amavisd-new
    I followed the
    postfix doesnt starts when configuring postfix to use content_filter program
    # rcpostfix start
    Starting mail service (Postfix) done
    # rcpostfix status
    Checking for service Postfix: dead

    #tail -f /var/log/mail
    Mar 21 10:42:07 www1 postfix/master[5091]: fatal: /etc/postfix/ line 74: bad transport type: smtp_data_done_timeout=1200
    in, I comment the line
    #-o smtp_data_done_timeout=1200
    then # rcpostfix start
    #tail -f /var/log/mail
    Mar 21 11:15:06 www1 postfix/master[6460]: fatal: /etc/postfix/ line 77: bad transport type: smtp_send_xforward_command=yes

    My Configurations:
    #vi /etc/amavisd.conf
    $mydomain = 'test.local';
    # rcclamd start
    Starting Clam AntiVirus daemon done
    # rcamavis start
    Starting virus-scanner (amavisd-new): done

    # vi /etc/postfix/
    #comment out the following lines, we'll be replacing them
    #smtp inet n - n - - smtpd
    #pickup fifo n - n 60 1 pickup

    #Now at the end of this file insert:

    #the amavis connector, to send to amavis
    smtp-amavis unix - - - - 2 smtp
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
    #The amavis receiver inet n - y - - smtpd
    -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,rej ect
    -o mynetworks=
    -o mynetworks_style=host
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o receive_override_options=no_header_body_checks

    #Stop Postfix from cleaning emails before sending to amavis
    pre-cleanup unix n - y - 0 cleanup
    -o virtual_alias_maps=
    -o canonical_maps=
    -o sender_canonical_maps=
    -o recipient_canonical_maps=
    -o masquerade_domains=
    #Regular messsages can get cleaned up
    cleanup unix n - y - 0 cleanup
    -o mime_header_checks=
    -o nested_header_checks=
    -o body_checks=
    -o header_checks=

    smtp inet n - n - - smtpd
    -o cleanup_service_name=pre-cleanup

    pickup fifo n - y 60 1 pickup
    -o cleanup_service_name=pre-cleanup

    # vi /etc/postfix/
    content_filter = smtp-amavis:[]:10025

    /etc/postfix/, /etc/postfix/, /etc/amavisd.conf, and /etc/clamd.conf are attached
    Attached Files Attached Files

  2. #2
    plz assume this post/thread close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts