OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Sven Michels (smichelsintradat.com)
Date: Wed Feb 06 2002 - 12:02:28 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    "General P. Fault" wrote:
    >
    > In the previous episode (06.02.2002, 16:26:21), General P. Fault
    > <GeneralP.Faultgmx.net> said:
    >
    > i have to apologize. this does not work with relay_domains!
    > i assumed it would, since i use that method to add an IP to $mydestination
    > and have this:
    >
    > relay_domains = $mydestination
    >
    > mydestination = $myhostname.$mydomain
    > $myhostname
    > ..
    > /etc/postfix/my_IP
    >
    > the perl script writes [my_IP] and my_IP to /etc/postfix/my_IP.
    > like that, postfix will also accept mails for *[my-IP] and *my_IP -
    > without the IP being added to $mydestination, it does not accept them.
    >
    > so that IP should be in relay_domains too, but apparently it isnt - if i
    > do the same with a different IP, the mail is rejected for non-relay
    > reasons.
    >
    > and postmap'ped tables with regexp and hash do not work in $relay_domains
    > or $mydestination either
    >
    > again, i apologize for the confusion.

    thats wrong again.
    IP must be in mynetworks OR in a map that gives a OK on
    querying the IP:
    smtpd_recipient_restrictions = ...
                                    check_client_access maptype:mapwithIP
                                    permit_mynetworks
                                    ...

    and so one..

    -- 
    intraDAT AG                     http://www.intradat.com
    Wilhelm-Leuschner-Strasse 7         Tel: +49 69-25629-0
    D - 60329 Frankfurt am Main       Fax: +49 69-25629-256
             Junk mail is war. RFCs do not apply.
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users