Results 1 to 2 of 2

Thread: allow relaying for an ip..

  1. #1
    Join Date
    May 2007
    Posts
    173
    Rep Power
    8

    Default allow relaying for an ip..

    I want to allow relaying for a specific internal ip...
    127.0.0.0/8 x.x.x.0/24 is my mta trusted network entry...

    is the /24 for the ip range?
    the ip I want to relay is x.x.x.125

    how can I get this to go through?
    thanks
    timg

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Recommendation: Use slash /32 on the IP you wish to allow incoming submission/relaying from.
    Command:
    zmprov modifyServer server.domain.com zimbraMtaMyNetworks '127.0.0.0/8 x.x.x.0/24 x.x.x.125/32'
    postfix reload
    (Might check the attribute first for other current values so you don't accidentally remove them.)

    Explanation: If that IP doesn't fall within your interfaces x.x.x.0/24 net, and it's one trusted, unchanging IP - then adding just x.x.x.125/32 to the list would be more appropriate than opening it up for 255 other machines as well. Even though their on your internal net, who knows if they could become compromised; if there's no reason for them to ever relay mail, no sense exposing yourself.

    Guides:
    ZimbraMtaMyNetworks - Zimbra :: Wiki
    IPv4 subnetting reference - Wikipedia
    Last edited by mmorse; 07-22-2009 at 11:49 AM.

Similar Threads

  1. Replies: 32
    Last Post: 03-18-2011, 12:03 PM
  2. Trust IP for receiving but not relaying
    By gtr33m in forum Installation
    Replies: 3
    Last Post: 11-11-2008, 12:12 PM
  3. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 10:10 AM
  4. I got Ubuntu and Zimbra working
    By pacsteel in forum Installation
    Replies: 73
    Last Post: 06-23-2008, 12:41 PM
  5. Binding zimbra ldap to a specific ip
    By carnold in forum Administrators
    Replies: 1
    Last Post: 11-08-2007, 01:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •