Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Viktor Dukhovni
On Mon, Mar 18, 2013 at 02:34:05AM +0100, Patrick Lists wrote: > >How do you manage users who have multiple email addresses? You should > >avoid domain to domain rewrites, and for each user list all the > >valid addresses. Read: > > > > http://tools.ietf.org/html/draft-lachman-ldap-mail-routi

Re: some of variable of postfix when you posinstall it

2013-03-17 Thread Mohsen Pahlevanzadeh
I uses debian, but i compiled postfix and i just want to know name of them. --mohsen On Mon, 2013-03-18 at 00:13 +, Viktor Dukhovni wrote: > On Mon, Mar 18, 2013 at 03:29:35AM +0330, Mohsen Pahlevanzadeh wrote: > > > You made me happy ... > > http://www.postfix.org/BASIC_CONFIGURATION_R

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Patrick Lists
On 03/17/2013 11:48 PM, Viktor Dukhovni wrote: [snip] Googling around I found a small postfix.schema and used the "maildrop" attribute which works fine using this This may not be the right choice. The schema that uses "maildrop" IIRC typically uses: mail: primary add

Re: Support for MDB in postfix 2.10?

2013-03-17 Thread Wietse Venema
> > > FreeBSD now has an official lmdb ports package. > > <http://www.freebsd.org/cgi/query-pr.cgi?pr=174007> has been closed. > > I have updated the Postfix patch for "lmdb" databases. This is now > included in snapshot 20130315. Snaphot 20130317 addresses sub-o

Re: some of variable of postfix when you posinstall it

2013-03-17 Thread Viktor Dukhovni
On Mon, Mar 18, 2013 at 03:29:35AM +0330, Mohsen Pahlevanzadeh wrote: > You made me happy ... http://www.postfix.org/BASIC_CONFIGURATION_README.html http://www.postfix.org/documentation.html If you're using Debian, they modify Postfix with additional configuration parameteter, in

some of variable of postfix when you posinstall it

2013-03-17 Thread Mohsen Pahlevanzadeh
Dear all, Hi, When you install postfix in debian or each distro, you prevent a dialog that asked you "General type of mail configuration:",You'll see a menu such as the following contents: 1. No configuration 2. internet site 3. internet with smarthost 4. sattelite sys

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Viktor Dukhovni
On Sun, Mar 17, 2013 at 11:12:00PM +0100, Patrick Lists wrote: > Hi Victor, > > On 03/17/2013 07:38 PM, Viktor Dukhovni wrote: > > > >Keep in mind that there are many different LDAP email schemas and > >yours may keep the additional email addresses of each user in an > >differently named attribut

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Patrick Lists
Hi Victor, On 03/17/2013 07:38 PM, Viktor Dukhovni wrote: [snip] You really should not do this. Instead take the high road: query_filter = mailDeliveryAddress=%s result = mail Will try that. Keep in mind that there are many different LDAP email schemas and yours may keep the

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Viktor Dukhovni
On Sun, Mar 17, 2013 at 11:31:31AM +0100, Patrick Lists wrote: > Hi Victor, > > On 03/16/2013 11:25 PM, Viktor Dukhovni wrote: > [snip] > >I've always avoided wildcard rewrites with LDAP, do the rewrite > >only with actual valid user addresses. > > Ok. > > >>@domainA.org @domainB.org > > > >I

Re: postfix / dkim: no signature for emails submitted through ssh tunnel

2013-03-17 Thread patrick . proniewski
On 17 mars 2013, at 00:38, Noel Jones wrote: > On 3/16/2013 2:51 PM, patrick.proniew...@free.fr wrote: >> Hello, >> >> I have a small problem with my postfix/dkim setup: >> >> - dkim properly sign every emails I send via my webmail frontend, crontab, >> or the mail command from the server. >>

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Patrick Lists
Hi Victor, On 03/16/2013 11:25 PM, Viktor Dukhovni wrote: [snip] I've always avoided wildcard rewrites with LDAP, do the rewrite only with actual valid user addresses. Ok. @domainA.org @domainB.org I don't recall whether "%d" works with "@domain" input keys. I would have guessed it does,

Re: smtpd_sender_restrictions some help needed

2013-03-17 Thread Ansgar Wiechers
On 2013-03-17 Per olof Ljungmark wrote: > We've had a working configuration since a few years where we allow > authenticated users to relay mail even if the sender address does not > match a local user and the recipient is non-local. > > Now this is about to change. > > So, if the sender is *auth

Re: LDAP canonical_maps and domain rewriting

2013-03-17 Thread Patrick Lists
Hi Fernando, On 03/16/2013 07:43 PM, Fernando Maior wrote: Hi Patrick, If you use the hash table, and issue the postmap command, what is the output? Here is the output: $ cat /etc/postfix/canonical @domainA.org@domainB.org $ postmap -q t...@domaina.org hash:/etc/postfix/canonical $ po

smtpd_sender_restrictions some help needed

2013-03-17 Thread Per olof Ljungmark
Hi all, We've had a working configuration since a few years where we allow authenticated users to relay mail even if the sender address does not match a local user and the recipient is non-local. Now this is about to change. So, if the sender is *authenticated*: - from local-user@local-domain t