Deliver to non-local users from domain.

2010-10-08 Thread Nikolai K. Bochev
Hello list, I have one domain , with several users in it. Most of them , will be migrated to a exchange server, which will later be the mx record for that domain. The exchange server will redirect emails for users not in his database to the postfix/cyrus server i run. The problem is, when so

Aliases LDAP maps from the MX ?

2010-10-08 Thread Frank Bonnet
Hello I would like to use LDAP ( OpenLDAP ) aliases from our MX server in order to forward emails to the internal mailhub. The MX use the transport utility to forward emails to the mailhub and does not perform local deliveries. Thanks for any infos <>

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread donovan jeffrey j
On Oct 8, 2010, at 8:11 AM, Frank Bonnet wrote: > Hello > > I would like to use LDAP ( OpenLDAP ) aliases from our MX server > in order to forward emails to the internal mailhub. > > The MX use the transport utility to forward emails to the mailhub > and does not perform local deliveries. > >

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Wietse Venema
Frank Bonnet: > Hello > > I would like to use LDAP ( OpenLDAP ) aliases from our MX server > in order to forward emails to the internal mailhub. > > The MX use the transport utility to forward emails to the mailhub > and does not perform local deliveries. In that case you should be able to rep

Re: Trouble With Transport

2010-10-08 Thread Rafael Andrade
Thank you for the reply. I'm debugging information to see what might be happening, the problem is that it takes to happen, and I look in the logs of the destination transport by ID EF7011757C3 and nothing is found. I will increase the debug on destination server to see what might be happening.

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread postfix
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap-alias.cf virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap-domain.cf virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap-mailbox1.cf where /etc/postfix/ldap-alias.cf: server_host = ldaphost.mydomain.com server_port = 389 search_base = ou=

Re: Trouble With Transport

2010-10-08 Thread Wietse Venema
Rafael Andrade: > Oct 6 10:33:48 mta01 postfix/smtp[2182]: CD4BD249BA: > to=, relay=189.85.66.6[189.85.66.6]:25, > delay=0.41, delays=0.15/0/0/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: > queued as EF7011757C3) ... > As i can debug this errors? Im searching message id ( queued as > EF7011757C3 )

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Frank Bonnet
Thank you ! On 10/08/2010 03:00 PM, Wietse Venema wrote: Frank Bonnet: Hello I would like to use LDAP ( OpenLDAP ) aliases from our MX server in order to forward emails to the internal mailhub. The MX use the transport utility to forward emails to the mailhub and does not perform local de

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Wietse Venema
Frank Bonnet: > I would like to use LDAP ( OpenLDAP ) aliases from our MX server > in order to forward emails to the internal mailhub. > > The MX use the transport utility to forward emails to the mailhub > and does not perform local deliveries. Wietse: > > In that case you should be able to repla

Customize / configure postfix with multiple recipients

