<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 12:10 AM, Glenn Steen <span dir="ltr"><<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>></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 <<a href="mailto:zaeem.arshad@gmail.com">zaeem.arshad@gmail.com</a>>:<br>
<div class="im">> Hi,<br>
> I have a requirement where I have multiple postfix instances running on the<br>
> same box. Instance 1 has its directory structure in /queue1 while instance<br>
> 2's postfix dir structure is in /queue2. Both directories are on separate<br>
> partitions. I have tried setting up a file containing a list of the hold<br>
> directories but MailScanner complains that the directories need to be on the<br>
> 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 "incoming", 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 "moving into<br>
place" need be through linking, or on other words an mv, not a copy<br>
operation.<br>
<div class="im"><br>
> possible to have multiple outgoing queue directories so that mailscanner can<br>
> scan files in /queue1/hold and place them in /queue1/postfix/incoming and<br>
> 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'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't find any good resource on running multiple MS. Got any pointers?</div><div><br></div></div>