<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
		<link>http://www.iredmail.org/forum/topic4424-sending-mail-from-outlook-vdomain2-to-vdomain1-fails.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4424.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Sending mail from outlook vDomain2 to vDomain1 fails.]]></description>
		<lastBuildDate>Thu, 30 May 2013 11:40:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22387.html#p22387</link>
			<description><![CDATA[<div class="quotebox"><cite>camel1cz wrote:</cite><blockquote><p>Btw. I want to say here, how good I think about iRedMail and your support. it&#039;s really amazing how simple is the installation/configuration and how good is the support! One big THANK YOU to all iRedMail staff!</p></blockquote></div><p>Enjoy. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>P.S. It would be great if you can share your iRedMail story in this forum (and/or your blog), it helps spread iRedMail. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />A template: <a href="http://www.iredmail.org/forum/topic25-iredmail-support-help-spread-iredmail-by-sharing-your-iredmail-success-story.html">http://www.iredmail.org/forum/topic25-i … story.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 30 May 2013 11:40:39 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22387.html#p22387</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22384.html#p22384</link>
			<description><![CDATA[<p>OK, hope it keeps working as it is right now... if not, I know how to debug the connection and try to find out some more info. Thank you very much for your effort!</p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>SMTP AUTH without STARTTLS should be fine too, but it&#039;s insecure.</p></blockquote></div><p>I&#039;m avare of that - I just cannot disable plain text SMTP AUTH - to support reconfiguration of all clients would be a nightmare, you know :-)</p><p>Btw. I want to say here, how good I think about iRedMail and your support. it&#039;s really amazing how simple is the installation/configuration and how good is the support! One big THANK YOU to all iRedMail staff!</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Thu, 30 May 2013 11:24:44 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22384.html#p22384</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22380.html#p22380</link>
			<description><![CDATA[<p>Sorry, no idea yet.<br />SMTP AUTH without STARTTLS should be fine too, but it&#039;s insecure.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 30 May 2013 11:17:37 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22380.html#p22380</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22379.html#p22379</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>*) Did you find related log of these 3 clients in Postfix log files? paste here.</p></blockquote></div><p>Yes, but w/o debugging enabled or not in the erroneous condition. w/o debugging the log is quoted in one of my previous posts, the degugging version:<br /></p><div class="codebox"><pre><code>May 29 08:53:58 email2 postfix/smtpd[31259]: &lt; CLIENTHOST: EHLO ooaseva
May 29 08:53:58 email2 postfix/smtpd[31259]: match_list_match: CLIENTHOST: no match
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-email2.example.com
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-PIPELINING
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-SIZE 15728640
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-ETRN
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-STARTTLS
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-AUTH PLAIN LOGIN
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-AUTH=PLAIN LOGIN
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-ENHANCEDSTATUSCODES
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250-8BITMIME
May 29 08:53:58 email2 postfix/smtpd[31259]: &gt; CLIENTHOST: 250 DSN
May 29 08:53:58 email2 postfix/smtpd[31259]: &lt; CLIENTHOST: AUTH LOGIN</code></pre></div><p>So there is no STARTTLS involved, correct? What about SSL? I&#039;m really on end of my ideas...<br /></p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>*) Again, if you want to know what happened during smtp session, check my previous reply: <a href="http://www.iredmail.org/forum/post22325.html#p22325">http://www.iredmail.org/forum/post22325.html#p22325</a></p></blockquote></div><p>Yes, the debugging is very useful, thank you! I just didn&#039;t catch the problem while debugging enabled. The problem simply vanished w/o clear reason.</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Thu, 30 May 2013 10:49:35 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22379.html#p22379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22364.html#p22364</link>
			<description><![CDATA[<p>*) Did you find related log of these 3 clients in Postfix log files? paste here.<br />*) Again, if you want to know what happened during smtp session, check my previous reply: <a href="http://www.iredmail.org/forum/post22325.html#p22325">http://www.iredmail.org/forum/post22325.html#p22325</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 30 May 2013 02:15:20 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22364.html#p22364</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22357.html#p22357</link>
			<description><![CDATA[<p>If I understand the postfix config corectly, the first line from your reply:<br /></p><div class="codebox"><pre><code>smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre</code></pre></div><p>says: if client is coming from a trusted IP or is logged in, don&#039;t check HELO/EHLO... so it doesn&#039;t make any sense.</p><p>I found from logs only three clients (two from the same company, third from other, all&nbsp; from different ISPs, cities, ...) had this issue and only sending mail to my domain. But ALL are using MS Outlook 2007. I tried to use one of these accounts to send email to my address using simple testing script (with SMTP AUTH) and it worked correctly...</p><p>I would blame MS Outlook 2007 - it simply didn&#039;t issue &quot;AUTH LOGIN&quot; for some reason, but for other emails few seconds before and also after the problematic mail it DID issue the &quot;AUTH LOGIN&quot;...</p><p>May it be it&#039;s SSL/TLS related problem? Is there a way how to find out from mail.log if the user is using SSL/TLS? (I have no chance to find out the settings, they are just nontechnical users). There could be some correlation between the target domain and SSL certificate?</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Wed, 29 May 2013 15:48:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22357.html#p22357</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22355.html#p22355</link>
			<description><![CDATA[<p>Check below parameters:<br /></p><div class="quotebox"><blockquote><p>smtpd_helo_restrictions = permit_mynetworks, <span style="color: red">permit_sasl_authenticated</span>, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre<br />smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, <span style="color: red">permit_sasl_authenticated</span>, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination<br />smtpd_sender_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch, <span style="color: red">permit_sasl_authenticated</span></p></blockquote></div><p>Postfix performs restriction rules in order, so If your client perform SMTP AUTH to send email, it won&#039;t check HELO/EHLO identity at all. Still no idea yet about why it happened. Sorry.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 29 May 2013 15:22:34 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22355.html#p22355</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22354.html#p22354</link>
			<description><![CDATA[<p>Thank you for your effort! See the output of postconf -n below.</p><p>Also note, the example.com domain is NOT the problematic one. example.com is alias for the problematic domain.</p><p>(of course example.com is replacement for my real domain name)</p><div class="codebox"><pre><code>alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 4h
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 0
maximal_backoff_time = 4000s
maximal_queue_lifetime = 4h
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = example.com
myhostname = email2.example.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = email2.example.com
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:pgsql:/etc/postfix/pgsql/recipient_bcc_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/recipient_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:pgsql:/etc/postfix/pgsql/relay_domains.cf
relayhost =
sender_bcc_maps = proxy:pgsql:/etc/postfix/pgsql/sender_bcc_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/sender_bcc_maps_domain.cf
smtp-amavis_destination_recipient_limit = 1
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:pgsql:/etc/postfix/pgsql/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_always_issue_session_ids = no
smtpd_tls_cert_file = /etc/ssl/certs/example.com-combined.crt
smtpd_tls_key_file = /etc/ssl/private/example.com.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = proxy:pgsql:/etc/postfix/pgsql/transport_maps_user.cf, proxy:pgsql:/etc/postfix/pgsql/transport_maps_domain.cf
virtual_alias_domains =
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql/virtual_alias_maps.cf, proxy:pgsql:/etc/postfix/pgsql/domain_alias_maps.cf, proxy:pgsql:/etc/postfix/pgsql/catchall_maps.cf, proxy:pgsql:/etc/postfix/pgsql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql/virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Wed, 29 May 2013 14:43:36 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22354.html#p22354</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22348.html#p22348</link>
			<description><![CDATA[<p>No idea at all, sorry.</p><p>*) You can see what &quot;permit_sasl_authenticated&quot; means here: <a href="http://www.postfix.org/postconf.5.html#permit_sasl_authenticated">http://www.postfix.org/postconf.5.html# … henticated</a><br />So it should apply to ALL clients, not just this domain and specify MUAs. Not sure whether it&#039;s a MUA issue or not.</p><p>*) Could you please paste output of command &quot;postconf -n&quot; here to help troubleshoot? The original reject message means it&#039;s rejected in HELO stage, let&#039;s check your Postfix settings to try to figure it out.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 29 May 2013 14:11:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22348.html#p22348</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22344.html#p22344</link>
			<description><![CDATA[<p>So I turned on debugging and asked the client to send me email and guess what - it worked! The only thing I changed was one switch and I have moved permit_sasl_authenticated toward beginning of recipient checks:</p><div class="codebox"><pre><code>smtpd_tls_always_issue_session_ids = no
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination</code></pre></div><p>But I&#039;m pretty sure I tried it before and it didn&#039;t work... Now it works even w/o the debugging options...</p><p>@Zhang: do you think, the changes in configuration noted above could be the reason of this problem? Remember it was not working only for the one domain and from only specific MUAs (2 clients overall).</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Wed, 29 May 2013 13:06:16 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22344.html#p22344</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22328.html#p22328</link>
			<description><![CDATA[<p>OK, I set the debugging for client and will come back with resulting log.</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Tue, 28 May 2013 16:00:34 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22328.html#p22328</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22325.html#p22325</link>
			<description><![CDATA[<p>FIRST OF ALL, don&#039;t hijack other&#039;s thread. Just create a new forum topic, clearly explain your issue and paste related log to help troubleshoot.</p><p>Looks like it doesn&#039;t perform SMTP AUTH at all. Is it possible to enable debug in Postfix for (just) this client? You can achieve it with below steps:</p><p>*) Set below settings in Postfix main.cf:<br /></p><div class="codebox"><pre><code>debug_peer_level = 2
debug_peer_list = xx.xx.xx.xx         # &lt;- This is IP address of the end user which has issue</code></pre></div><p>*) Reload postfix service, then check its log file.<br />*) Try to reproduce this issue by sending a testing mail from this end user to you(?), paste full smtp session log in Postfix log related to this testing email here.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 28 May 2013 15:46:28 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22325.html#p22325</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post22308.html#p22308</link>
			<description><![CDATA[<p>Sorry for hijacking this thread but I have the same problem, but no third party SMTP server involved.<br />Have anyone seen this problem before?</p><p>Note I understand it&#039;s most likely MUA related (MS Outlook).</p><p>My user sends in the same day (note timestamps) following emails:<br /></p><div class="codebox"><pre><code>May 28 10:06:51 email2 postfix/smtpd[3937]: connect from &lt;censored&gt;
May 28 10:06:51 email2 postfix/smtpd[3937]: 5904F35E61D5: client=&lt;censored&gt;, sasl_method=LOGIN, sasl_username=&lt;clients_address&gt;
May 28 10:06:52 email2 postfix/cleanup[6289]: 5904F35E61D5: message-id=&lt;004101ce5b7a$4c6b4800$e541d800$@cz&gt;
May 28 10:06:52 email2 postfix/qmgr[5326]: 5904F35E61D5: from=&lt;clients_address&gt;, size=1676, nrcpt=1 (queue active)
etc... correct delivery</code></pre></div><p>So far it&#039;s OK / client is using SMTP AUTH and sent an email to third party SMTP server...</p><p>But now, he sends email to myself (account on the same server):</p><div class="codebox"><pre><code>May 28 10:16:43 email2 postfix/smtpd[3936]: connect from &lt;censored&gt;
May 28 10:16:43 email2 postfix/smtpd[3936]: NOQUEUE: reject: RCPT from &lt;censored&gt;: 554 5.7.1 &lt;my_address&gt;: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not &#039;xxx&#039;; from=&lt;clients_address&gt; to=&lt;my_address&gt; proto=ESMTP helo=&lt;xxx&gt;
May 28 10:16:45 email2 postfix/smtpd[3936]: disconnect from &lt;censored&gt;</code></pre></div><p>Problem / it seems the email client is not using SMTP AUTH and got rejected due wrong hostname of client&#039;s windows machine (which is very common).</p><p>Does anyone have an idea why is this? Is it possible outlook is not using SMTP AUTH for my domain but does use it for others?<br />Is possible the problem is that my email address is in the same domain as the iRedMail&#039;s hostname used in outlook configuration?</p><p>I would appreciate any input!</p>]]></description>
			<author><![CDATA[null@example.com (camel1cz)]]></author>
			<pubDate>Tue, 28 May 2013 10:15:37 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post22308.html#p22308</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post20144.html#p20144</link>
			<description><![CDATA[<div class="quotebox"><cite>horia wrote:</cite><blockquote><p>I receive an instant messagelike this:</p><p>From: System Administrator<br />Sent: Wednesday, January 30, 2013 1:21 PM<br />To: user@domain2.com<br />Subject: Undeliverable: {Subject}</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Server error: &#039;554 5.7.1 &lt;user@domain1.com&gt;: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not &#039;ALEXANDRAPC&#039;&#039;</p></blockquote></div><p>1) iRedMail won&#039;t send non-delivery notification with these mail headers.<br />2) If you configure the Outlook to perform SMTP login before sending email, then client FQDN check will be bypassed.</p><p>So this is not rejected by iRedMail at all. Please check whether it was connecting to a different mail server while you sending mail from domain2.com to domain1.com, maybe caused by DNS cache in local network. For example, check DNS response with command &quot;nslookup&quot;, &quot;dig&quot;, etc.<br /></p><div class="quotebox"><blockquote><p>domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domain1.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NOK</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 31 Jan 2013 14:50:47 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20144.html#p20144</guid>
		</item>
		<item>
			<title><![CDATA[Sending mail from outlook vDomain2 to vDomain1 fails]]></title>
			<link>http://www.iredmail.org/forum/post20128.html#p20128</link>
			<description><![CDATA[<p>==== 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: Ubuntu 12.4.1<br />- Related log if you&#039;re reporting an issue: postconf -n<br />==== </p><p>Hello, </p><p>I have set up a iRedMail server on a new vanilla Ubuntu Server.<br />The hostname (fqdn) is mail.domain1.com</p><p>I have set up 2 domains on it: domain1.com and domain2.com</p><p>When i user Roundcube everything works great, but if i user Outlook from different locations with different IPs i have the following situation:</p><p>Sender&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Receiver&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Result<br />domain1.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domain1.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ok<br />domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ok<br />domain1.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ok<br />domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domain1.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NOK<br />domain2.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; google.com&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ok</p><p>I receive an instant messagelike this:</p><div class="quotebox"><blockquote><p>From: System Administrator<br />Sent: Wednesday, January 30, 2013 1:21 PM<br />To: user@domain2.com<br />Subject: Undeliverable: {Subject}</p><br /><p>Your message did not reach some or all of the intended recipients.</p><p>&nbsp; &nbsp; &nbsp; Subject:&nbsp; FW: {Subject}</p><p>&nbsp; &nbsp; &nbsp; Sent:&nbsp; &nbsp; &nbsp;1/30/2013 1:21 PM</p><br /><p>The following recipient(s) cannot be reached:</p><p>&nbsp; &nbsp; &nbsp; User (user@domain1.com) on 1/30/2013 1:21 PM</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Server error: &#039;554 5.7.1 &lt;user@domain1.com&gt;: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not &#039;ALEXANDRAPC&#039;&#039;</p><p>&nbsp; &nbsp; &nbsp; User2 (user2@domain1.com) on 1/30/2013 1:21 PM</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Server error: &#039;554 5.7.1 &lt;user2@domain1.com&gt;: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not &#039;ALEXANDRAPC&#039;&#039;</p></blockquote></div><p>ALEXANDRAPC is the computername of the client.</p><br /><p>Does anyone have knowledge how to solve this?</p><p>Thank you very much!</p><p>BR,<br />Horia</p><br /><p>PS: This is &quot;postconf -n&quot;: <br /></p><div class="quotebox"><blockquote><p>alias_database = hash:/etc/postfix/aliases<br />alias_maps = hash:/etc/postfix/aliases<br />allow_min_user = no<br />append_dot_mydomain = no<br />biff = no<br />bounce_queue_lifetime = 1d<br />broken_sasl_auth_clients = yes<br />config_directory = /etc/postfix<br />content_filter = smtp-amavis:[127.0.0.1]:10024<br />delay_warning_time = 0h<br />disable_vrfy_command = yes<br />dovecot_destination_recipient_limit = 1<br />enable_original_recipient = no<br />home_mailbox = Maildir/<br />inet_interfaces = all<br />inet_protocols = ipv4<br />mailbox_command = /usr/lib/dovecot/deliver<br />mailbox_size_limit = 0<br />maximal_backoff_time = 4000s<br />maximal_queue_lifetime = 1d<br />message_size_limit = 15728640<br />minimal_backoff_time = 300s<br />mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname, domain1.com, domain2.com<br />mydomain = domain1.com<br />myhostname = mail.domain1.com<br />mynetworks = 127.0.0.0/8<br />mynetworks_style = subnet<br />myorigin = mail.domain1.com<br />proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions<br />queue_run_delay = 300s<br />readme_directory = no<br />recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf<br />recipient_delimiter = +<br />relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf<br />relayhost =<br />sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf<br />smtp-amavis_destination_recipient_limit = 1<br />smtp_data_init_timeout = 240s<br />smtp_data_xfer_timeout = 600s<br />smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache<br />smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)<br />smtpd_data_restrictions = reject_unauth_pipelining<br />smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031<br />smtpd_helo_required = yes<br />smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre<br />smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname<br />smtpd_reject_unlisted_recipient = yes<br />smtpd_reject_unlisted_sender = yes<br />smtpd_sasl_auth_enable = yes<br />smtpd_sasl_authenticated_header = no<br />smtpd_sasl_local_domain =<br />smtpd_sasl_path = ./dovecot-auth<br />smtpd_sasl_security_options = noanonymous<br />smtpd_sasl_type = dovecot<br />smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf<br />smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated<br />smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem<br />smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem<br />smtpd_tls_key_file = /etc/ssl/private/postfix.pem<br />smtpd_tls_loglevel = 0<br />smtpd_tls_security_level = may<br />smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache<br />smtpd_use_tls = yes<br />tls_random_source = dev:/dev/urandom<br />transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf<br />virtual_alias_domains =<br />virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf<br />virtual_gid_maps = static:1001<br />virtual_mailbox_base = /var/vmail<br />virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf<br />virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf<br />virtual_minimum_uid = 1001<br />virtual_transport = dovecot<br />virtual_uid_maps = static:1001</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (horia)]]></author>
			<pubDate>Wed, 30 Jan 2013 19:59:13 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20128.html#p20128</guid>
		</item>
	</channel>
</rss>
