postfix dual delivery to local (virtual) mailbox and google smtp2019 Community Moderator ElectionPostfix, SMTP Server, PHPMailerPostfix vs Google SMTP servers inconsistencyHow to configure SMTP with postfix with user and passPostfix with smtp authentication failingPostfix virtual aliases & domains?Postfix does not check “From:” address with sender_login_mapspostfix and mailman. One list is working, others bounceSMTP relay check (test) (Postfix)Postfix: how outgoing emails to external smtp serverPostfix SMTP auth
Mimic lecturing on blackboard, facing audience
Taxes on Dividends in a Roth IRA
Can I turn my anal-retentiveness into a career?
Doesn't the system of the Supreme Court oppose justice?
US tourist/student visa
How do I fix the group tension caused by my character stealing and possibly killing without provocation?
Multiplicative persistence
When were female captains banned from Starfleet?
Does the reader need to like the PoV character?
Why is it that I can sometimes guess the next note?
I found an audio circuit and I built it just fine, but I find it a bit too quiet. How do I amplify the output so that it is a bit louder?
Delete multiple columns using awk or sed
Giving feedback to someone without sounding prejudiced
How much theory knowledge is actually used while playing?
Did the UK lift the requirement for registering SIM cards?
How to preserve electronics (computers, iPads and phones) for hundreds of years
What to do when eye contact makes your coworker uncomfortable?
Is it necessary to use pronouns with the verb "essere"?
PTIJ: Why is Haman obsessed with Bose?
C++ copy constructor called at return
Does "he squandered his car on drink" sound natural?
Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?
What is Cash Advance APR?
Is this part of the description of the Archfey warlock's Misty Escape feature redundant?
postfix dual delivery to local (virtual) mailbox and google smtp
2019 Community Moderator ElectionPostfix, SMTP Server, PHPMailerPostfix vs Google SMTP servers inconsistencyHow to configure SMTP with postfix with user and passPostfix with smtp authentication failingPostfix virtual aliases & domains?Postfix does not check “From:” address with sender_login_mapspostfix and mailman. One list is working, others bounceSMTP relay check (test) (Postfix)Postfix: how outgoing emails to external smtp serverPostfix SMTP auth
We're migrating from our own mail server to Google Apps and I need to somehow deliver any incoming mail to both the local mail server and Google until we have everyone moved over. I'm following the instructions given at https://support.google.com/a/answer/9228551 using "Legacy server as primary server > Server-based forwarding" and I can get mail delivered either locally OR to Google using transport_maps but not both. Does anyone know how I can get mail delivered to both the local account and Google without making major changes to the current postfix setup?
Here's the output of postconf -n (minus stuff that's obviously not needed)
content_filter = scan:blocker.example.com:10025
inet_protocols = ipv4
message_size_limit = 15360000
mydestination = $myhostname, localhost.$mydomain, localhost, mail.example.com
mynetworks = 1.1.1.0/24
mynetworks_style = host
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/data/config/helo_access
smtpd_recipient_restrictions = check_recipient_access ldap:/data/config/message.ldap, check_recipient_access hash:/data/config/recipient_checks, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_policy_service inet:blocker.example.com:10031
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = example.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/data/config/access, check_sender_access hash:/data/config/sender_checks, check_sender_access regexp:/data/config/sender_checks.regex, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, reject_unauth_destination
smtpd_use_tls = yes
soft_bounce = no
transport_maps = hash:/data/config/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = ldap:/data/config/alias.ldap
virtual_gid_maps = static:125
virtual_mailbox_base = /data/mail
virtual_mailbox_domains = ldap:/data/config/domains.ldap
virtual_mailbox_maps = ldap:/data/config/mailbox.ldap
virtual_transport = virtual
virtual_uid_maps = static:125
Thank you!
postfix
add a comment |
We're migrating from our own mail server to Google Apps and I need to somehow deliver any incoming mail to both the local mail server and Google until we have everyone moved over. I'm following the instructions given at https://support.google.com/a/answer/9228551 using "Legacy server as primary server > Server-based forwarding" and I can get mail delivered either locally OR to Google using transport_maps but not both. Does anyone know how I can get mail delivered to both the local account and Google without making major changes to the current postfix setup?
Here's the output of postconf -n (minus stuff that's obviously not needed)
content_filter = scan:blocker.example.com:10025
inet_protocols = ipv4
message_size_limit = 15360000
mydestination = $myhostname, localhost.$mydomain, localhost, mail.example.com
mynetworks = 1.1.1.0/24
mynetworks_style = host
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/data/config/helo_access
smtpd_recipient_restrictions = check_recipient_access ldap:/data/config/message.ldap, check_recipient_access hash:/data/config/recipient_checks, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_policy_service inet:blocker.example.com:10031
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = example.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/data/config/access, check_sender_access hash:/data/config/sender_checks, check_sender_access regexp:/data/config/sender_checks.regex, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, reject_unauth_destination
smtpd_use_tls = yes
soft_bounce = no
transport_maps = hash:/data/config/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = ldap:/data/config/alias.ldap
virtual_gid_maps = static:125
virtual_mailbox_base = /data/mail
virtual_mailbox_domains = ldap:/data/config/domains.ldap
virtual_mailbox_maps = ldap:/data/config/mailbox.ldap
virtual_transport = virtual
virtual_uid_maps = static:125
Thank you!
postfix
add a comment |
We're migrating from our own mail server to Google Apps and I need to somehow deliver any incoming mail to both the local mail server and Google until we have everyone moved over. I'm following the instructions given at https://support.google.com/a/answer/9228551 using "Legacy server as primary server > Server-based forwarding" and I can get mail delivered either locally OR to Google using transport_maps but not both. Does anyone know how I can get mail delivered to both the local account and Google without making major changes to the current postfix setup?
Here's the output of postconf -n (minus stuff that's obviously not needed)
content_filter = scan:blocker.example.com:10025
inet_protocols = ipv4
message_size_limit = 15360000
mydestination = $myhostname, localhost.$mydomain, localhost, mail.example.com
mynetworks = 1.1.1.0/24
mynetworks_style = host
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/data/config/helo_access
smtpd_recipient_restrictions = check_recipient_access ldap:/data/config/message.ldap, check_recipient_access hash:/data/config/recipient_checks, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_policy_service inet:blocker.example.com:10031
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = example.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/data/config/access, check_sender_access hash:/data/config/sender_checks, check_sender_access regexp:/data/config/sender_checks.regex, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, reject_unauth_destination
smtpd_use_tls = yes
soft_bounce = no
transport_maps = hash:/data/config/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = ldap:/data/config/alias.ldap
virtual_gid_maps = static:125
virtual_mailbox_base = /data/mail
virtual_mailbox_domains = ldap:/data/config/domains.ldap
virtual_mailbox_maps = ldap:/data/config/mailbox.ldap
virtual_transport = virtual
virtual_uid_maps = static:125
Thank you!
postfix
We're migrating from our own mail server to Google Apps and I need to somehow deliver any incoming mail to both the local mail server and Google until we have everyone moved over. I'm following the instructions given at https://support.google.com/a/answer/9228551 using "Legacy server as primary server > Server-based forwarding" and I can get mail delivered either locally OR to Google using transport_maps but not both. Does anyone know how I can get mail delivered to both the local account and Google without making major changes to the current postfix setup?
Here's the output of postconf -n (minus stuff that's obviously not needed)
content_filter = scan:blocker.example.com:10025
inet_protocols = ipv4
message_size_limit = 15360000
mydestination = $myhostname, localhost.$mydomain, localhost, mail.example.com
mynetworks = 1.1.1.0/24
mynetworks_style = host
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/data/config/helo_access
smtpd_recipient_restrictions = check_recipient_access ldap:/data/config/message.ldap, check_recipient_access hash:/data/config/recipient_checks, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_policy_service inet:blocker.example.com:10031
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = example.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/data/config/access, check_sender_access hash:/data/config/sender_checks, check_sender_access regexp:/data/config/sender_checks.regex, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, reject_unauth_destination
smtpd_use_tls = yes
soft_bounce = no
transport_maps = hash:/data/config/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = ldap:/data/config/alias.ldap
virtual_gid_maps = static:125
virtual_mailbox_base = /data/mail
virtual_mailbox_domains = ldap:/data/config/domains.ldap
virtual_mailbox_maps = ldap:/data/config/mailbox.ldap
virtual_transport = virtual
virtual_uid_maps = static:125
Thank you!
postfix
postfix
edited yesterday
Maniac
asked yesterday
ManiacManiac
133
133
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507494%2fpostfix-dual-delivery-to-local-virtual-mailbox-and-google-smtp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507494%2fpostfix-dual-delivery-to-local-virtual-mailbox-and-google-smtp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown