cant send higher ms office format with 2mb size.. pls help

Discussion in 'Installation/Configuration' started by lil finger, Jun 25, 2010.

  1. lil finger

    lil finger New Member

    hi,

    im trying to send .pptx file which is more than 2MB of size.. but i got an error message,

    from amavis, header message shows:
    Return-Path: <****@*.com>
    Received: from (unknown [IP])
    by smtp.*.com (Postfix) with ESMTP id 3F09663815
    for <***@*.com>; Fri, 25 Jun 2010 16:12:56 +0800 (PHT)
    From: <******@*.com>
    To: <***@*.com>
    Subject: test
    Date: Fri, 25 Jun 2010 16:12:58 +0800
    Message-ID: <056201cb143e$38fb43f0$aaf1cbd0$@com>
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_NextPart_000_0563_01CB1481.471E83F0"
    X-Mailer: Microsoft Office Outlook 12.0
    Thread-Index: AcsUPjY5q2kKt7JhQkiFdEJZDEC33Q==
    Content-Language: en-ph

    detail message:
    Reporting-MTA: dns; smtp.*.com
    Received-From-MTA: smtp; smtp.*.com ([127.0.0.1])
    Arrival-Date: Fri, 25 Jun 2010 16:12:58 +0800 (PHT)

    Original-Recipient: rfc822;*****@*.com
    Final-Recipient: rfc822;*****@*.com
    Action: failed
    Status: 5.7.0
    Diagnostic-Code: smtp; 554-5.7.0 Reject, id=01104-13 - BANNED:
    554 5.7.0 .wmf,ppt/media/image1.wmf
    Last-Attempt-Date: Fri, 25 Jun 2010 16:12:58 +0800 (PHT)
    Final-Log-ID: 01104-13/ziTzT5aHXmGD


    how can i configure our smtp so it can allow to send the higher version of ms office having more than 2mb size file?

    i try sending .pptx also but not more than 2mb, and it was successfully send.

    by the way our smtp is in GNU/Debian.. i like to re config the amavisd.conf but i dont know how.. i only know basic of linux.
     
    Last edited: Jun 25, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post your /etc/postfix/main.cf?
     
  3. lil finger

    lil finger New Member

    here is the main.cf:

    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    maximal_queue_lifetime = 5d

    readme_directory = no

    # TLS parameters
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls = no
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = smtp-5.domain.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = domain.com
    mydestination =
    relayhost =
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 202.73.180.0/28, 125.212.34.92/30
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter =
    inet_interfaces = all
    mydomain = domain.com
    message_size_limit = 10485760
    local_transport = error:no local mail delivery
    local_recipient_maps =
    virtual_alias_maps = hash:/etc/postfix/virtual
    relay_recipient_maps = hash:/etc/postfix/relay_recipients
    transport_maps = hash:/etc/postfix/transport
    relay_domains = hash:/etc/postfix/relay_domains
    smtpd_helo_required = yes
    disable_vrfy_command = yes
    strict_rfc821_envelopes = yes
    invalid_hostname_reject_code = 554
    multi_recipient_bounce_reject_code = 554
    non_fqdn_reject_code = 554
    relay_domains_reject_code = 554
    unknown_address_reject_code = 554
    unknown_client_reject_code = 554
    unknown_hostname_reject_code = 554
    unknown_local_recipient_reject_code = 554
    unknown_relay_recipient_reject_code = 554
    unknown_sender_reject_code = 554
    unknown_virtual_alias_reject_code = 554
    unknown_virtual_mailbox_reject_code = 554
    unverified_recipient_reject_code = 554
    unverified_sender_reject_code = 554

    smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/sender_access,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain

    smtpd_recipient_restrictions =
    permit_mynetworks,
    reject_unauth_destination,
    reject_unauth_pipelining,
    reject_unknown_recipient_domain,
    reject_invalid_hostname,
    permit_sasl_authenticated,
    reject_rbl_client multi.uribl.com,
    reject_rbl_client dsn.rfc-ignorant.org,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl-xbl.spamhaus.org,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client dnsbl.sorbs.net,
    reject_rbl_client cbl.abuseat.org,
    reject_rbl_client ix.dnsbl.manitu.net,
    reject_rbl_client combined.rbl.msrbl.net,
    reject_rbl_client rabl.nuclearelephant.com,
    permit

    smtpd_data_restrictions =
    reject_unauth_pipelining
    permit

    header_checks = pcre:/etc/postfix/header_checks
    body_checks = pcre:/etc/postfix/body_checks
    content_filter = smtp-amavis:[127.0.0.1]:10024
     
  4. Mark_NL

    Mark_NL New Member

    Diagnostic-Code: smtp; 554-5.7.0 Reject, id=01104-13 - BANNED:
    554 5.7.0 .wmf,ppt/media/image1.wmf

    tells you that it's not allowed to send files with those extensions, you can add/remove those in the files: /etc/amavis/conf.d/
     
  5. lil finger

    lil finger New Member

    the problem is im only sending a .pptx file. im not sending the .wmf format

     
  6. Mark_NL

    Mark_NL New Member

    oke, let's try this again ...

    this is the error:

    Code:
    Diagnostic-Code: smtp; 554-5.7.0 Reject, id=01104-13 - BANNED:
    554 5.7.0 .wmf,[B][SIZE="7"]ppt[/SIZE][/B]/media/image1.wmf
    i'm not giving you any more clues! ;-)
     
  7. lil finger

    lil finger New Member

    to be clear, il rephrase my problem.

    why is that when i try sending below 2mb. it passes through? i can send it without encountering error, but if i send it 2mb or more.. i always encounter that kind of error? both file has the .pptx format but different in sizes. and i dnt know why the error find it in different format when i only send a .pptx format?

    is there any configurations i need to change?
     
  8. Mark_NL

    Mark_NL New Member

    Well, amavis checks the file, not just the extension of a filename, so it could be what's inside the pptx.
     
  9. lil finger

    lil finger New Member

    hmmm... how can i allow the ms office 2007 format?is there a need to reconfig on the configuration? especially on the amavis config?


    Mark_NL;232460]Well, amavis checks the file, not just the extension of a filename, so it could be what's inside the pptx.
     
  10. Mark_NL

    Mark_NL New Member

    /etc/amavis/conf.d/20-debian_defaults
     
  11. lil finger

    lil finger New Member

    what command should i input?
     

Share This Page