public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] inet_interfaces = $myhostname, localhost
@ 2001-07-04  8:34 Duckx
  0 siblings, 0 replies; 5+ messages in thread
From: Duckx @ 2001-07-04  8:34 UTC (permalink / raw
  To: Gentoo-Dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hy,

I did emerge Postfix ... and had a couple of problem

First I did add to main.cf :
inet_interfaces = $myhostname, localhost

This is not a good idea for testing ...
My alias are (/etc/hosts) 127.0.0.1 localhost myhostname 
That makes postfix to crash
I would better live inet_interfaces = all :)

Secondly I needed to execute the command newaliases to make the stuff work
(Yep default config file says ... it needs /etc/mail/aliases.db

Hope this help...

That's all :)
Have fun with Gentoo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Pour information voir http://www.gnupg.org

iD8DBQE7QyoOAuKvWr1DSVERAiK/AJ4/WecOcIV9vwXqXVCkTXMg254NEQCfalIn
4XHVEl6SIjVblGs9iZeOoo4=
=qPtm
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] inet_interfaces = $myhostname, localhost
@ 2001-07-04  8:49 Grant Goodyear
  2001-07-04  8:57 ` Duckx
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Goodyear @ 2001-07-04  8:49 UTC (permalink / raw
  To: gentoo-dev

Hmmm.  Normally you want

/etc/hosts
127.0.0.1       localhost.localdomain   localhost
192.168.0.3     myhostname.mydomain     myhostname

(where 192.168.0.3 should be your machine's IP address).

Yep, I'm not surprised that you needed to run newaliases (running
newaliases _is_ in the desktop howto, by the way); are you saying that
it needed to be run _before_ "postfix start"?

-Grant-
-- 
___________________________________________________________________
|     Grant Goodyear                  |  The Secrets of Physics:   |
|     Dept. of Chemistry - UH         |1. Add zero.                |
|     Houston, TX  77204              |2. Multiply by one.         |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyear@uh.edu              |4. Integrate by parts.      |
|www:bernacchi.chem.uh.edu/~grant     |5. Fourier transform.       |
|                                     |6. Add auxiliary variables  |
|_____________________________________|____________________________|
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] inet_interfaces = $myhostname, localhost
  2001-07-04  8:49 [gentoo-dev] inet_interfaces = $myhostname, localhost Grant Goodyear
@ 2001-07-04  8:57 ` Duckx
  2001-07-04  9:22   ` Parag Mehta
  0 siblings, 1 reply; 5+ messages in thread
From: Duckx @ 2001-07-04  8:57 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> /etc/hosts
> 127.0.0.1       localhost.localdomain   localhost
> 192.168.0.3     myhostname.mydomain     myhostname
   ^^^^^^^^^^
Well I don't have a network card will it still work ??

> Yep, I'm not surprised that you needed to run newaliases (running
> newaliases _is_ in the desktop howto, by the way); are you saying that
> it needed to be run _before_ "postfix start"?

Yep ... I think it needs to be added to the ebuild script :)

Duckx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Pour information voir http://www.gnupg.org

iD8DBQE7Qy9mAuKvWr1DSVERAp96AJ9OSMAyrDOTE26cy1Dts7EUhWZRxACffeM+
QQVhSVrDfX+dYFu27sRdTUU=
=3MkU
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] inet_interfaces = $myhostname, localhost
  2001-07-04  8:57 ` Duckx
@ 2001-07-04  9:22   ` Parag Mehta
  0 siblings, 0 replies; 5+ messages in thread
From: Parag Mehta @ 2001-07-04  9:22 UTC (permalink / raw
  To: gentoo-dev

Hi
On Wed, Jul 04, 2001 at 04:59:50PM +0200, Duckx wrote:
> > /etc/hosts
> > 127.0.0.1       localhost.localdomain   localhost
>   ^^^^^^^^^^
the problem is u can not  have 
127.0.0.1	localhost	myhostname	( wrong)

> Well I don't have a network card will it still work ?
Well it has to work.

regards,

pm



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] inet_interfaces = $myhostname, localhost
@ 2001-07-04 10:53 Grant Goodyear
  0 siblings, 0 replies; 5+ messages in thread
From: Grant Goodyear @ 2001-07-04 10:53 UTC (permalink / raw
  To: gentoo-dev

>> /etc/hosts
>> 127.0.0.1       localhost.localdomain   localhost
>> 192.168.0.3     myhostname.mydomain     myhostname
>   ^^^^^^^^^^
>   Well I don't have a network card will it still work ??

You're planning to use it with a dial-up address?  There's
an example dialup configuragion in the postfix faq.

>   > Yep, I'm not surprised that you needed to run newaliases (running
>   > newaliases _is_ in the desktop howto, by the way); are you saying
>   > that
>   > it needed to be run _before_ "postfix start"?
>
>   Yep ... I think it needs to be added to the ebuild script :)

That's usually a bad practice.  At a minimum the /etc/mail/aliases
file should be edited to direct root's mail to a specific user
before running "newaliases".

-Grant-
-- 
___________________________________________________________________
|     Grant Goodyear                  |  The Secrets of Physics:   |
|     Dept. of Chemistry - UH         |1. Add zero.                |
|     Houston, TX  77204              |2. Multiply by one.         |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyear@uh.edu              |4. Integrate by parts.      |
|www:bernacchi.chem.uh.edu/~grant     |5. Fourier transform.       |
|                                     |6. Add auxiliary variables  |
|_____________________________________|____________________________|
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-04 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-04  8:49 [gentoo-dev] inet_interfaces = $myhostname, localhost Grant Goodyear
2001-07-04  8:57 ` Duckx
2001-07-04  9:22   ` Parag Mehta
  -- strict thread matches above, loose matches on Subject: below --
2001-07-04 10:53 Grant Goodyear
2001-07-04  8:34 Duckx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox