On 12/18/2009 4:08 PM, Cameron Smith wrote:
On Fri, Dec 18, 2009 at 12:50 PM, Noel Jones<njo...@megan.vbhcs.org> wrote:
On 12/18/2009 2:34 PM, Cameron Smith wrote:
The mail server for something.com has been changed to
mail.somethingelse.com
It's working fine for regular mail through a client.
Scripts (Drupal) on something.com when sending email though are failing.
How do I modify main.cf for the postfix install at something.com to
forward all mail generated by the scripts to the real mail server at
mail.somethingelse.com to be sent from there?
Thanks!
Cameron
http://www.postfix.org/BASIC_CONFIGURATION_README.html
Wild guess... You need to remove something.com from mydestination, and add
it to relay_domains.
If you need more help, see
http://www.postfix.org/DEBUG_README.html#mail
-- Noel Jones
Thank you Noel!
That is working now :)
For future reference if I wanted to have regular mail continue to use
mail.somethingelse.com but have mail sent from Drupal on something.com
get sent directly from the postfix install there what would I change?
I can't quite figure out what you're asking, so I'll just
point you to the docs. Pay particular attention to the
documents under the "General configuration" section.
http://www.postfix.org/documentation.html
-- Noel Jones