OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: General P. Fault (GeneralP.Faultgmx.net)
Date: Wed Feb 06 2002 - 10:58:55 CST

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

    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.

    regards,
    wolfgang

    > In the previous episode (06.02.2002, 16:18:35), General P. Fault
    > <GeneralP.Faultgmx.net> said:
    >
    > >
    > > relay_domains = $mydestination
    > > /etc/postfix/allowed_IP
    > >
    > > and a perl script:
    > > #!/usr/bin/perl
    > > use Socket;
    > # editor's mistake:
    > # you don't need the following two lines
    > #> my $host = "luzifer.dyn.ee";
    > #> my $addr = inet_ntoa(scalar(gethostbyname($host)));
    > > print inet_ntoa(scalar(gethostbyname("luzifer.dyn.ee")));
    > > print "\n";
    > >
    > > and a cron job:
    > > /path/to/that/script > /etc/postfix/allowed_IP
    >
    > regards,
    >
    > wolfgang
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users