1

Topic: Shared Namespaces with Exchange 2003

Hi,
Sorry if i post in the wrong section.

We are trying to get Shared namespaces working with iRedMail and Exchange 2003.
The exchange front end is configurd after "http://www.msexchange.org/tutorials/Exc … aring.html"
And is relaying to the iRedMail server.

And in the iRedMail server we have added Net::Ldap support.
And with that we generate a list of all admailaddresses.
http://www-personal.umich.edu/~malth/gaptuning/postfix/

In main.cf we have added
"hash:/etc/postfix/adlist" on the "relay_recipient_maps" field.
And in the "relay_domains" i have added "domain.com"

But we only recive "553 5.7.1 <user@domain.com>: Sender address rejected: not logged in"

Do i need to configure anything more in the main.cf?

Any advice will be a greate help.

Cheers WebFooL

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Shared Namespaces with Exchange 2003

Add ip address of exchange server in postfix 'mynetworks' should solve your issue.

3

Re: Shared Namespaces with Exchange 2003

Hi and thanks for the fast replay.

But adding it to the "Mynetworks" did not work.
We got it working form exchange to IRedMail server but not from The iRed to the Exchange server.

But after adding it to the network i recive another error code.
Task 'ServerName- Sending' reported error (0x8004210B): 'The operation timed out waiting for a response from the sending (SMTP) server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 454 5.7.3 Client does not have permission to Send As this sender.'

And again thanks for the help.

4

Re: Shared Namespaces with Exchange 2003

try yo remove 'reject_sender_login_mismatch' in smtpd_sender_restrictions in postfix main.cf.

5

Re: Shared Namespaces with Exchange 2003

did not change anything sad
It still just sits in the Outbox.

If i use exchanges SMTP all works.
But as i want to use the WebGui as well. (Not only IMAP Clients)

I have to get the postfix to relay everything to the exchange server.

Will try to load the default main.cf back and just do this 3 or 4 changes.
Will post with results after I have done this.

And again thanks for the help.

6

Re: Shared Namespaces with Exchange 2003

Did you change transport_map for the domain which should be relayed to exchange?

It should be something like this:

- For openldap backend, value of attribute 'mtaTransport' should be something like this:

mtaTransport: smtp:xxx:25

- For mysql backend, value of field 'transport' in vmail.domain should be something like this:

smtp:xxx:25

7 (edited by WebFooL 2009-10-01 14:55:33)

Re: Shared Namespaces with Exchange 2003

Hi,
what i did was added "domain.com smtp:iptosmtp" to "/etc/postfix/transport"
And after that i run "postmap transport"

I am now trying to add "mtaTransport: smtp:xxx:25" to transport_maps field. Should i remove all others?
or just add "mtaTransport:  smtp:ip:25"

Edit:
Should the "mtaTransport: smtp:xxx:25" be a own line in "/etc/postfix/main.cf"  or should it go in another file?
Edit2:
Change the mtaTransport in phpLdapadmin for "domain.com"
To "smtp: 192.168.16.220:25"
but still no go hmm

And Thank you for all the replays so far.

8

Re: Shared Namespaces with Exchange 2003

We can take another point of view here.

Can i configure the postfix for the reciving part only?
And for sending to relay everythig to my exchange smtp?

We have antispam/witelist/graylist etc infront of exchange so there is no need to have it on the iredserver.
So i think the Postfix can be stript hard tongue

But then again i am no Postfix guru wink