starttls connection to LDAP server for postmap

2015-08-13 Thread Frederic Van Espen
Hi, When receiving a mail we lookup in ldap where the mail needs to go. This works fine for a simple unsecured ldap connection, but when I try to enable start_tls I consistently receive this error when receiving a mail: warning: dict_ldap_set_tls_options: Unable to allocate new TLS context -1: Can

Re: Checking Logs for outgoing mail

2015-08-13 Thread Viktor Dukhovni
On Wed, Aug 12, 2015 at 04:35:59AM -0600, @lbutlr wrote: > I need to search the logs for outgoing mail that is coming from specific > users, but I'm having a hard time with this since the to and from are > logged on separate lines in the log > > Does anyone have a grep solution that would show al

Re: Reject Emails with .review extension

2015-08-13 Thread Viktor Dukhovni
On Thu, Aug 13, 2015 at 08:07:06AM -0700, Motty Cruz wrote: > Can I configure Postfix to reject emails with extensions .review? I get a > lot of emails with extensions .date, .br. What you're calling an "extension" is the gTLD of the sender domain. > Return-Path: To block senders from a partic

Re: Mail receive events

2015-08-13 Thread Wietse Venema
Gyeong Deok Kwon: > Hello postfix community, > > I have a postfix(from source code) + dovecot setup for my university > term-project. > I want postfix call my custom function whenever postfix receive mails, but > couln't find the function. > > Can I know the function of handling mail reception?

Re: Reject Emails with .review extension

2015-08-13 Thread Mauricio Tavares
On Aug 13, 2015 5:20 PM, "Leonardo Rodrigues" wrote: > > > Em 13/08/15 12:07, Motty Cruz escreveu: > >> >> Hello, >> >> Can I configure Postfix to reject emails with extensions .review? I get a lot of emails with extensions .date, .br. >> >> > > attachments can be encoded in lots of different

Checking Logs for outgoing mail

2015-08-13 Thread @lbutlr
I need to search the logs for outgoing mail that is coming from specific users, but I’m having a hard time with this since the to and from are logged on separate lines in the log Does anyone have a grep solution that would show all the outbound emails in the 30 days of logs for a specific user?

Re: Reject Emails with .review extension

2015-08-13 Thread Leonardo Rodrigues
Em 13/08/15 12:07, Motty Cruz escreveu: Hello, Can I configure Postfix to reject emails with extensions .review? I get a lot of emails with extensions .date, .br. attachments can be encoded in lots of different ways and it's not always easy to block them all at postfix. By your log