<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Mail-Service.xml setting for Qmail IMAP Server</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=44560" />
  <subtitle>Mail-Service.xml setting for Qmail IMAP Server</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=44560</id>
  <updated>2026-05-25T17:40:16Z</updated>
  <dc:date>2026-05-25T17:40:16Z</dc:date>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44576" />
    <author>
      <name>Marco Garbelini</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44576</id>
    <updated>2006-03-28T15:26:02Z</updated>
    <published>2006-03-28T15:26:02Z</published>
    <summary type="html">I had to create my own AccountFinder (check portal.properties) so I could form a userId as the full email address. By default the userId does not include the domain. Should I do this some other way?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Anyways, I&amp;amp;#39;m through with this issue and my custom AccountFinder solved the problem.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Cheers,&amp;lt;br /&amp;gt;Marco</summary>
    <dc:creator>Marco Garbelini</dc:creator>
    <dc:date>2006-03-28T15:26:02Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44572" />
    <author>
      <name>James Tsao</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44572</id>
    <updated>2005-02-10T10:08:20Z</updated>
    <published>2005-02-10T10:08:20Z</published>
    <summary type="html">&lt;blockquote&gt;Dear Michael,&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Could you please advise me how to implement the per-user check mail setting in Liferay? &amp;lt;!--emo&amp;amp;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;--&amp;gt;&amp;lt;img src=&amp;#39;@theme_images_path@/emotions/smile.gif&amp;#39; border=&amp;#39;0&amp;#39; style=&amp;#39;vertical-align:middle&amp;#39; alt=&amp;#39;smile.gif&amp;#39; /&amp;gt;&amp;lt;!--endemo--&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Regards,&amp;lt;br /&amp;gt;Anthony&amp;lt;br /&amp;gt;&lt;p style="text-align: right"&gt;&lt;/p&gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Dear All&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The answer is given here &amp;lt;a href=&amp;#39;http://forums.liferay.com/lofiversion/index.php/t329.html&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;http://forums.liferay.com/lofiversion/index.php/t329.html&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I think some of the confusion may be caused by the fact that by default, we login using the email address of the account. As such, some ppl may have chosen autogenerate or used some arbitary name for the User ID field when adding a user account. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Using joebloggs@interbiztech.com as an example&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The user id MUST match the username of your IMAP account (i.e. joebloggs), and the password of Liferay account MUST match the IMAP account password.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Further, you need to make sure you have added your mail domain (i.e. interbiztech.com) to Mail Host Names in Admin --&amp;amp;#62; Users&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;et Voila, things should work  &amp;lt;!--emo&amp;amp;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;--&amp;gt;&amp;lt;img src=&amp;#39;@theme_images_path@/emotions/smile.gif&amp;#39; border=&amp;#39;0&amp;#39; style=&amp;#39;vertical-align:middle&amp;#39; alt=&amp;#39;smile.gif&amp;#39; /&amp;gt;&amp;lt;!--endemo--&amp;gt; .&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;cheers&amp;lt;br /&amp;gt;James&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;a href=&amp;#39;http://www.InterBiztech.com&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;InterBiztech Solutions Ltd&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;i&amp;gt;&amp;lt;span style=&amp;#39;color:blue&amp;#39;&amp;gt;&amp;amp;#39;eBusiness for All Seasons&amp;amp;#39;&amp;lt;/span&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;</summary>
    <dc:creator>James Tsao</dc:creator>
    <dc:date>2005-02-10T10:08:20Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44570" />
    <author>
      <name>Michael Young</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44570</id>
    <updated>2005-02-08T21:32:46Z</updated>
    <published>2005-02-08T21:32:46Z</published>
    <summary type="html">you need to configure the imap servers explained here:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;a href=&amp;#39;http://www.liferay.com/cms/servlet/DOCUMENTATION-DEVELOPMENT-MAIL&amp;#39; target=&amp;#39;_blank&amp;#39;&amp;gt;http://www.liferay.com/cms/servlet/DOCUMEN...EVELOPMENT-MAIL&amp;lt;/a&amp;gt;</summary>
    <dc:creator>Michael Young</dc:creator>
    <dc:date>2005-02-08T21:32:46Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44568" />
    <author>
      <name>anthonation anthonation</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44568</id>
    <updated>2005-02-08T19:08:27Z</updated>
    <published>2005-02-08T19:08:27Z</published>
    <summary type="html">&lt;blockquote&gt;The jboss mail service typically isn&amp;amp;#39;t used for checking mail, just sending mail. You probably should not be configuring per-user settings in the appserver anyway.&amp;lt;br /&amp;gt;&lt;p style="text-align: right"&gt;&lt;/p&gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Dear Michael,&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Could you please advise me how to implement the per-user check mail setting in Liferay? &amp;lt;!--emo&amp;amp;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;--&amp;gt;&amp;lt;img src=&amp;#39;@theme_images_path@/emotions/smile.gif&amp;#39; border=&amp;#39;0&amp;#39; style=&amp;#39;vertical-align:middle&amp;#39; alt=&amp;#39;smile.gif&amp;#39; /&amp;gt;&amp;lt;!--endemo--&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Regards,&amp;lt;br /&amp;gt;Anthony</summary>
    <dc:creator>anthonation anthonation</dc:creator>
    <dc:date>2005-02-08T19:08:27Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44566" />
    <author>
      <name>Michael Young</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44566</id>
    <updated>2005-02-08T15:24:32Z</updated>
    <published>2005-02-08T15:24:32Z</published>
    <summary type="html">The jboss mail service typically isn&amp;amp;#39;t used for checking mail, just sending mail. You probably should not be configuring per-user settings in the appserver anyway.</summary>
    <dc:creator>Michael Young</dc:creator>
    <dc:date>2005-02-08T15:24:32Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44564" />
    <author>
      <name>anthonation anthonation</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44564</id>
    <updated>2005-02-08T10:04:37Z</updated>
    <published>2005-02-08T10:04:37Z</published>
    <summary type="html">&lt;blockquote&gt;as long as that user/pasword combo allows you to send mail, you should be ok.&amp;lt;br /&amp;gt;&lt;p style="text-align: right"&gt;&lt;/p&gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Dear Michael,&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I am now talking about checking email for my account. &amp;lt;br /&amp;gt;For these pairs of tag:&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;User&amp;amp;quot;&amp;amp;gt;Nobody&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;Password&amp;amp;quot;&amp;amp;gt;Nothing&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;If I put in:&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;User&amp;amp;quot;&amp;amp;gt;Anthony&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;Password&amp;amp;quot;&amp;amp;gt;Password&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I could check Anthony&amp;amp;#39;s mail box, if I put my friend&amp;amp;#39;s account login and password in mail-service.xml, I could check his email account, it is a problem I am now suffering from. However, if there are several email accounts already set up, do I need to make more entries in Mail-Service.xml file? If so, what is the syntax? I have tried &amp;amp;lt;attribute name=&amp;amp;quot;Users&amp;amp;quot;&amp;amp;gt;...&amp;amp;lt;/attribute&amp;amp;gt; by referring to JBoss web site but it seems it fails &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Regards,&amp;lt;br /&amp;gt;Anthony&amp;lt;br /&amp;gt;</summary>
    <dc:creator>anthonation anthonation</dc:creator>
    <dc:date>2005-02-08T10:04:37Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44562" />
    <author>
      <name>Michael Young</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44562</id>
    <updated>2005-02-08T09:18:07Z</updated>
    <published>2005-02-08T09:18:07Z</published>
    <summary type="html">as long as that user/pasword combo allows you to send mail, you should be ok.</summary>
    <dc:creator>Michael Young</dc:creator>
    <dc:date>2005-02-08T09:18:07Z</dc:date>
  </entry>
  <entry>
    <title>Mail-Service.xml setting for Qmail IMAP Server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44559" />
    <author>
      <name>anthonation anthonation</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44559</id>
    <updated>2005-02-08T09:15:21Z</updated>
    <published>2005-02-08T09:15:21Z</published>
    <summary type="html">Dear all,&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I have installed QMail server with IMAP enabled.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;However, there is a strange situaton I am now dealing with, here is my mail-service.xml:&amp;lt;br /&amp;gt;&amp;amp;lt;server&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;mbean code=&amp;amp;quot;org.jboss.mail.MailService&amp;amp;quot; name=&amp;amp;quot;jboss:service=MailSession&amp;amp;quot;&amp;amp;gt;&amp;lt;br /&amp;gt;	&amp;amp;lt;attribute name=&amp;amp;quot;JNDIName&amp;amp;quot;&amp;amp;gt;mail/MailSession&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;attribute name=&amp;amp;quot;User&amp;amp;quot;&amp;amp;gt;Nobody&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;attribute name=&amp;amp;quot;Password&amp;amp;quot;&amp;amp;gt;Nothing&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;	        &amp;amp;lt;attribute name=&amp;amp;quot;Configuration&amp;amp;quot;&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;configuration&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;property name=&amp;amp;quot;mail.store.protocol&amp;amp;quot; value=&amp;amp;quot;imap&amp;amp;quot; /&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;property name=&amp;amp;quot;mail.transport.protocol&amp;amp;quot; value=&amp;amp;quot;smtp&amp;amp;quot; /&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;property name=&amp;amp;quot;mail.imap.host&amp;amp;quot; value=&amp;amp;quot;192.168.0.111&amp;amp;quot; /&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;property name=&amp;amp;quot;mail.smtp.host&amp;amp;quot; value=&amp;amp;quot;smtp.test.net&amp;amp;quot; /&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;property name=&amp;amp;quot;debug&amp;amp;quot; value=&amp;amp;quot;true&amp;amp;quot; /&amp;amp;gt;&amp;lt;br /&amp;gt;			&amp;amp;lt;/configuration&amp;amp;gt;&amp;lt;br /&amp;gt;		&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;	&amp;amp;lt;/mbean&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;/server&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I fail to connect with AUTHEN_FAIL from the console, however, when I put in a valid mail account name and password like &amp;amp;quot;anthony&amp;amp;quot; and &amp;amp;quot;password&amp;amp;quot;, it works but I could put in other&amp;amp;#39;s mail account info, I could get others&amp;amp;#39; email account box content. Do I miss some important configuration like portal.properties or else? What should I put it in:&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;User&amp;amp;quot;&amp;amp;gt;???&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;attribute name=&amp;amp;quot;Password&amp;amp;quot;&amp;amp;gt;???&amp;amp;lt;/attribute&amp;amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;or just leave it as it is?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Thank you for your comment and advice. &amp;lt;!--emo&amp;amp;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/laugh.gif" &gt;--&amp;gt;&amp;lt;img src=&amp;#39;@theme_images_path@/emotions/laugh.gif&amp;#39; border=&amp;#39;0&amp;#39; style=&amp;#39;vertical-align:middle&amp;#39; alt=&amp;#39;laugh.gif&amp;#39; /&amp;gt;&amp;lt;!--endemo--&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Regards,&amp;lt;br /&amp;gt;Anthony&amp;lt;br /&amp;gt;</summary>
    <dc:creator>anthonation anthonation</dc:creator>
    <dc:date>2005-02-08T09:15:21Z</dc:date>
  </entry>
</feed>
