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 - 09:18:35 CST

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

    In the previous episode (06.02.2002, 14:30:43), Ian Chilton
    <mailinglistichilton.co.uk> said:

    >
    >
    > So there is no hackish easy way to get Postfix to resolve
    > someone.dyndns.org and use that IP to allow relay?

    yes there is.

    i use the following:

    relay_domains = $mydestination
     /etc/postfix/allowed_IP

    and a perl script:
    #!/usr/bin/perl
    use Socket;

        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