On 8/23/2015 12:33 PM, Robert Schetterer wrote: > Am 23.08.2015 um 18:15 schrieb Jeremy T. Bouse: >> I've had my Postfix mail server running for several years now using >> Postfixadmin to manage the database tables holding my virtual mailbox >> information for domains I'm hosting mail from. It's become time to move >> this mail server so I'm having to rebuild it and I'm wanting to put the >> mailboxes behind a firewall but have an SMTP relay host that will accept >> the mail and forward it in. Obviously I don't want to just blindly >> accept all email for the domains and relay it into the internal host >> which would then have to deal with sending back scatter for invalid >> addresses. >> >> My current configuration handled the configuration using >> virtual_mailbox_maps, virtual_alias_maps and virtual_mailbox_domains >> settings that were pointed to the configuration files that generated the >> appropriate queries for the database. Obviously I'll be reusing this for >> my internal postfix server behind the firewall which will be receiving >> the emails but I'm trying to determine how to modify for my relay to be >> able to validate the email before relaying it into the internal host. >> > depends on your network/firewall setup you may simply use sql as before > , another option use smtp verify, or create > static tables at/from sql change time with secure copy etc Both Postfix servers are able to reach the database that holds the mail account data. Is there a simple elegant solution that can reuse the database content but under a different mapping to allow it to be accepted and forwarded along to the internal mail server? Last time I did something like this it was with Sendmail using LDAP for smart host routing of mailboxes.
smime.p7s
Description: S/MIME Cryptographic Signature