<br><br><div class="gmail_quote">2009/8/25 Michael Mansour <span dir="ltr"><<a href="mailto:micoots@yahoo.com">micoots@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Eduardo,<br>
<br>
--- On Tue, 25/8/09, Eduardo Casarero <<a href="mailto:ecasarero@gmail.com">ecasarero@gmail.com</a>> wrote:<br>
<br>
> From: Eduardo Casarero <<a href="mailto:ecasarero@gmail.com">ecasarero@gmail.com</a>><br>
> Subject: Re: Archiving to MailArchiva<br>
> To: "MailScanner discussion" <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br>
> Received: Tuesday, 25 August, 2009, 1:13 PM<br>
<div><div></div><div class="h5">><br>
> 2009/8/24 Michael Mansour <<a href="mailto:micoots@yahoo.com">micoots@yahoo.com</a>><br>
><br>
> Hi,<br>
><br>
> I've setup a mailarchiva server (OSE) and now want to<br>
> archive mail from mailscanner into that server (only for a<br>
> specific domain though).<br>
><br>
> The server itself, by default, listens on these ports:<br>
><br>
> 8090 - http web console port (e.g. <a href="http://localhost:8090/mailarchiva" target="_blank">http://localhost:8090/mailarchiva</a>)<br>
> 8091 - smtp port<br>
> 8092 - smtp milter port<br>
> 8009 - tomcat ajp port<br>
> 8010 - tomcat shutdown port<br>
><br>
> so it can accept smtp connections to archive the mail.<br>
><br>
> It also has a tool (ex2mailarchiva) which can import mail<br>
> into the archive using various formats like mbox.<br>
><br>
> I've looked at the Archive mail options in MailScanner<br>
> and not sure about the best way to approach this. I've<br>
> tested the MailScanner archive system and using dated<br>
> directories, it produces "queue" files which I<br>
> could use with sendmail I guess to re-send those emails?<br>
><br>
> If anyone's used mailarchiva before with MailScanner<br>
> I'd be interested in how you finally decided to make it<br>
> work. Or if anyone has other suggestions please chime in.<br>
><br>
>> I've a mailarchiva OSE in testing. i've configured<br>
>> sendmail to have mailarchiva as milter and works ok. its<br>
>> very simple to configure.<br>
<br>
</div></div>How did you do that?<br>
</blockquote><div><br>you have to add this to your <a href="http://sendmail.cf">sendmail.cf</a><br><br>O InputMailFilters= mailarchiva<br>Xmailarchiva, S=<a href="mailto:inet%3A8092@192.168.123.123">inet:8092@192.168.123.123</a> (ip and port of mailarchiva)<br>
<br>(i dont remember the sintax to add it to <a href="http://sendmail.mc">sendmail.mc</a> and then run m4)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
In earlier versions on sourceforge I see they have a perl script:<br>
<br>
sendmailpostfixagent.pl<br>
<br>
which can be used on sendmail hosts as a milter which can be used to "pipe" emails from the MX servers into the mailarchiva server, but I'm only interested in archiving one hosted domain and not all of them.<br>
<br>
I'm unsure whether mailarchiva only archives messages from domains that it knows about from it's config, or just accepts everything that's sent to it to archive it.</blockquote><div><br>I've just checked an only stores emails from domains that it knwos about. for example all localhost emails (logwatch, crontab notifications, etc) were not stored in my config.</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
That's why I'm taking a serious look at the "Archive Mail" feature of MailScanner. Since what I should be able to do is tell it to Archive all for a domain to mbox files, and then run a process of ex2mailarchiva to import those mbox files into the mailarchive server.<br>
<br>
I've also thought about getting MailScanner to "forward" copies of the emails to/from a domain to another email account and have procmail recipes to take action on those items, which I might be able to send to the mailarchiva server via smtp.<br>
<br>
I'm after something elegant though which is why I'm asking here. I've also asked on the mailarchiva forums and have yet to receive a reply.</blockquote><div><br>mmm you get a complex setup doing that, i rather preffer the milter solution, it just works. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Their online KB is little help here also.<br>
<div><div></div><div class="h5"><br>
Thanks.<br>
<br>
Michael.<br>
<br>
<br>
<br>
__________________________________________________________________________________<br>
Find local businesses and services in your area with Yahoo!7 Local.<br>
Get started: <a href="http://local.yahoo.com.au" target="_blank">http://local.yahoo.com.au</a><br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>