I'm using postfixadmin to manage diffend e-mail adresse for differnd domains on my debian host.
Now I want do relay a spezific domain to a internal MS exchange server via VPN.
Can I configure this relay with Postfix Admin and how?
Or is this i config that has been done with postfix itself?
It would be a nice festure...
Best regards David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did some modification on my system to enable this and it's up for posterity in the wiki It's far from perfect, but it works.
In your case, you setup the domain with transport type relay, put the IP address or FQDN in the description, and the rest should "just work" - you do have to create an alias for every user you want mail to be accepted for, or a wildcard alias if you want to be part of the spam problem.
The VPN is irrelevant provided you have your routing set up properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i know this is an old thread, but am little confused tho, say i want to host multiple domains but for smtp i wish to use a mail realy mailgun , sedngrid ..etc and still have inbound normally. is this what i need? https://sourceforge.net/p/postfixadmin/wiki/Relay_domains/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just to clarify, you are looking for a normal setup (host mailboxes in multiple domains) - but route all outgoing mail via another system rather than sending them directly ? If that is the case, then the wiki page mentioned is not appropriate for you - that is for when you want to host an inbound mail relay (you publish your address in MX records, accept mail for listed users, forward those mails to the users' real mail server).
I used the setup you want at my last place, but it's so long since I set it up that I can't remember how it's done ! And I don't have access to any of those systems any more.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I think you simply need to set relayhost http://www.postfix.org/postconf.5.html#relayhost, as in :
relayhost = [gateway.example.com]
If the relay host needs authentication first, then you'll need to use smtp_sasl_password_maps http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps to specify the username & password pair to use for the remote server. From memory you need to specify a file here, and then in the file you have a single line for each outbound relay.
Hello,
I'm using postfixadmin to manage diffend e-mail adresse for differnd domains on my debian host.
Now I want do relay a spezific domain to a internal MS exchange server via VPN.
Can I configure this relay with Postfix Admin and how?
Or is this i config that has been done with postfix itself?
It would be a nice festure...
Best regards David
I've only done that through a transports entry - .e.g
/etc/postfix/transports :
and in main.cf :
and don't forget a :
I did some modification on my system to enable this and it's up for posterity in the wiki It's far from perfect, but it works.
In your case, you setup the domain with transport type relay, put the IP address or FQDN in the description, and the rest should "just work" - you do have to create an alias for every user you want mail to be accepted for, or a wildcard alias if you want to be part of the spam problem.
The VPN is irrelevant provided you have your routing set up properly.
Hi, i know this is an old thread, but am little confused tho, say i want to host multiple domains but for smtp i wish to use a mail realy
mailgun , sedngrid ..etc
and still have inbound normally. is this what i need?https://sourceforge.net/p/postfixadmin/wiki/Relay_domains/
Just to clarify, you are looking for a normal setup (host mailboxes in multiple domains) - but route all outgoing mail via another system rather than sending them directly ? If that is the case, then the wiki page mentioned is not appropriate for you - that is for when you want to host an inbound mail relay (you publish your address in MX records, accept mail for listed users, forward those mails to the users' real mail server).
I used the setup you want at my last place, but it's so long since I set it up that I can't remember how it's done ! And I don't have access to any of those systems any more.
OK, I think you simply need to set relayhost http://www.postfix.org/postconf.5.html#relayhost, as in :
relayhost = [gateway.example.com]
If the relay host needs authentication first, then you'll need to use smtp_sasl_password_maps http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps to specify the username & password pair to use for the remote server. From memory you need to specify a file here, and then in the file you have a single line for each outbound relay.
This article seems to match what I recall :
https://www.linode.com/docs/email/postfix/postfix-smtp-debian7/
Hello Simon, i already have done the
relayhost
but getting multiple errors.i have this thread also
https://sourceforge.net/p/postfixadmin/discussion/676076/thread/44a3bde5e0/?limit=25#028b
can we continue the discussion on gitter please? so i can share my logs?