Internal Configuring Postfix

From GrandCare Systems
Revision as of 17:43, 18 January 2013 by Ngh (talk | contribs) (Created page with "All servers deliver mail through '''gcmmail.grandcare.com'''. Gather the public IP address of the server you're configuring mail on. # Login to gcmmail.grandcare.com ## Add ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

All servers deliver mail through gcmmail.grandcare.com.

Gather the public IP address of the server you're configuring mail on.

  1. Login to gcmmail.grandcare.com
    1. Add $IPAddress/32 to the mynetworks directive found in /etc/postfix/main.cf
    2. Restart postfix
  2. Login to your $server
    1. Change the relayhost directive to gcmmail.grandcare.com
    2. Restart postfix
    3. Test configuration with:
mailcmd=mail
echo "Hello World!" | $mailcmd -s 'test' my@emailaddress.tld

note: you can just use mail instead of $mailcmd, I had to do this to get around mod_security on this webserver