<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 12:10 AM, Glenn Steen <span dir="ltr">&lt;<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2009/8/25 Zaeem Arshad &lt;<a href="mailto:zaeem.arshad@gmail.com">zaeem.arshad@gmail.com</a>&gt;:<br>
<div class="im">&gt; Hi,<br>
&gt; I have a requirement where I have multiple postfix instances running on the<br>
&gt; same box. Instance 1 has its directory structure in /queue1 while instance<br>
&gt; 2&#39;s postfix dir structure is in /queue2. Both directories are on separate<br>
&gt; partitions. I have tried setting up a file containing a list of the hold<br>
&gt; directories but MailScanner complains that the directories need to be on the<br>
&gt; same filesystem as the outgoing work dir. Why is that so? Also, is it<br>
</div>Queue file ID is generated (for resubmitted/reconstructed mail) as a<br>
dunction of the inode numer and the current millisecond. So you cannot<br>
create the file on one filesystem and then copy it over to the<br>
outgoing directory (which happen to be &quot;incoming&quot;, usually;-), since<br>
that would break that relationship (inode numbers are only unique in<br>
the respective filesystems. Doing a copy would mean having possible<br>
duplicates in the series)... So that mandates that the &quot;moving into<br>
place&quot; need be through linking, or on other words an mv, not a copy<br>
operation.<br>
<div class="im"><br>
&gt; possible to have multiple outgoing queue directories so that mailscanner can<br>
&gt; scan files in /queue1/hold and place them in /queue1/postfix/incoming and<br>
&gt; same for the second instance?<br>
<br>
</div>All that is mandated is that the work directory and the respective<br>
outgoing directories be on the same filesystem... Not the hold,<br>
IIRC;-)... Or you could try run multiple MSes.<br>
<br>
But really... What kind of requirement would mandate you set it up<br>
like that? Are you sure there is no other, more or less sane, wayto do<br>
it.</blockquote><div><br></div><div><br></div><div>The mail gateway is running multiple instances of postfix. It is treating both corporate email and our customers traffic. I&#39;d like to have both kind of emails scanned by MS but delivered outside using specific outbound IP addresses. In the current scenario, the IP of the postfix instance whose incoming queue is used by MS is used. </div>
<div><br></div><div>I couldn&#39;t find any good resource on running multiple MS. Got any pointers?</div><div><br></div></div>