Postfix wont send mail to external email addresses listed in virtual_alias_domains
- or -
Post a project like this3745
$15/hr
- Posted:
- Proposals: 1
- Remote
- #581191
- Completed
Description
Experience Level: Entry
General information for the business: Development
Description of requirements/functionality: We have our main server at mail.mainserver.com with the catchall address catch@mail.mainserver.com
We also have two other domains: domain1.com and domain2.com which are hosted at gmail. Gmail is re-routing catchall emails to catch@mainserver.com
In /etc/postfix/main.cf
virtual_alias_domains = domain1.com, domain2.com
virtual_alias_maps = hash:/etc/postfix/virtual
And in /etc/postfix/virtual
@mail.mainserver.com catch@mail.mainserver.com
@domain1.com catch@mail.mainserver.com
@domian2.com catch@mail.mainserver.com
These settings are working when it comes to receiving email to either of the above domains, but the issue we are having is in sending an email from a virtual alias ie testoutgoing@mail.mainserver.com to an existing mailbox at gmail ie existing@domain1.com
The email is not sent, instead it is placed into the inbox of catch@mail.mainserver.com
Is there any way to create an ignore list, so that postfix ignores checks on the virtual alias table for specific email addresses and sends them as it would to any other external email address?
Thanks in advance.
Specific technologies required: postfix, linux, smtp, email
OS requirements: Linux
Extra notes:
Description of requirements/functionality: We have our main server at mail.mainserver.com with the catchall address catch@mail.mainserver.com
We also have two other domains: domain1.com and domain2.com which are hosted at gmail. Gmail is re-routing catchall emails to catch@mainserver.com
In /etc/postfix/main.cf
virtual_alias_domains = domain1.com, domain2.com
virtual_alias_maps = hash:/etc/postfix/virtual
And in /etc/postfix/virtual
@mail.mainserver.com catch@mail.mainserver.com
@domain1.com catch@mail.mainserver.com
@domian2.com catch@mail.mainserver.com
These settings are working when it comes to receiving email to either of the above domains, but the issue we are having is in sending an email from a virtual alias ie testoutgoing@mail.mainserver.com to an existing mailbox at gmail ie existing@domain1.com
The email is not sent, instead it is placed into the inbox of catch@mail.mainserver.com
Is there any way to create an ignore list, so that postfix ignores checks on the virtual alias table for specific email addresses and sends them as it would to any other external email address?
Thanks in advance.
Specific technologies required: postfix, linux, smtp, email
OS requirements: Linux
Extra notes:
Frank B.
100% (1)Projects Completed
2
Freelancers worked with
2
Projects awarded
33%
Last project
19 Jan 2015
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies