Hi, We setup a postfix mailserver (192.168.0.1) as a relay for our internal network. All e-mail (disregarded the final destination) should be stored on this machine for a period of time before we re-inject the email into postfix and relay it to our outgoing mailserver (192.168.0.2) who'll deliver it to the final destination.
We'd prefer separate mail directories per source (server1 (192.168.0.3) , server2 (192.168.0.4), server3 (192.168.0.5) etc). Our current setup looks like this and all seems work. main.cf ######################### inet_interfaces = localhost, 192.168.0.1 mydestination = $myhostname relayhost = 192.168.0.2:25 mynetworks = localhost home_mailbox = inbox/ ######################### master.cf ######################### smtp inet n - n - - smtp 192.168.0.1:10025 inet n - n - - smtp -o cleanup_service_name=cleanupserver1 -o mynetworks=192.168.0.3 cleanupserver1 unix n - n - 0 cleanup -o virtual_alias_maps=static:server1 192.168.0.1:20025 inet n - n - - smtp -o cleanup_service_name= cleanupserver2 -o mynetworks=192.168.0.4 cleanupserver2 unix n - n - 0 cleanup -o virtual_alias_maps=static:server2 192.168.0.1:30025 inet n - n - - smtp -o cleanup_service_name= cleanupserver3 -o mynetworks=192.168.0.5 cleanupserver3 unix n - n - 0 cleanup -o virtual_alias_maps=static:server3 ######################### On this server we created accounts server1, server2, server3 etc. All incoming e-mail is delivered to /home/server1/inbox/, /home/server2/inbox/, /home/server3/inbox/ etc. First: Is there a way of making this more scalable (upscale without adding services to the master.cf)? Second: We would like to use virtual mailboxes instead so we don't have to create user accounts for all mailboxes. I tried to change virtual_mailbox_maps per smtp and cleanup instance but that didn't seem to work. Any suggestions? Thanx -- View this message in context: http://postfix.1071664.n5.nabble.com/Temporary-storage-of-email-per-SMTP-daemon-tp87257.html Sent from the Postfix Users mailing list archive at Nabble.com.