Hello,

I'm currently running Postfix 2.5 on FreeBSD 7.0 and I have a problem.

I want to run many processus smtpd without using multi-instances of Postfix. So 
i can do it in the master.cf<http://master.cf> without any problems.

Exemple :

smtp                   inet  n       -       n       -       100       smtpd
127.0.0.1:10025<http://127.0.0.1:10025>   inet  n       -       n       -       
100       smtpd
127.0.0.1:10026<http://127.0.0.1:10026>   inet  n       -       n       -       
100       smtpd

Ok, i have Postix listening on port 25, 10025 ans 10026.

Now i want to create three processus smtp (transport). I know how to do it too.

Exemple :

smtp         unix    -       -       n       -       100       smtp
  -o myhostname=server1
way1         unix    -       -       n       -       100       smtp
  -o myhostname=server2
way2         unix    -       -       n       -       100       smtp
  -o myhostname=server3

Now, i am working on a solution for associate a processus smtpd to a process 
smtp.
When i send a mail using postfix (linstening on port 10025), i want that the 
mail will be send by the entry way1.
Exemple :
 nc 127.0.0.1<http://127.0.0.1> 25
220 server0 ESMTP Postfix

MAIL FROM ...
RCPT TO ...
...
...

I want that this mail will be transported by the transport smtp.

If i send the mail using Postfix on port 10025, i want that it will be 
transported by the transport way1...

Maybe there is another way to realise it.

In fact, if i send a mail using Postfix on port 10025, i want that the mail 
will be sent by the hostname server1 and the ip IP1.  If i send a mail using 
Postfix on port 10026,  i want that the mail will be sent by the hostname 
server2 and the ip IP2.

I hope that my request is so clear.
Thank you for your reply.

Reply via email to