Hellow charlie, charlie derr <cd...@simons-rock.edu> writes:
> Greetings fine postfix wizards, > > We are in the process of transitioning from a local postfix and dovecot > infrastructure to using gmail. While we're in the process of copying > over all of our users' archived email to the new gmail environment, we'd > like to have all email delivered both to gmail and to our local dovecot > mailboxes. > > simons-rock.edu MX records currently point to Gmail servers. With Gmail > "dual delivery" routing, all email received by Gmail for simons-rock.edu > is delivered to a Gmail mailbox and additionally routed to our internal > email spam filters (hormel.simons-rock.edu) and then on to our internal > Postfix + Dovecot system (hedwig.simons-rock.edu). > > However, email that is generated by our users or systems directly via > SMTP to hedwig.simons-rock.edu currently has no way to reach Gmail > mailboxes. > > Are there any suggestions on how we can make sure that both internally > generated and external email reach both Gmail and Dovecot mailboxes > without creating a routing loop? > > Our current idea is to rely on the existing Gmail dual delivery setup. > We'd like to know if it's possible to configure Postfix on > hedwig.simons-rock.edu so that: > 1) Any email that originates on this system (or our roundcube webmail > instance on warlock.simons-rock.edu) is first routed out to Gmail > servers, even if the domain is simons-rock.edu and the user has a > Dovecot mailbox. > 2) Any email that is routed to (or back to) our internal servers via > Gmail dual delivery (arriving via hormel.simons-rock.edu) is just > delivered to a Dovecot mailbox. > > Thanks so much for any direction you can provide us. Should there be > more information you would like us to provide, we'll be happy to do so. > > gratefully, > ~c A simple configuration is best for maintenance. Another thought. Sincerely, Linux fan Byung-Hee -- ^고맙습니다 _地平天成_ 감사합니다_^))//