<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 18/06/2015 20:55, Rodito Buan wrote:<br>
</div>
<blockquote
cite="mid:f73be801d663448b81628e878994b473@EXSRV-01.acddom.acdlabs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<pre>Thanks Jules.. I’ll try the filename option with the list.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I taught you could do multiple emailDomainRegexp’s on the config; which I think caused it to not work for sending internally from non-authenticated users if you ask for a drop.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>This was added to the config: Drop-off doesn’t work for non-authenticated users<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre> 'emailDomainRegexp' => '/^([a-zA-Z\.\-]+\.)?acdlabs\.com$/i',<o:p></o:p></pre>
<pre> 'emailDomainRegexp' => '/^([a-zA-Z\.\-]+\.)?acdlabs\.ru$/i',<o:p></o:p></pre>
<pre> 'emailDomainRegexp' => '/^([a-zA-Z\.\-]+\.)?acdlabs\.by$/i',</pre>
</div>
</blockquote>
You've just set the value of the setting, then changed it twice
more. That's never going to work, sorry. Try this instead:<br>
<tt>'emailDomainRegexp' =>
'/^([a-zA-Z\.\-]+\.)?acdlabs\.(com|ru|by)$/i',<br>
<br>
</tt>That should work fine.<tt><br>
</tt>
<blockquote
cite="mid:f73be801d663448b81628e878994b473@EXSRV-01.acddom.acdlabs.com"
type="cite">
<div class="WordSection1">
<pre><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Removed the last two and it works again. Sorry should have read the config, the solution was right in-front of me. I have the email about the issue that my users experienced when there’s three emailDomainReqgexp on the config, but it’s all in embedded images; I didn’t want to bomb the mailing list with that.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Cheers<o:p></o:p></pre>
<pre>Rodito<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>>>>>><o:p> </o:p></pre>
<pre>In preferences.php there is this:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre> // You need to change this setting!<o:p></o:p></pre>
<pre> //<o:p></o:p></pre>
<pre> // This should either be a regular expression or a filename.<o:p></o:p></pre>
<pre> // It defines the domain(s) that un-authenticated users can send<o:p></o:p></pre>
<pre> // files to. Authenticated users can send to everywhere.<o:p></o:p></pre>
<pre> //<o:p></o:p></pre>
<pre> // * Filename *<o:p></o:p></pre>
<pre> // If it is a filename, it must start with a / and not end with one.<o:p></o:p></pre>
<pre> // The file will contain a list of domain names, one per line.<o:p></o:p></pre>
<pre> // Blank lines and comment lines starting wth '#' will be ignored.<o:p></o:p></pre>
<pre> // If a line contains "domain.com" for example, then the list of<o:p></o:p></pre>
<pre> // recipient email domains for un-authenticated users will contain<o:p></o:p></pre>
<pre> // "domain.com" and "*.domain.com".<o:p></o:p></pre>
<pre> //<o:p></o:p></pre>
<pre> // * Regular Expression *<o:p></o:p></pre>
<pre> // This defines the recipient email domain(s) for un-authenticated users.<o:p></o:p></pre>
<pre> // This example matches "soton.ac.uk" and "*.soton.ac.uk".<o:p></o:p></pre>
<pre> // 'emailDomainRegexp' => '/^([a-zA-Z\.\-]+\.)?soton\.ac\.uk$/i',<o:p></o:p></pre>
<pre> //<o:p></o:p></pre>
<pre> // 'emailDomainRegexp' => '/opt/zendto/config/internaldomains.txt',<o:p></o:p></pre>
<pre> 'emailDomainRegexp' => '/^([a-zA-Z\.\-]+\.)?soton\.ac\.uk$/i',<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>So you can either define a regexp that matches all your domains, or you <o:p></o:p></pre>
<pre>should be able to give it a filename instead that contains a list of all <o:p></o:p></pre>
<pre>your domains.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>What are you saying doesn't work at the moment?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Cheers,<o:p></o:p></pre>
<pre>Jules.<o:p></o:p></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
<br>
<pre class="moz-signature" cols="72">Jules
--
Jules Field MEng MBCS CITP CEng
email+iMessage: <a class="moz-txt-link-abbreviated" href="mailto:Jules@ecs.soton.ac.uk">Jules@ecs.soton.ac.uk</a>
Twitter: @JulesFM
Senior Tutor, Postmaster
Electronics and Computer Science
University of Southampton SO17 1BJ, UK
Jules
--
Julian Field MEng MBCS CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</blockquote>
</body>
</html>