1

Topic: Secondary smtp server?

Hi All.

How to configure a secondary smtp server?
I need to send e-mails in another server, and need to auth on the same ldap account.
How can i build this server without configure full iredmail?

Thanls a lot.

==== Provide required information ====
- iRedMail version and backend (LDAP):
- BSD
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: Secondary smtp server?

jorge wrote:

How to configure a secondary smtp server?
I need to send e-mails in another server, and need to auth on the same ldap account.
How can i build this server without configure full iredmail?

The easiest way is:

- Setup another iRedMail server with same backend. e.g. OpenLDAP.
- Setup LDAP replication between primary/secondary smtp server.

If you don't want to replicate accounts stored in LDAP, try this:

- Setup another iRedMail server with the same backend. e.g. OpenLDAP.
- Tune settings in primary server, allow secondary to query mail accounts from primary. e.g. make OpenLDAP accept all connection requests instead of only 127.0.0.1, make firewall rules to accept LDAP connection from external instead of only 127.0.0.1.

3

Re: Secondary smtp server?

Thanks ZhangHuangbin for your answer.

I only want to send e-mails, not configure a full iredmail server.
Can i only install postfix with cyrus and ldap(replicated) to authenticate and send e-mails ?
Don't need to check e-mails with clamav, spf and other rules, just send.
Exist any way?

Thanks.

4

Re: Secondary smtp server?

jorge wrote:

I only want to send e-mails, not configure a full iredmail server.
Can i only install postfix with cyrus and ldap(replicated) to authenticate and send e-mails ?
Don't need to check e-mails with clamav, spf and other rules, just send.

You can install only Postfix, but just want to remind you that we provide support for only iRedMail, not a customize installation. So if you got some issues, you have to figure it out yourself.

5

Re: Secondary smtp server?

Hi ZhangHuangbin.

I configured the server as you said.
I used the same installer, iRedMail-0.7.3.
When I send an email and put local recipients, it delivers the local mailbox (secondary smtp),
not the actual server mailboxes, where the mail boxes are.

Thanks a lot.

6

Re: Secondary smtp server?

jorge wrote:

When I send an email and put local recipients, it delivers the local mailbox (secondary smtp),

Sorry, what do you mean "local recipients" and "local mailbox"?

7

Re: Secondary smtp server?

I have server1, with iredmail-pro-ldap working fine, with all accounts and mailboxes.
I did server2, with the same installer of iredmail. In this server i need only send e-mails,
the bounced email have to be delivery to server1, not on server2.
You understand me?

8 (edited by jorge 2012-05-30 02:38:03)

Re: Secondary smtp server?

Another way to understand me.
How can i disable dovecot on server2 and make the
postfix send emails do dovecot delivery on server1?
Remember, i have ldap replicating on both servers.

9

Re: Secondary smtp server?

I managed to solve my problem of using the mail delivery feature of transport.
Thanks for everything.

10

Re: Secondary smtp server?

jorge wrote:

I managed to solve my problem of using the mail delivery feature of transport.

Details?