OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Tue Oct 02 2001 - 05:38:50 CDT

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

    On 2 Oct 2001 12:23:22 +0200, Will Yardley <william+postfixhq.newdream.net> wrote:

    > is there any way to make postfix try to look for a fqdn with 'hostname'?

    Huh?

    > the default for 'myhostname' seems to look for 'hostname', although on
    > our system, the fqdn is only given with hostname -f or hostname --fqdn.
    > sendmail seems to be able to figure this out ok - the machine's hostname
    > isn't specified in /etc/mail/sendmail.mc and yet the correct hostname is
    > found.
    >
    > alternatively is there a file you can use to specify this?

    myhostname = my.fqdn.whatever

    Or you simply use:

    mydomain = all.except.the.shot.hostname

    mydomain will be appended to the short uname outpout, and voile you
    have a FQDN!

    > i realize that you can just set 'hostname = whatever' in main.cf, but
    > for this particular application that isn't possible (the same
    > configuration file must be automatically generated for a group of
    > machines and so can't contain machine-specific information).

    I know that. So simply say:

    -- 
    ralf.hildebrandtinnominate.com                            innominate AG
    Technical Consultant                   Don't be afraid of what you see -
    Diplom-Informatiker                     be afraid of what you don't see!
    tel: +49.(0)7000.POSTFIX                        fax: +49.(0)30.308806-77
    

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