2010-10-08 Thread Manjiri
Hello, I am interested to know if it is possible to configure postfix such that, if a message is sent to multiple recipients. Out of which, if one is an invalid address and other is a valid address. Then, right now the postfix rejects the mail with a 550 error (Recipient address rejected: User un

Transport maps for a specfic user attached to a virtual domain

2010-10-08 Thread Olivier BONHOMME
Hello everybody, I am writing here because I have an issue trying to use transport_maps with a domain which is declared as VIRTUAL. My architecture is the following : I have a Postfix instance which acts as MDA for several domains so I use the Postfix Virtual Domain feature. Everything works

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Victor Duchovni
On Fri, Oct 08, 2010 at 11:15:46AM -0400, Wietse Venema wrote: > > > /etc/postfix/main.cf: > > > transport_maps = mapping from example.com to smtp:mailhub.example.com > > > relay_domains = example.com > > > virtual_alias_maps = > > > mappings from external-u...@example.com to inte

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Noel Jones
On 10/8/2010 10:34 AM, Manjiri wrote: Hello, I am interested to know if it is possible to configure postfix such that, if a message is sent to multiple recipients. Out of which, if one is an invalid address and other is a valid address. Then, right now the postfix rejects the mail with a 550 er

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Brian Evans - Postfix List
On 10/8/2010 11:34 AM, Manjiri wrote: Hello, I am interested to know if it is possible to configure postfix such that, if a message is sent to multiple recipients. Out of which, if one is an invalid address and other is a valid address. Then, right now the postfix rejects the mail with a 550 er

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Manjiri
I am sending a message to "newu...@messaging.cerner.com"(valid) and "manji...@messaging.cerner.com" (invalid) maillog: Oct 8 11:12:51 goonie postfix/smtpd[19685]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Oct 8 11:12:51 goonie postfix/smtpd[19685]: warning: 10.184.

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Wietse Venema
Victor Duchovni: > I avoid the need for such empty relay tables, by making all my > externally-facing domains (the domains in which users get their > primary email addresses) be virtual alias domains. All internal > delivery is to "mailbox" domains that are the result of virtual > alias rewrites: >

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Manjiri
Is it that the entire message is getting rejected because for some reason the postfix is not splitting it up per recipient ? I have: default_destination_recipient_limit = 50 smtp_destination_recipient_limit = $default_destination_recipient_limit in the main.cf.default Manjiri wrote: > > I a

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Wietse Venema
Manjiri: > > Hello, > > I am interested to know if it is possible to configure postfix such that, if > a message is sent to multiple recipients. Out of which, if one is an invalid > address and other is a valid address. Then, right now the postfix rejects > the mail with a 550 error (Recipient ad

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Victor Duchovni
On Fri, Oct 08, 2010 at 12:50:42PM -0400, Wietse Venema wrote: > Victor Duchovni: > > I avoid the need for such empty relay tables, by making all my > > externally-facing domains (the domains in which users get their > > primary email addresses) be virtual alias domains. All internal > > delivery

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Wietse Venema
Victor Duchovni: > On Fri, Oct 08, 2010 at 12:50:42PM -0400, Wietse Venema wrote: > > > Victor Duchovni: > > > I avoid the need for such empty relay tables, by making all my > > > externally-facing domains (the domains in which users get their > > > primary email addresses) be virtual alias domain

Re: Deliver to non-local users from domain.

2010-10-08 Thread Michael Saldivar
On Fri, Oct 8, 2010 at 5:06 AM, Nikolai K. Bochev wrote: > Hello list, > > I have one domain , with several users in it. Most of them , will be > migrated to a exchange server, which will later be the mx record for that > domain. The exchange server will redirect emails for users not in his > data

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Wietse Venema
Manjiri Namjoshi: > I dont know how to collect the smtp conversation .. or how to log the > smtp session. Can you give me some hints ? You could telnet to the SMTP port and type the commands to deliver one message to one good and one bad recipient. You will discover that Postfix rejects the bad u

Re: Customize / configure postfix with multiple recipients

2010-10-08 Thread Noel Jones
On 10/8/2010 11:16 AM, Manjiri wrote: I am sending a message to "newu...@messaging.cerner.com"(valid) and "manji...@messaging.cerner.com" (invalid) maillog: Oct 8 11:12:51 goonie postfix/smtpd[19689]: connect from unknown[10.184.60.37] The client connects. Oct 8 11:12:51 goonie postfix/sm

Re: Transport maps for a specfic user attached to a virtual domain

2010-10-08 Thread Victor Duchovni
On Fri, Oct 08, 2010 at 05:38:21PM +0200, Olivier BONHOMME wrote: > I am writing here because I have an issue trying to use transport_maps with > a domain which is declared as VIRTUAL. You fail to distinguish between virtual_alias_domains and virtual_mailbox_domains. Which is it? > Now i would

Postfix not create Maildir

2010-10-08 Thread Márcio Luciano Donada
I am configuring a server to read a basic ldap, everything is working wonders, but to deliver the e-mail, postfix is not creating the maildir of the user, delivering only a mailbox file, but note that the configuration that follows below, I have the directive home_mailbox = Maildir/. I'm using ver

Re: Postfix not create Maildir

2010-10-08 Thread fakessh
you must create them by hand or you have to use plugins dovecot and sieve Le vendredi 08 octobre 2010 à 19:11 -0300, Márcio Luciano Donada a écrit : > I am configuring a server to read a basic ldap, everything is working > wonders, but to deliver the e-mail, postfix is not creating the maildir >

Re: Postfix not create Maildir

2010-10-08 Thread Stan Hoeppner
Márcio Luciano Donada put forth on 10/8/2010 5:11 PM: > > I am configuring a server to read a basic ldap, everything is working > wonders, but to deliver the e-mail, postfix is not creating the maildir > of the user, delivering only a mailbox file, but note that the > configuration that follows be

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Frank Bonnet
OK understood ! Thanks for your help :-) Le 08/10/2010 17:15, Wietse Venema a écrit : Frank Bonnet: I would like to use LDAP ( OpenLDAP ) aliases from our MX server in order to forward emails to the internal mailhub. The MX use the transport utility to forward emails to the mailhub and does no

Re: Aliases LDAP maps from the MX ?

2010-10-08 Thread Frank Bonnet
Thanks a lot for your help ! Le 08/10/2010 17:47, Victor Duchovni a écrit : On Fri, Oct 08, 2010 at 11:15:46AM -0400, Wietse Venema wrote: /etc/postfix/main.cf: transport_maps = mapping from example.com to smtp:mailhub.example.com relay_domains = example.com virtual_alias_map