Thank you, this seams like the best and simple solution to my problem. I will 
try this out next week and get back with the results.
By the way, we are experimenting with Mailcow Dockerized, if everything goes 
smooth i will work on a Docker compose to integrate this seamlessly.
Thank you again!

--
Lucian Lazar - Linux System Engineer
Soteha S.r.l. a Socio Unico
Via Giuseppe Zucchi, 39C 20095 Cusano Milanino (MI)
Ingresso principale da 39/G interno 3
T. +39 02 66043166 | F. +39 02 66048942
lucian.la...@soteha.it<mailto:lucian.la...@soteha.it>
From: Jackson Craig <c.jack...@asb-group.com>
Reply-To: Piler User <piler-user@list.acts.hu>
Date: Thursday, 12 April 2018 at 16:53
To: 'Piler User' <piler-user@list.acts.hu>
Subject: RE: only sent mails are stored or also received?

Hi,

For me, all I added to postfix  - in the main.cf configuration file, was :

#Keep a copy of every email by sending bcc
always_bcc = b...@yourdomain.com<mailto:b...@yourdomain.com>

Of course, replace the domain part ☺  At the end of each day, I have all the 
email that has passed through the server sitting ready to be collected. I did 
initially experiment with realtime forwarding to piler, but I had various 
issues with that so just went with this instead.

Then on the piler server, I have a cron entry (important to run this as the 
piler user and not for example root) to collect the mail over pop3:

01 20 * * * /usr/local/bin/pilerimport –K your.mailserver -u bcc -p bcc

Hope this helps,

Regards
Craig

              -------------
This email and any attachments are confidential to the intended recipient
and may also be privileged.  If you are not the intended recipient, please
delete it from your system and notify the sender.  You should not copy it
or use it for any purpose nor disclose or distribute its contents to any
other person.

From: Lucian Lazar [mailto:lucian.la...@soteha.it]
Sent: 12 April 2018 13:44
To: Piler User <piler-user@list.acts.hu>
Subject: Re: only sent mails are stored or also received?

Thank you, we use Postfix as well for our mailing servers. Is there any 
reference in the documentation regarding how to setup this BCC behavior? In 
this case, all original headers will be preserved? Like mailto:, mailfrom: and 
the people that were in the CC and BCC fields?
Thank you again
--
Lucian Lazar - Linux System Engineer
Soteha S.r.l. a Socio Unico
Via Giuseppe Zucchi, 39C 20095 Cusano Milanino (MI)
Ingresso principale da 39/G interno 3
T. +39 02 66043166 | F. +39 02 66048942
lucian.la...@soteha.it<mailto:lucian.la...@soteha.it>
From: Jackson Craig <c.jack...@asb-group.com<mailto:c.jack...@asb-group.com>>
Reply-To: Piler User <piler-user@list.acts.hu<mailto:piler-user@list.acts.hu>>
Date: Thursday, 12 April 2018 at 15:40
To: 'Piler User' <piler-user@list.acts.hu<mailto:piler-user@list.acts.hu>>
Subject: RE: only sent mails are stored or also received?

Hi there,

One way is to have your mailserver send a bcc of every mail to a separate 
mailbox on the server,  which is then collected by piler. For example here, 
using postfix, we configure a bcc mail for every mail that passes through 
postfix. This then puts a copy of every mail into a mailbox on the server 
(incoming and outgoing). Mailpiler then collects this mail by logging into the 
mailserver using POP3. We do this at the end of each day. Of course the exact 
configuration will depend on your mailserver.

Regards
Craig Jackson

              -------------
This email and any attachments are confidential to the intended recipient
and may also be privileged.  If you are not the intended recipient, please
delete it from your system and notify the sender.  You should not copy it
or use it for any purpose nor disclose or distribute its contents to any
other person.

From: Lucian Lazar [mailto:lucian.la...@soteha.it]
Sent: 12 April 2018 13:21
To: piler-user@list.acts.hu<mailto:piler-user@list.acts.hu>
Subject: only sent mails are stored or also received?

Hello,
We are actually evaluating a viable solution for our mail legal hold needs. We 
currently need to archive all sent and received emails for all users in a given 
mailserver.
Please correct me if i’m wrong, but i have red that only sendemail from the 
users are being saved into Piler database? Is there any way we can als store 
emails received by the users?
Thank you

--
Lucian Lazar - Linux System Engineer
Soteha S.r.l. a Socio Unico
Via Giuseppe Zucchi, 39C 20095 Cusano Milanino (MI)
Ingresso principale da 39/G interno 3
T. +39 02 66043166 | F. +39 02 66048942
lucian.la...@soteha.it<mailto:lucian.la...@soteha.it>

Missiles & Space Batteries Limited is registered in Scotland under company 
number 162626. The company's registered office is at Hagmill Road, East 
Shawhead, Coatbridge, ML5 4UZ.

Missiles & Space Batteries Limited is registered in Scotland under company 
number 162626. The company's registered office is at Hagmill Road, East 
Shawhead, Coatbridge, ML5 4UZ.

Reply via email to