Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2010, 12:39
lil finger lil finger is offline
Junior Member
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default cant send higher ms office format with 2mb size.. pls help

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 by lil finger; 25th June 2010 at 12:51.
Reply With Quote
Sponsored Links
  #2  
Old 26th June 2010, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you post your /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st July 2010, 08:03
lil finger lil finger is offline
Junior Member
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 1st July 2010, 10:08
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

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/
Reply With Quote
  #5  
Old 1st July 2010, 10:18
lil finger lil finger is offline
Junior Member
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Quote:
Originally Posted by Mark_NL View Post
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/
Reply With Quote
  #6  
Old 1st July 2010, 10:30
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

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,ppt/media/image1.wmf
i'm not giving you any more clues! ;-)
Reply With Quote
  #7  
Old 1st July 2010, 10:40
lil finger lil finger is offline
Junior Member
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #8  
Old 1st July 2010, 11:12
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Well, amavis checks the file, not just the extension of a filename, so it could be what's inside the pptx.
Reply With Quote
  #9  
Old 1st July 2010, 11:17
lil finger lil finger is offline
Junior Member
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #10  
Old 1st July 2010, 11:21
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

/etc/amavis/conf.d/20-debian_defaults
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 21:17
post fix error after a year aberrio Server Operation 5 5th May 2009 22:33
Max email send and receive size? statiic Installation/Configuration 2 9th November 2006 19:50
how modify global size limiti of mail server for send very big mail! adrenalinic Installation/Configuration 14 1st February 2006 15:02


All times are GMT +2. The time now is 16:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.