Re: Questions about queue cli commands

2011-06-27 Thread Nicolas Michel
On 06/27/2011 11:24 AM, Patrick Proniewski wrote: Salut, On 27 juin 2011, at 11:09, Nicolas Michel wrote: I have mails in the queue (I can see them with mailq). A) I want to delete them - postqueue -f nope, it will just flush the queue (force a new delivery attempt) - postsuper -d ALL

Questions about queue cli commands

2011-06-27 Thread Nicolas Michel
Hello, I have a few simple questions to be sure using the right commands to do what I want : Situation - I have mails in the queue (I can see them with mailq). A) I want to delete them - postqueue -f - postsuper -d ALL - mailq | awk '{if (NF == 7) print $1'} | postsuper -d - Are thes

Encrypted connection from mta to mta?

2011-02-25 Thread Nicolas Michel
Hello, I was asking myself about the kind of connection used by a MTA to contact another one. For exemple, I know that we can setup in a MUA an SSL (or TLS) connection when configuring the SMTP connection. So the connection between the MUA and the MTA is encrypted. But can we configure postf

Re: How to reject bad hosts

2010-08-09 Thread Nicolas Michel
On 08/09/2010 10:43 PM, Martin Schütte wrote: On 08/09/10 16:29, Nicolas Michel wrote: I want to know if there is a way to reject connections from host not listed in the MX records of the domain it claims to be. Try http://www.policyd-weight.org/ It checks and compares the client IP, its

Re: How to reject bad hosts

2010-08-09 Thread Nicolas Michel
On 08/09/2010 06:34 PM, Stan Hoeppner wrote: Nicolas Michel put forth on 8/9/2010 9:29 AM: For example : a host with IP WWW.XXX.YYY.ZZZ try so send a mail to my domain (we'll call it mydomain.be) and claims that the sender is u...@otherdomain.com Example of forging, typical of spa

Re: How to reject bad hosts

2010-08-09 Thread Nicolas Michel
On 08/09/2010 05:15 PM, Noel Jones wrote: On 8/9/2010 9:29 AM, Nicolas Michel wrote: Hello, I want to know if there is a way to reject connections from host not listed in the MX records of the domain it claims to be. For example : a host with IP WWW.XXX.YYY.ZZZ try so send a mail to my domain

How to reject bad hosts

2010-08-09 Thread Nicolas Michel
Hello, I want to know if there is a way to reject connections from host not listed in the MX records of the domain it claims to be. For example : a host with IP WWW.XXX.YYY.ZZZ try so send a mail to my domain (we'll call it mydomain.be) and claims that the sender is u...@otherdomain.com If

Re: local_recipient_maps into an ldap

2009-09-04 Thread Nicolas Michel
I respond for myself. I forgot a "t" to the "result_atribute = mail" ... Nicolas Michel a écrit : I get the connection but I don't know why, I can't get a result : postmap: dict_ldap_lookup: In dict_ldap_lookup postmap: dict_ldap_lookup: No existing c

local_recipient_maps into an ldap

2009-09-04 Thread Nicolas Michel
4 Sep 2009 08:55:36 +0200 De: Nicolas Michel Pour :: postfix-users@postfix.org Références: <4a9fa2a1.8030...@lemail.be> <20090903140523.gz31...@hn305c2n2.ms.com> Victor Duchovni a écrit : On Thu, Sep

Re: local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Victor Duchovni a écrit : On Thu, Sep 03, 2009 at 01:04:01PM +0200, Nicolas Michel wrote: In that file (ldap-localusers.cf), I set this : server_host = zimbra.pcsol.be search_base = ou=people,dc=pcsol,dc=be query_filter = (&(mail=%s)(accountStatus=ac

Re: local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Olivier Nicole a écrit : Nicolas, server_host = zimbra.pcsol.be Are you sure your server is running on port 389? Would you run TLS? >From your Postfix machine, can you access the LDAP server on zimbra machine (no firewall)? I would try ldapsearch command on the postfi

local_recipient_maps into an ldap

2009-09-03 Thread Nicolas Michel
Hello, I have a zimbra server for managing mail accounts. I have a postfix mail server before it. Mails from outdoor arrive on that server before being relayed to the zimbra server. I want to search from the postfix server into the ldap of zimbra the users/aliases to reject every mail destina

Re: user permissions

2009-05-27 Thread Nicolas Michel
Thank you a lot. I didn't know that solution. Le mardi 26 mai 2009 à 07:34 -0500, Noel Jones a écrit : > Nicolas Michel wrote: > > Thanks for your help. But that tips is not really what I'm searching > > for. The class restriction is a global restriction : some users

Re: user permissions

2009-05-26 Thread Nicolas Michel
009 à 12:05 -0500, Noel Jones a écrit : > Nicolas Michel wrote: > > This is my first post on this mailing list so hi to everyone ;) > > > > I have a special demand : I want that a user can't send mails but only > > to some pre-defined e-mail adresses. For example : m

user permissions

2009-05-20 Thread Nicolas Michel
This is my first post on this mailing list so hi to everyone ;) I have a special demand : I want that a user can't send mails but only to some pre-defined e-mail adresses. For example : my user t...@domain.com can send mails to rob...@domain.com, r...@domain2.fr and ke...@domain2.fr but to nobody