1

Topic: Tuning Postfix

Hello Zhang Huangbin,

Thanks for making iRedMail

With reference to your post:
http://www.iredmail.org/forum/post7263.html#p7263

1. Could you please let know what you mean with?

"try to list all your local users in hash files instead of storing in MySQL database,
and modify "virtual_mailbox_maps =" to use hash file"

Could you point me out in the right direction to "Use hash file"?


2. How can I disable amavisd, clamd and freshclam services
   without damaging IredMail?

3. How to create 1 user mailbox without MySQL/LDAP database?

     I want to use STARTTLS and Authentication
 
     Will this slow down the email relay's speed?   


4. I would like to have a SSL conection between my mailer and Iredmail.
   How can this be done without having a user in postfix?   

Thanks

----

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

2

Re: Tuning Postfix

learn7777 wrote:

1. Could you please let know what you mean with?

"try to list all your local users in hash files instead of storing in MySQL database,
and modify "virtual_mailbox_maps =" to use hash file"

Could you point me out in the right direction to "Use hash file"?

Reference: http://www.postfix.org/DATABASE_README.html



2. How can I disable amavisd, clamd and freshclam services
   without damaging IredMail?

Remove 'content-filter=' in postfix main.cf, then restart postfix service.
It's safe to disable amavisd, clamav services now.

3. How to create 1 user mailbox without MySQL/LDAP database?

     I want to use STARTTLS and Authentication
 
     Will this slow down the email relay's speed?

Use hash file instead of mysql/ldap lookup.

P.S. May i know why you want to use hash file instead of mysql/ldap to store mail accounts?


4. I would like to have a SSL conection between my mailer and Iredmail.
   How can this be done without having a user in postfix?

Add ip address of your client in postfix setting 'mynetworks =' (file main.cf).

3

Re: Tuning Postfix

Thanks for your replies.

"P.S. May i know why you want to use hash file instead of mysql/ldap to store mail accounts?"

I want to speed up postfix as much as possible.

What do you recommend?

4

Re: Tuning Postfix

Is mysql/ldap a bottleneck on your server? What the bottleneck is?

5

Re: Tuning Postfix

the max speed is about  5K per hour.
How could I know what is going on?

6

Re: Tuning Postfix

learn7777 wrote:

the max speed is about  5K per hour.

5K per-hour is the speed on your server now? How do you get this number?

How could I know what is going on?

You have to analytics the server and try to finger out which component or process could be the bottleneck.

7

Re: Tuning Postfix

Thanks for your replies.

1. "5K per-hour is the speed on your server now"
I am testing it with a external mailer, I add its IP in mynetworks.





"I would like to have a SSL conection between my mailer and Iredmail.
   How can this be done without having a user in postfix?
Add ip address of your client in postfix setting 'mynetworks =' (file main.cf)."

I can connect the mailer with iRedMail and it relays emails.

But, I cannot get a secure connection  [STARTTLS and Authentication]
between my mailer and Iredmail.

How can I do that?






I think the bottleneck is Mysql, it is getting too much RAM.
That is why I would like to set Up a User for postfix without Mysql.

I want to use hash file instead of mysql.
But I would need to find a tutorial for that.

Thanks again