LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-29-2011, 02:53 PM   #1
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 974

Rep: Reputation: 56
A question about postfix and emails with large attachments...


Running Postfix 2.6.1 on Slackware 13.0. I noticed that if I send an email with a large attachment(namely more than 500 KB) from another computer using this postfix server as an smtp server, it takes up to an hour to send it. It's almost like postfix is configured to send large emails later with a lower priority. The client computer and postfix server are within a GIGABIT LAN so upload 500 KB isn't an issue.
Here's my /etc/postfix/main.cf
Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = sub.domain.com
mydomain = domain.com
myorigin = sub
inet_interfaces = all
mydestination = sub, domain.com, sub.domain.com, localhost.domain.com, localhost
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 192.168.1.0/28, 127.0.0.0/8
relay_domains = $mydestination, sub2.domain.com, sub3.domain.com
relayhost = mail.domain.com
mail_spool_directory = /var/spool/mail
debugger_command =
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = /usr/doc/postfix-2.6.1/html
manpage_directory = /usr/man
sample_directory = /etc/postfix
readme_directory = /usr/doc/postfix-2.6.1/README_FILES
disable_vrfy_command = yes
smtpd_sasl_path = smtpd
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtp_tls_security_level = encrypt
smtpd_tls_security_level = encrypt
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/server.key
smtpd_tls_cert_file = /etc/postfix/ssl/server.crt
smtpd_tls_CAfile = /etc/postfix/ssl/ca.crt
Any ideas of what would cause the delay?
 
Old 03-30-2011, 08:15 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
I am not aware of a delay mechanism built into Postfix like this, but it sounds like you do have a bottleneck somewhere. Have you tried running a monitoring application like top while sending a message to see what your resource usage level is?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is is possible/practical to encrypt large attachments with GPG? abefroman Linux - Security 3 10-16-2009 03:58 PM
[SOLVED] Postfix email attachments prasanta Linux - Server 3 09-30-2009 04:25 AM
Need to forward with postfix without attachments lsalab Linux - Server 1 03-31-2009 06:51 PM
looking for tools to send large email attachments bayonetblaha Linux - Software 3 02-13-2008 10:39 PM
can't recieve emails with attachments gwunta Linux - Networking 0 04-13-2005 01:21 AM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration