Hello All, I am using qpsmtpd-0.32 with qmail-ldap. Now I am facing a strange problem, when I send mails with more than 1MB attachments. The error I got when I tried to send mail from yahoo mail to my email server is as follows :
Hi. This is the qmail-send program at yahoo.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: Connected to 1.2.3.4 but connection died. Possible duplicate! (#4.4.2) I'm not going to try again; this message has been in the queue too long. And my server's qpsmtpd log looks like: @4000000047f1c74f0216c07c 24392 250-mydomain.com Hi wf-out-1314.yahoo.com [209.85.200.175] @4000000047f1c74f02184eec 24392 250-PIPELINING @4000000047f1c74f0219a2c4 24392 250-8BITMIME @4000000047f1c74f021ad374 24392 250 AUTH PLAIN LOGIN @4000000047f1c74f0c2087c4 24392 dispatching MAIL FROM:<[EMAIL PROTECTED]> @4000000047f1c74f0c2594bc 24392 full from_parameter: FROM:<[EMAIL PROTECTED]> @4000000047f1c74f0c26e894 24392 from email address : [<[EMAIL PROTECTED]>] @4000000047f1c74f0c304704 24392 running plugin (mail): whitelist_soft @4000000047f1c74f0c32c3bc 24392 trying to get config for whitelistsenders @4000000047f1c74f0c358e94 24392 Plugin whitelist_soft, hook mail returned DECLINED, @4000000047f1c74f0c36e26c 24392 running plugin (mail): require_resolvable_fromhost @4000000047f1c74f0c39dc24 24392 trying to get config for invalid_resolvable_fromhost @4000000047f1c74f0c4a3f74 24392 trying to get config for require_resolvable_fromhost @4000000047f1c74f0cf1a304 24392 Plugin require_resolvable_fromhost, hook mail returned DECLINED, @4000000047f1c74f0cf2cfcc 24392 running plugin (mail): rhsbl @4000000047f1c74f0cf669ac 24392 trying to get config for rhsbl_zones @4000000047f1c74f0cfcb6f4 24392 rhsbl plugin: Checking gmail.com.abuse.rfc-ignorant.com for A record in the background @4000000047f1c74f0d0ee34c 24392 rhsbl plugin: Checking gmail.com.dsn.rfc-ignorant.org for A record in the background @4000000047f1c74f0d1dbffc 24392 rhsbl plugin: Checking gmail.com.rhsbl.sorbs.net for A record in the background @4000000047f1c74f0d2c46bc 24392 rhsbl plugin: Checking gmail.com.bogusmx.rfc-ignorant.com for A record in the background @4000000047f1c74f0d3c5034 24392 Plugin rhsbl, hook mail returned DECLINED, @4000000047f1c74f0d3da40c 24392 running plugin (mail): check_badmailfrom @4000000047f1c74f0d3faf7c 24392 trying to get config for badmailfrom @4000000047f1c74f0d4506ac 24392 Plugin check_badmailfrom, hook mail returned DECLINED, @4000000047f1c74f0d466254 24392 running plugin (mail): sender_permitted_from @4000000047f1c74f0d49b1fc 24392 trying to get config for relayclients @4000000047f1c74f0d4b5fac 24392 trying to get config for morerelayclients @4000000047f1c74f0d5761e4 24392 Plugin sender_permitted_from, hook mail returned DECLINED, @4000000047f1c74f0d59231c 24392 getting mail from <[EMAIL PROTECTED]> @4000000047f1c74f0d5a924c 24392 250 <[EMAIL PROTECTED]>, sender OK - how exciting to get mail from you! @4000000047f1c74f1119eff4 24392 dispatching RCPT TO:<[EMAIL PROTECTED]> @4000000047f1c74f111cddf4 24392 to email address : [<[EMAIL PROTECTED]>] @4000000047f1c74f1120450c 24392 running plugin (rcpt): dns_whitelist_soft @4000000047f1c74f11238ce4 24392 dns_whitelist_soft plugin: waiting for whitelist dns @4000000047f1c74f1125752c 24392 dns_whitelist_soft plugin: DONE waiting for whitelist dns, got 2 answers ... @4000000047f1c74f11347cd4 24392 Plugin dns_whitelist_soft, hook rcpt returned DECLINED, @4000000047f1c74f1135a99c 24392 running plugin (rcpt): whitelist_soft @4000000047f1c74f11378a14 24392 trying to get config for whitelistrcpt @4000000047f1c74f113a166c 24392 Plugin whitelist_soft, hook rcpt returned DECLINED, @4000000047f1c74f113b3f4c 24392 running plugin (rcpt): rhsbl @4000000047f1c74f113e7784 24392 rhsbl plugin: waiting for rhsbl dns @4000000047f1c74f1140679c 24392 rhsbl plugin: DONE waiting for rhsbl dns, got 4 answers ... @4000000047f1c74f115631bc 24392 Plugin rhsbl, hook rcpt returned DECLINED, @4000000047f1c74f115756b4 24392 running plugin (rcpt): dnsbl @4000000047f1c74f1159bfe4 24392 trying to get config for dnsbl_zones @4000000047f1c74f115cffec 24392 dnsbl plugin: waiting for dnsbl dns @4000000047f1c74f115ef7d4 24392 dnsbl plugin: DONE waiting for dnsbl dns, got 5 answers ... @4000000047f1c74f11796574 24392 trying to get config for dnsbl_zones @4000000047f1c74f117c5b44 24392 dnsbl plugin: waiting for dnsbl dns @4000000047f1c75000c1429c 24392 dnsbl plugin: DONE waiting for dnsbl dns, got 1 answers ... @4000000047f1c75000ca916c 24392 trying to get config for dnsbl_zones @4000000047f1c75000cdeccc 24392 dnsbl plugin: waiting for dnsbl dns @4000000047f1c75005c4769c 24392 dnsbl plugin: DONE waiting for dnsbl dns, got 1 answers ... @4000000047f1c75005c48e0c 24392 Plugin dnsbl, hook rcpt returned DECLINED, @4000000047f1c75005c49dac 24392 running plugin (rcpt): check_badmailfrom @4000000047f1c75005c4a964 24392 Plugin check_badmailfrom, hook rcpt returned DECLINED, @4000000047f1c75005c4b51c 24392 running plugin (rcpt): check_badrcptto @4000000047f1c75005c4c0d4 24392 trying to get config for badrcptto @4000000047f1c75005c4cc8c 24392 Plugin check_badrcptto, hook rcpt returned DECLINED, @4000000047f1c75005c52e34 24392 running plugin (rcpt): sender_permitted_from @4000000047f1c75006921b24 24392 Plugin sender_permitted_from, hook rcpt returned DECLINED, @4000000047f1c75006937ab4 24392 running plugin (rcpt): rcpt_ok @4000000047f1c750069612c4 24392 trying to get config for me @4000000047f1c7500697a134 24392 trying to get config for rcpthosts @4000000047f1c750069e7b1c 24392 Plugin rcpt_ok, hook rcpt returned OK, @4000000047f1c75006a07ebc 24392 250 <[EMAIL PROTECTED]>, recipient ok @4000000047f1c7500a65cfd4 24392 dispatching DATA @4000000047f1c7500a69468c 24392 354 go ahead @4000000047f1c7500a6b07c4 24392 trying to get config for databytes @4000000047f1c7500a6d171c 24392 max_size: 0 / size: 0 @4000000047f1c7500a70bcb4 24392 trying to get config for timeout @4000000047f1c7501465d31c 24392 Loaded logging/warn 7 @4000000047f1c7501466b1c4 24392 spooling message to disk @4000000047f1c7570d7503d4 24392 max_size: 0 / size: 2014522 @4000000047f1c7570d780944 24392 trying to get config for me @4000000047f1c7570d7ecfa4 24392 running plugin (data_post): check_basicheaders @4000000047f1c7570d8d798c 24392 Plugin check_basicheaders, hook data_post returned DECLINED, @4000000047f1c7570d8ea654 24392 running plugin (data_post): sender_permitted_from @4000000047f1c7570d911b3c 24392 sender_permitted_from plugin: result was pass: mydomain.com: domain of [EMAIL PROTECTED] designates 209.85.200.175 as permitted sender @4000000047f1c7570d9541bc 24392 Plugin sender_permitted_from, hook data_post returned DECLINED, @4000000047f1c7570d966e84 24392 running plugin (data_post): domainkeys @4000000047f1c7572c003e7c Out of memory! @4000000047f1c757348e1fdc 23596 cleaning up after 24392 Please tell me whether I have to change any configuration on my server side? Is there any option available to set the attachment size? Anyway the mail with 1 MB or More attachment is not passing to the qmail. I think there is nothing we want to change on the qmail side, Since the internal mails can send attachments without this issue using qmail. Its happening only when mails are coming from outside to qpsmtpd. Please help me to solve this problem. Thanks, Abhilash S