Re: Basic Pilar Questions Before Setup With MS Exchange 2007.

2016-01-14 Thread Janos SUTO


Hello Mahmoud,

On Thu, 14 Jan 2016, Mahmoud Ramadan wrote:


I'm planning to use Pilar and integrate it with MS Exchange 2007 for
archiving BUT i need clarification regarding some points that I'm confused
about.

1.How MS Exchange will send E-Mails for archiving to Pilar , i mean what are
the configuration steps required to integrate MS Exhcnage 2007 with Pilar ?


the preferred method is to setup smtp journaling, so exchange will send a 
copy of each email to piler via smtp. For the configuration steps, see

http://www.mailpiler.org/pdf/piler-1.1.0.pdf on page 16.

Perhaps it's time to improve the docs, and add these info as well.


2.I know that Pilar will archive every new messages BUT what about exsiting
mails in the Exchange DB.I have 4 Mailbox DBs and each of them 300 GB at
least so exporting the mailboxes as PST files and then converting them as
Mbox files to import them into Pilar is NOT practical as all ! so what is
the best way to import this big size of mailboxes into Pilar ?


the impersonation feature of exchange, see below


3.What is the role of the " Impersonation with Exchange " feature ? can
anyone explain it to me ?


in a nutshell you create (or grant the role) a use for this purpose. Then 
you login all the time with this user account AND you specify which 
mailbox to read.


So you can iterate over all mailboxes using a single user account only.
See http://www.mailpiler.org/wiki/current:importing-emails for more.


Janos



Re: error importing 'xxxx-imap-xxxxx.txt'

2016-01-14 Thread Janos SUTO


I'd like you to view src/message.c, and locate process_message() function 
around the 265th line.


It has the following line in the ~283rd row:

fd = open(state->message_id_hash, O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);

please check if you can see a few lines below that it has the following as 
well:


close(fd);


Janos


On Thu, 14 Jan 2016, Michael Volz wrote:



I kind of solved the problem. The problem was that the pilerimport
process had too many open file handles. I could finish the process by
increasing the limit. But I still guess it's not "right" of pilerimport
to keep all those files open, is it?

Am 04.01.2016 um 16:40 schrieb Michael Volz:

The files pilerimport complains about (e.g. 9964-imap-10014.txt) do
exist in the folder and contain email messages.

Am 04.01.2016 um 16:31 schrieb Michael Volz:

Hey everybody!

I have problems with pilerimport. I am running several imports from imap
folders and I am using the folder feature. After importing successfully
for some time (several hours), pilerimport begins many of the following
errors:

error importing '9964-imap-10014.txt'
failed to import: 9964-imap-10015.txt (id:
4000568a8e0a3a35d13c0068f88e0e35)

There are no errors in maillog or other logs. What could be the problem?
I invoke pilerimport as root, but in a directory that belongs to the
piler user. There are about 25 files in this folder. The command
line is like that:

pilerimport -i server -u user -p password -P port -f imap_folder_name -F
piler_folder_name

or:

pilerimport -i server -u user -p password -P port -R

Thanks for any help!

Michael












Basic Pilar Questions Before Setup With MS Exchange 2007.

2016-01-14 Thread Mahmoud Ramadan
Hi Everyone,

I'm planning to use Pilar and integrate it with MS Exchange 2007 for
archiving BUT i need clarification regarding some points that I'm confused
about.

1.How MS Exchange will send E-Mails for archiving to Pilar , i mean what
are the configuration steps required to integrate MS Exhcnage 2007 with
Pilar ?

2.I know that Pilar will archive every new messages BUT what about exsiting
mails in the Exchange DB.I have 4 Mailbox DBs and each of them 300 GB at
least so exporting the mailboxes as PST files and then converting them as
Mbox files to import them into Pilar is NOT practical as all ! so what is
the best way to import this big size of mailboxes into Pilar ?

3.What is the role of the " Impersonation with Exchange " feature ? can
anyone explain it to me ?

Thanks in advance.

Best Regards,

Mahmoud Ramadan Ali

Network and VOIP Specialist.

Mobil: (+2) 01276877112

Blog | Website
| LinkedIn



Re: error importing 'xxxx-imap-xxxxx.txt'

2016-01-14 Thread Michael Volz

I kind of solved the problem. The problem was that the pilerimport
process had too many open file handles. I could finish the process by
increasing the limit. But I still guess it's not "right" of pilerimport
to keep all those files open, is it?

Am 04.01.2016 um 16:40 schrieb Michael Volz:
> The files pilerimport complains about (e.g. 9964-imap-10014.txt) do
> exist in the folder and contain email messages.
>
> Am 04.01.2016 um 16:31 schrieb Michael Volz:
>> Hey everybody!
>>
>> I have problems with pilerimport. I am running several imports from imap
>> folders and I am using the folder feature. After importing successfully
>> for some time (several hours), pilerimport begins many of the following
>> errors:
>>
>> error importing '9964-imap-10014.txt'
>> failed to import: 9964-imap-10015.txt (id:
>> 4000568a8e0a3a35d13c0068f88e0e35)
>>
>> There are no errors in maillog or other logs. What could be the problem?
>> I invoke pilerimport as root, but in a directory that belongs to the
>> piler user. There are about 25 files in this folder. The command
>> line is like that:
>>
>> pilerimport -i server -u user -p password -P port -f imap_folder_name -F
>> piler_folder_name
>>
>> or:
>>
>> pilerimport -i server -u user -p password -P port -R
>>
>> Thanks for any help!
>>
>> Michael
>>
>>
>