Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix: Trouble sending large attachments?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sat Feb 19, 2005 9:41 am    Post subject: Postfix: Trouble sending large attachments? Reply with quote

Hi all,

I've got postfix running on a dedicated sun gentoo box.

Of late, i've had problems sending large attachments. I'm using a mac as my client...

In the logs I see something like this:

Feb 19 03:18:28 xxxxxxx postfix/cleanup[19488]: 63474F5A7F: message-id=<cb02fd0e695be52c85c9bba5137925f7@xxxxxx.com>
Feb 19 03:19:16 xxxx imapd-ssl: DISCONNECTED, user=xxxx@xxxxxxx.com, ip=[xx.xx.xx.xx, headers=0, body=0
Feb 19 03:19:16 xxxx imapd-ssl: DISCONNECTED, user=xxxx@xxxxxx.com, ip=[xx.xx.xx.xx], headers=0, body=0
Feb 19 03:20:36 xxxx postfix/smtpd[19479]: lost connection after DATA from wsip-xx-xx-xx-xx-no.no.cox.net[xx.xx.xx.xx]
Feb 19 03:20:36 xxxx postfix/smtpd[19479]: disconnect from wsip-xx.xxx.xx.xx.no.no.cox.net[xx.xx.xx.xx]

I x'ed out the addresses..

But, I cannot see anything from the logs. I can send small text email no problem....but, attachments it blows on.

This particular msg. sent with one address...other ones bcc.

I followed the gentoo postfix document....mysql..etc. I've seen some pam-mysql errors

Feb 19 03:30:52 xxxx postfix/smtpd[19514]: mysql plugin couldnt connect to any host
Feb 19 03:30:52 xxxx saslauthd[5390]: pam_mysql: error: sqllog set but logtable not set
Feb 19 03:30:52 xxxx saslauthd[5390]: pam_mysql: error: sqllog set but logmsgcolumn not set
Feb 19 03:30:52 xxxx saslauthd[5390]: pam_mysql: error: sqllog set but logusercolumn not set
Feb 19 03:30:52 xxxx saslauthd[5390]: pam_mysql: error: sqllog set but loghostcolumn not set
Feb 19 03:30:52 xxxxx saslauthd[5390]: pam_mysql: error: sqllog set but logtimecolumn not set
Feb 19 03:30:52 xxxx postfix/smtpd[19514]: mysql plugin couldnt connect to any host

I only see this type thing with sending large attachments....any ideas?

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sat Feb 19, 2005 9:44 am    Post subject: Reply with quote

Define large... Postfix won´t send anything above 10MB in default configuration. Note that this does not mean that the attachment may have 10MB (due to encoding the real max. size could be somewhere around 6-7MB).
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Feb 19, 2005 10:58 am    Post subject: Reply with quote

you can check the limit by sending an EHLO in a telnet session with the server, if it is 10MB add
Code:
message_size_limit = <required size in bytes>
to your main.cf
Back to top
View user's profile Send private message
Poppenpopper
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2003
Posts: 80
Location: Böblingen

PostPosted: Wed May 09, 2007 10:01 pm    Post subject: Reply with quote

Is there a limit for the message_size_limit-option in main.cf?

When i use

Code:

message_size_limit=104857600


postfix queues any incoming message and doesn't deliver.

When i use

Code:

message_size_limit=50240000


delivery works.

Greetings

Lars
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum