<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — SMTP server error: 5.5.1 Error: nested MAIL command]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4239.xml" />
	<updated>2012-12-06T13:59:26Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4239-smtp-server-error-551-error-nested-mail-command.html</id>
		<entry>
			<title type="html"><![CDATA[Re: SMTP server error: 5.5.1 Error: nested MAIL command]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19387.html#p19387" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>westdude wrote:</cite><blockquote><p>The following From address failed: myaccount@mydomain.org&lt;p&gt;SMTP server error: 5.5.1 Error: nested MAIL command</p></blockquote></div><p>How did you send emails? with port 587 or 25? If use port 587, try to avoid Amavisd by modify /etc/postfix/master.cf:<br /></p><div class="quotebox"><blockquote><p>submission inet n&nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp;n&nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp;smtpd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; -o smtpd_tls_security_level=encrypt<br />&nbsp; -o smtpd_sasl_auth_enable=yes<br />&nbsp; -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject<br />&nbsp; <span style="color: red">-o content_filter=smtp-amavis:[127.0.0.1]:10026</span></p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-06T13:59:26Z</updated>
			<id>http://www.iredmail.org/forum/post19387.html#p19387</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SMTP server error: 5.5.1 Error: nested MAIL command]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19378.html#p19378" />
			<content type="html"><![CDATA[<p>No one has this problem before?&nbsp; Wow...</p><p> </p><div class="quotebox"><cite>westdude wrote:</cite><blockquote><p>==== Required information ====<br />- iRedMail version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Linux/BSD distribution name and version: <br />- Related log if you&#039;re reporting an issue: <br />==== ==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: CentOS 6.3 64 Bit<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>I&#039;m trying to send campaign email for sugarcrm around 800 of them.&nbsp; When it hit number 520 something it stop sending with this kind of error.<br /></p><div class="quotebox"><cite>Le Dude wrote:</cite><blockquote><p>Sat Dec&nbsp; 1 17:09:23 2012 [24152][1][FATAL] Email delivery error:Array<br />(<br />&nbsp; &nbsp; [date_entered] =&gt; 2012-11-30 22:49:21<br />&nbsp; &nbsp; [date_modified] =&gt; <br />&nbsp; &nbsp; [user_id] =&gt; 1<br />&nbsp; &nbsp; [id] =&gt; 3172<br />&nbsp; &nbsp; [campaign_id] =&gt; 83631769-b3d7-cbec-b454-50b84cc4e404<br />&nbsp; &nbsp; [marketing_id] =&gt; e2446a07-3f04-5855-b233-50b85cb4e162<br />&nbsp; &nbsp; [list_id] =&gt; 13c17f0a-072b-4546-ba69-50b85f2515be<br />&nbsp; &nbsp; [send_date_time] =&gt; 2012-11-30 23:00:00<br />&nbsp; &nbsp; [modified_user_id] =&gt; <br />&nbsp; &nbsp; [in_queue] =&gt; 1<br />&nbsp; &nbsp; [in_queue_date] =&gt; 2012-11-30 23:01:38<br />&nbsp; &nbsp; [send_attempts] =&gt; 1<br />&nbsp; &nbsp; [deleted] =&gt; 0<br />&nbsp; &nbsp; [related_id] =&gt; d984391f-f5ca-938d-33e6-50b85b4fd18d<br />&nbsp; &nbsp; [related_type] =&gt; Contacts<br />)<br />The following From address failed: myaccount@mydomain.org&lt;p&gt;SMTP server error: 5.5.1 Error: nested MAIL command<br />&lt;/p&gt;</p><p>Sat Dec&nbsp; 1 17:09:24 2012 [24152][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: myaccount@mydomain.org<br />Sat Dec&nbsp; 1 17:09:24 2012 [24152][1][FATAL] Email delivery FAILURE:Array<br />(<br />&nbsp; &nbsp; [date_entered] =&gt; 2012-11-30 22:49:21<br />&nbsp; &nbsp; [date_modified] =&gt; <br />&nbsp; &nbsp; [user_id] =&gt; 1<br />&nbsp; &nbsp; [id] =&gt; 3428<br />&nbsp; &nbsp; [campaign_id] =&gt; 83631769-b3d7-cbec-b454-50b84cc4e404<br />&nbsp; &nbsp; [marketing_id] =&gt; e2446a07-3f04-5855-b233-50b85cb4e162<br />&nbsp; &nbsp; [list_id] =&gt; 13c17f0a-072b-4546-ba69-50b85f2515be<br />&nbsp; &nbsp; [send_date_time] =&gt; 2012-11-30 23:00:00<br />&nbsp; &nbsp; [modified_user_id] =&gt; <br />&nbsp; &nbsp; [in_queue] =&gt; 1<br />&nbsp; &nbsp; [in_queue_date] =&gt; 2012-11-30 23:01:38<br />&nbsp; &nbsp; [send_attempts] =&gt; 1<br />&nbsp; &nbsp; [deleted] =&gt; 0<br />&nbsp; &nbsp; [related_id] =&gt; 4a9414d3-bd04-d38e-5cd6-50b85bf41761<br />&nbsp; &nbsp; [related_type] =&gt; Contacts<br />)</p></blockquote></div><p>Did some googling and some people mentioned about amavisd bug but that was in 2008.&nbsp; Wouldn&#039;t it be fair to assume that by 2012 those bugs are already patched?&nbsp; Am I looking at the wrong problem?&nbsp; Please advise?&nbsp; I&#039;m very puzzled.&nbsp; Many thanks in advance for your help Mr. Zhang.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[westdude]]></name>
				<uri>http://www.iredmail.org/forum/user23489.html</uri>
			</author>
			<updated>2012-12-05T22:29:14Z</updated>
			<id>http://www.iredmail.org/forum/post19378.html#p19378</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SMTP server error: 5.5.1 Error: nested MAIL command]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19353.html#p19353" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Linux/BSD distribution name and version: <br />- Related log if you&#039;re reporting an issue: <br />==== ==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: CentOS 6.3 64 Bit<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>I&#039;m trying to send campaign email for sugarcrm around 800 of them.&nbsp; When it hit number 520 something it stop sending with this kind of error.<br /></p><div class="quotebox"><cite>Le Dude wrote:</cite><blockquote><p>Sat Dec&nbsp; 1 17:09:23 2012 [24152][1][FATAL] Email delivery error:Array<br />(<br />&nbsp; &nbsp; [date_entered] =&gt; 2012-11-30 22:49:21<br />&nbsp; &nbsp; [date_modified] =&gt; <br />&nbsp; &nbsp; [user_id] =&gt; 1<br />&nbsp; &nbsp; [id] =&gt; 3172<br />&nbsp; &nbsp; [campaign_id] =&gt; 83631769-b3d7-cbec-b454-50b84cc4e404<br />&nbsp; &nbsp; [marketing_id] =&gt; e2446a07-3f04-5855-b233-50b85cb4e162<br />&nbsp; &nbsp; [list_id] =&gt; 13c17f0a-072b-4546-ba69-50b85f2515be<br />&nbsp; &nbsp; [send_date_time] =&gt; 2012-11-30 23:00:00<br />&nbsp; &nbsp; [modified_user_id] =&gt; <br />&nbsp; &nbsp; [in_queue] =&gt; 1<br />&nbsp; &nbsp; [in_queue_date] =&gt; 2012-11-30 23:01:38<br />&nbsp; &nbsp; [send_attempts] =&gt; 1<br />&nbsp; &nbsp; [deleted] =&gt; 0<br />&nbsp; &nbsp; [related_id] =&gt; d984391f-f5ca-938d-33e6-50b85b4fd18d<br />&nbsp; &nbsp; [related_type] =&gt; Contacts<br />)<br />The following From address failed: myaccount@mydomain.org&lt;p&gt;SMTP server error: 5.5.1 Error: nested MAIL command<br />&lt;/p&gt;</p><p>Sat Dec&nbsp; 1 17:09:24 2012 [24152][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: myaccount@mydomain.org<br />Sat Dec&nbsp; 1 17:09:24 2012 [24152][1][FATAL] Email delivery FAILURE:Array<br />(<br />&nbsp; &nbsp; [date_entered] =&gt; 2012-11-30 22:49:21<br />&nbsp; &nbsp; [date_modified] =&gt; <br />&nbsp; &nbsp; [user_id] =&gt; 1<br />&nbsp; &nbsp; [id] =&gt; 3428<br />&nbsp; &nbsp; [campaign_id] =&gt; 83631769-b3d7-cbec-b454-50b84cc4e404<br />&nbsp; &nbsp; [marketing_id] =&gt; e2446a07-3f04-5855-b233-50b85cb4e162<br />&nbsp; &nbsp; [list_id] =&gt; 13c17f0a-072b-4546-ba69-50b85f2515be<br />&nbsp; &nbsp; [send_date_time] =&gt; 2012-11-30 23:00:00<br />&nbsp; &nbsp; [modified_user_id] =&gt; <br />&nbsp; &nbsp; [in_queue] =&gt; 1<br />&nbsp; &nbsp; [in_queue_date] =&gt; 2012-11-30 23:01:38<br />&nbsp; &nbsp; [send_attempts] =&gt; 1<br />&nbsp; &nbsp; [deleted] =&gt; 0<br />&nbsp; &nbsp; [related_id] =&gt; 4a9414d3-bd04-d38e-5cd6-50b85bf41761<br />&nbsp; &nbsp; [related_type] =&gt; Contacts<br />)</p></blockquote></div><p>Did some googling and some people mentioned about amavisd bug but that was in 2008.&nbsp; Wouldn&#039;t it be fair to assume that by 2012 those bugs are already patched?&nbsp; Am I looking at the wrong problem?&nbsp; Please advise?&nbsp; I&#039;m very puzzled.&nbsp; Many thanks in advance for your help Mr. Zhang.</p>]]></content>
			<author>
				<name><![CDATA[westdude]]></name>
				<uri>http://www.iredmail.org/forum/user23489.html</uri>
			</author>
			<updated>2012-12-04T07:36:56Z</updated>
			<id>http://www.iredmail.org/forum/post19353.html#p19353</id>
		</entry>
</feed>
