[gentoo-user] failed to install tinyERP: how to fix?

2007-03-19 Thread Zhang Weiwu
Hello. When I emerged tinyERP server I was told I should run the below
command to configure it. But it doesn't work.

emerson files #  emerge --config =app-office/tinyerp-server-4.0.2


Configuring pkg...

 * In the following, the 'postgres' user will be used.
 * Creating database user terp ...
createuser: unrecognized option `--no-createrole'
Try createuser --help for more information.   [ !! ]

!!! ERROR: app-office/tinyerp-server-4.0.2 failed.
Call stack:
  ebuild.sh, line 1527:   Called pkg_config
  tinyerp-server-4.0.2.ebuild, line 69:   Called die

!!! Failed to create database user
!!! If you need support, post the topmost build error, and the call 
stack if relevant.

I first think maybe having --no-createrole is not important so I
modified /usr/portage/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild, 
replacing this line:
createuser --quiet --username=postgres --createdb --no-adduser 
--no-createrole ${TINYERP_USER}
with this line
createuser --quiet --username=postgres --createdb --no-adduser  
${TINYERP_USER}

My modification doesn't seem to work, I run emerge --config again but
still exactly the same error message.

How do I proceed on? Any suggestions?

Best Regards
Zhang Weiwu

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mailman archives are not written anymore - why??

2007-03-19 Thread Wolfgang Liebich
Hi,

Just for the records - it seems a leftover lock was the
problem. Following event sequence:
Once upon a time the disk was full. Mailman could not write archives.
Upon a restart (or crash?) locks were left over in the locks/
subdirectory
Henceforth all mails which would be to archive languished in
qfiles/archive
I stopped mailman, removed all lockfiles and restarted it. The
qfiles/archive directory was emptied, and suddenly I had archive
directories for february and march and many formerly missing emails
there...
Ciao,
Wolfgang.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unsubcribe

2007-03-19 Thread Neil Bothwick
On Sun, 18 Mar 2007 22:32:46 -0400, Fiifi Markin wrote:

 unsubscribe

Here's how to unsubscribe:

First, ask your Internet Provider to mail you an Unsubscribing Kit.
Then follow these directions.

The kit will most likely be the standard no-fault type. Depending on
requirements, System A and/or System B can be used. When operating
System A, depress lever and a plastic dalkron unsubscriber will be
dispensed through the slot immediately underneath. When you have
fastened the adhesive lip, attach connection marked by the large X
outlet hose. Twist the silver-coloured ring one inch below the
connection point until you feel it lock.

The kit is now ready for use. The Cin-Eliminator is activated by the
small switch on the lip.  When securing, twist the ring back to its
initial condition, so that the two orange lines meet.  Disconnect.
Place the dalkron unsubscriber in the vacuum receptacle to the rear.
Activate by pressing the blue button.

The controls for System B are located on the opposite side. The red
release switch places the Cin-Eliminator into position; it can be
adjusted manually up or down by pressing the blue manual release
button. The opening is self-adjusting. To secure after use, press the
green button, which simultaneously activates the evaporator and
returns the Cin-Eliminator to its storage position.

You may log off if the green exit light is on over the evaporator.  If
the red light is illuminated, one of the Cin-Eliminator requirements
has not been properly implemented. Press the List Guy call button on
the right of the evaporator. He will secure all facilities from his
control panel.

To use the Auto-Unsub, first undress and place all your clothes in the
clothes rack. Put on the velcro slippers located in the cabinet
immediately below. Enter the shower, taking the entire kit with
you. On the control panel to your upper right upon entering you will
see a Shower seal button. Press to activate. A green light will then
be illuminated immediately below. On the intensity knob, select the
desired setting. Now depress the Auto-Unsub activation lever. Bathe
normally.

The Auto-Unsub will automatically go off after three minutes unless
you activate the Manual off override switch by flipping it up. When
you are ready to leave, press the blue Shower seal release
button. The door will open and you may leave. Please remove the velcro
slippers and place them in their container.

If you prefer the ultrasonic log-off mode, press the indicated blue
button. When the twin panels open, pull forward by rings A  B. The
knob to the left, just below the blue light, has three settings, low,
medium or high. For normal use, the medium setting is suggested.

After these settings have been made, you can activate the device by
switching to the ON position the clearly marked red switch. If
during the unsubscribing operation you wish to change the settings,
place the manual off override switch in the OFF position. You may
now make the change and repeat the cycle. When the green exit light
goes on, you may log off and have lunch. Please close the door behind
you.


-- 
Neil Bothwick

Everyone has a photographic memory. Some don't have film.


signature.asc
Description: PGP signature


RE: [gentoo-user] adjustment console/X

2007-03-19 Thread Nelson, David \(ED, PARD\)
 -Original Message-
 From: Jorge Almeida [mailto:[EMAIL PROTECTED]
 Sent: 18 March 2007 11:20
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] adjustment console/X
 
 
 I don't know what VESAFB-TNG statement means. Can you elaborate?
 Anyway, I think they are already the same: I have
 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED]  in the appropriate line in
 grub.conf, and Modes  1280x1024 in xorg.conf. The update 
 frequency is
 set to 60Hz (recommended for this monitor) in the Control 
 panel of KDE.
 1280x1024 is the native resolution of the monitor.
 

Vesafb-tng is, to my knowledge, a kernel option. You have the option to use 
vesafb or vesafb-tng. It's in the part of the config where you enable the 
framebuffer.

Cheers


--
djn

I do not represent anyone else in emails I send to this list.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unsubcribe

2007-03-19 Thread Fiifi Markin
Very funny man neil ...


On 3/19/07 5:03 AM, Neil Bothwick [EMAIL PROTECTED] wrote:

 On Sun, 18 Mar 2007 22:32:46 -0400, Fiifi Markin wrote:
 
 unsubscribe
 
 Here's how to unsubscribe:
 
 First, ask your Internet Provider to mail you an Unsubscribing Kit.
 Then follow these directions.
 
 The kit will most likely be the standard no-fault type. Depending on
 requirements, System A and/or System B can be used. When operating
 System A, depress lever and a plastic dalkron unsubscriber will be
 dispensed through the slot immediately underneath. When you have
 fastened the adhesive lip, attach connection marked by the large X
 outlet hose. Twist the silver-coloured ring one inch below the
 connection point until you feel it lock.
 
 The kit is now ready for use. The Cin-Eliminator is activated by the
 small switch on the lip.  When securing, twist the ring back to its
 initial condition, so that the two orange lines meet.  Disconnect.
 Place the dalkron unsubscriber in the vacuum receptacle to the rear.
 Activate by pressing the blue button.
 
 The controls for System B are located on the opposite side. The red
 release switch places the Cin-Eliminator into position; it can be
 adjusted manually up or down by pressing the blue manual release
 button. The opening is self-adjusting. To secure after use, press the
 green button, which simultaneously activates the evaporator and
 returns the Cin-Eliminator to its storage position.
 
 You may log off if the green exit light is on over the evaporator.  If
 the red light is illuminated, one of the Cin-Eliminator requirements
 has not been properly implemented. Press the List Guy call button on
 the right of the evaporator. He will secure all facilities from his
 control panel.
 
 To use the Auto-Unsub, first undress and place all your clothes in the
 clothes rack. Put on the velcro slippers located in the cabinet
 immediately below. Enter the shower, taking the entire kit with
 you. On the control panel to your upper right upon entering you will
 see a Shower seal button. Press to activate. A green light will then
 be illuminated immediately below. On the intensity knob, select the
 desired setting. Now depress the Auto-Unsub activation lever. Bathe
 normally.
 
 The Auto-Unsub will automatically go off after three minutes unless
 you activate the Manual off override switch by flipping it up. When
 you are ready to leave, press the blue Shower seal release
 button. The door will open and you may leave. Please remove the velcro
 slippers and place them in their container.
 
 If you prefer the ultrasonic log-off mode, press the indicated blue
 button. When the twin panels open, pull forward by rings A  B. The
 knob to the left, just below the blue light, has three settings, low,
 medium or high. For normal use, the medium setting is suggested.
 
 After these settings have been made, you can activate the device by
 switching to the ON position the clearly marked red switch. If
 during the unsubscribing operation you wish to change the settings,
 place the manual off override switch in the OFF position. You may
 now make the change and repeat the cycle. When the green exit light
 goes on, you may log off and have lunch. Please close the door behind
 you.
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Seamonkey and maps

2007-03-19 Thread Dale
Dale wrote:
 Hi,

 I have noticed something funny lately.  I can't get google maps or yahoo
 maps to work.  It loads the page up but there is no map.

 I also noticed that on a couple other sites some java stuff is not
 working.  Instant messenger being one of them.  Also my space is acting
 weird too.

 Anybody happen to know what all these may have in common?  I did upgrade
 Seamonkey a while back but it seemed to work for a while.  I have the
 following java packages installed:

 snip
 I'm hoping someone will have a few ideas.  This is getting on my nerves.

 Thanks for the help.

 Dale

 :-)  :-)  :-)


   

Hi,

Here is a bit more info.  I opened Konqueror as a regular user and it
works fine.  I'm using Seamonkey 1.1.1.  Is anybody else having this
problem?

Thanks

Dale
:-)  :-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Seamonkey and maps

2007-03-19 Thread Patrice Bouvard
Le Mon, 19 Mar 2007 04:26:47 -0500,
Dale [EMAIL PROTECTED] a écrit :


 Hi,
 
 Here is a bit more info.  I opened Konqueror as a regular user and it
 works fine.  I'm using Seamonkey 1.1.1.  Is anybody else having this
 problem?

Could you try an alternate profile (create one!) for Seamonkey ?


-- 
Cordialement,
Patrice BOUVARD, Networks  Systems Engineer
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Seamonkey and maps

2007-03-19 Thread Dale
Patrice Bouvard wrote:
 Le Mon, 19 Mar 2007 04:26:47 -0500,
 Dale [EMAIL PROTECTED] a écrit :


   
 Hi,

 Here is a bit more info.  I opened Konqueror as a regular user and it
 works fine.  I'm using Seamonkey 1.1.1.  Is anybody else having this
 problem?
 

 Could you try an alternate profile (create one!) for Seamonkey ?


   

I didn't think about trying something like that.  I tried renaming
.mozilla and it worked fine.  I guess that does the same thing as a new
profile.  So I guess it is something in there.  Any idea what that would be?

Thanks

Dale

:D :D :D :D :D :D

-- 
www.myspace.com/-remove-me-dalek1967



Re: [gentoo-user] coda auto-login

2007-03-19 Thread Dirk Heinrichs
Am Sonntag, 18. März 2007 schrieb ext Enrico Weigelt:
 * Dirk Heinrichs [EMAIL PROTECTED] wrote:
  Am Samstag, 24. Februar 2007 schrieb ext Enrico Weigelt:
   But: there's another problem. Every user has to log into coda
   by its own. This is bad if all user's homedirs should sit on coda.
 
  AFAIK there are PAM modules for this. Maybe not in portage, though.

 hmm. would require me to switch over to PAM.

Seems so :-)

 Or maybe I'm going to write my own distributed fs which has full
 unix semantics (via FUSE) ...

Good luck.

  Thought about AFS?

 Has no good caching an disconnected operation, no useless for me.

What's wrong with AFS caching?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgps8DlTld88a.pgp
Description: PGP signature


Re: [gentoo-user] Seamonkey and maps

2007-03-19 Thread Hans-Werner Hilse
Hi,

On Mon, 19 Mar 2007 08:02:36 -0500 Dale [EMAIL PROTECTED] wrote:

 I didn't think about trying something like that.  I tried renaming
 .mozilla and it worked fine.  I guess that does the same thing as a
 new profile.  So I guess it is something in there.  Any idea what
 that would be?

From the behaviour you described I guess it's rather JavaScript support
(it's just a check box in the settings dialogue to enable/disable it)
than Java.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql start issues

2007-03-19 Thread Francisco Rivas

Hi...

last month i had the same problem I was see a lot of posts in forums, this
solution works for me: create a sym link yo mysqd.sock, it's something like
this

ln -vs /tmp/mysql.sock /var/run/mysql/mysql.sock


for mysql 5.0.26-r2, that's work for me.

It's important see the my.cnf at the line where mysql put the mysql.sock
in my case :

[client]
password  = **
port= 3306
socket= /var/run/mysqld/mysqld.sock

$ls -l /tmp/mysql.sock
   /tmp/mysql.sock - /var/run/mysqld/mysqld.sock

I hope that's work for you too.

NOTE : Please excuse me for my english it's no so good, but I need to help
everyone that i can...that make a better world.. Peace..:D

On 3/19/07, Richard Torres [EMAIL PROTECTED] wrote:


OK.  I Unmerged and re-emerged mysql.

# /etc/init.d/mysql stop
# emerge -C mysql
# tar cjpvf ~/mysql.$(date +%FT%H-%M).tar.bz2 /etc/mysql/my.cnf
/var/lib/mysql/
# ls -l ~/mysql.*
# rm -rf /var/lib/mysql/ /var/log/mysql

# emerge -av dev-db/mysql

It completed installing/compiling then..

# emerge --config =dev-db/mysql-5.0.32

Configuring pkg...

* MySQL DATADIR is /var/lib/mysql
* Previous datadir found, it's YOUR job to change
* ownership and take care of it
* Creating the mysql database and setting proper
* permissions on it ...
* Insert a password for the mysql 'root' user
* Avoid ['\_%] characters in the password

* Retype the password


!!! ERROR: dev-db/mysql-5.0.32 failed.
Call stack:
  ebuild.sh, line 1527:   Called pkg_config
  ebuild.sh, line 1255:   Called mysql_pkg_config
  mysql.eclass, line 805:   Called die

!!! MySQL databases not installed
!!! If you need support, post the topmost build error, and the call stack
if
relevant.

# /etc/init.d/mysql start
* Starting mysql...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0)

Any ideas?

-Original Message-
From: Dan Farrell [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 18, 2007 9:08 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mysql start issues

On Sat, 17 Mar 2007 13:11:54 -0500
Richard Torres [EMAIL PROTECTED] wrote:

 Hello,

 I'm having a trouble starting mysql since I emerged the newer version.
 'mysqld.sock' doesn't exist and the logs aren't much help. Any help is
 greatly appreciated.



 -Richard



 # mysql

 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
 '/var/run/mysqld/mysqld.sock' (2)



 # /etc/init.d/mysql start

  * Starting mysql...

  * Starting mysql (/etc/mysql/my.cnf)

  * MySQL NOT started (0)

I had the same problem and my solution was found at :
http://www.gentoo.org/doc/en/mysql-upgrading.xml
.but I never did get my password-encoded columns back.

good luck!
--
gentoo-user@gentoo.org mailing list

--
gentoo-user@gentoo.org mailing list





--
['Cause without love I won't survive, I love you]. I

Francisco Rivas
2.6.19-gentoo-r5 x86
udev v087 gnome 2.16.2
xorg-x11-7.1 hotplug v20040923-r2
e-mail : [EMAIL PROTECTED]
msn : [EMAIL PROTECTED]

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/E/IT/MU d-(+)@ s++: a-- C ULSC*()+++ P+(++)+++ L++(+++)
!E--- W+++ !N* !o-(--)-- K--? !w--- !O !M !V PS@ !PE@ Y PGP t 5 X R++
tv- b DI D G e+ h- r+ y-
--END GEEK CODE BLOCK--


Re: [gentoo-user] strange apache service dependency

2007-03-19 Thread Dan Farrell
On Sun, 18 Mar 2007 18:03:32 +0100
Enrico Weigelt [EMAIL PROTECTED] wrote:

 
 I already did, had no other chance. 
 When stopping mysql kills httpd, it's an very bad bug for 
 production systems. 
 
 
 cu

FWIW, this doesn't happen to me... however I didn't see a use flag for
mysql:

 net-www/apache-2.0.58-r2  USE=apache2 ssl -debug -doc -ldap -mpm-itk
-mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker
(-selinux) -static-modules -threads
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql start issues

2007-03-19 Thread Dan Farrell
On Mon, 19 Mar 2007 01:22:07 -0500
Richard Torres [EMAIL PROTECTED] wrote:

 Configuring pkg...
 
  * MySQL DATADIR is /var/lib/mysql
  * Previous datadir found, it's YOUR job to change
  * ownership and take care of it
  * Creating the mysql database and setting proper
  * permissions on it ...
  * Insert a password for the mysql 'root' user
  * Avoid ['\_%] characters in the password
 
  * Retype the password
 
 
 !!! ERROR: dev-db/mysql-5.0.32 failed.
 Call stack:
   ebuild.sh, line 1527:   Called pkg_config
   ebuild.sh, line 1255:   Called mysql_pkg_config
   mysql.eclass, line 805:   Called die

 Any ideas?

I am by no means a mysql expert, but the passwords got deleted, didn't
they?

 # rm -rf /var/lib/mysql/ /var/log/mysql
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Seamonkey and maps

2007-03-19 Thread Dale
Hans-Werner Hilse wrote:
 Hi,

 On Mon, 19 Mar 2007 08:02:36 -0500 Dale [EMAIL PROTECTED] wrote:

   
 I didn't think about trying something like that.  I tried renaming
 .mozilla and it worked fine.  I guess that does the same thing as a
 new profile.  So I guess it is something in there.  Any idea what
 that would be?
 

 From the behaviour you described I guess it's rather JavaScript support
 (it's just a check box in the settings dialogue to enable/disable it)
 than Java.

 -hwh
   

I don't know how this happened but you gave me a good clue.  If you go
to preferences and then expand advanced and select scripts and plug-ins,
make sure the change images box is checked.

Silly how that works huh?  LOL

Thanks

Dale

:-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967



Re: [gentoo-user] OpenVPN and DHCP

2007-03-19 Thread Thomas Rösner

Hi,

Patrick Holthaus schrieb:

Hello everybody!

Maybe this is a bit Off-Topic here, but maybe some of you like to help me 
anyway.


I am trying to build a VPN network where the clients get their IP adresses 
from a local DHCP server (because it should notify the nameserver of the 
clients). The VPN should have its own adress pool 10.8.0.* while the 
unsecured clients in the server's LAN should get an 192.168.1.* adress.


I got the VPN working but the clients do appearently not get their IP from the 
DHCP server but some random IP from the OpenVPN server. (The DHCP server only 
assignes 10.8.0.100-200 adresses but the clients get .8 or .10 for example)


Now my questions are:
Do I need bridging for making the DHCP server work in the VPN?
  


Yes. DHCP is an ethernet protocol. DHCP over IP wouldn't make much 
sense, would it? To use your existing DHCP Server you need OSI Layer 2 
VPN connections (TAP devices).



How should the configuration files look like?
  


Uhm, in your testing files, you try to configure IP's on a tap device? I 
think you mix the concepts up here. If you have a tap tunnel, your 
client sends ethernet frames to the server, who, when properly bridged, 
sends them to a local LAN, and vice versa. No IP involved on that level, 
you could use IPX or SCTP if you wanted. The only IP you mention in the 
config file is that of the server.


But then a client could connect and use any IP you ask? Well, yes, as in 
any LAN. You can use iptables on the bridge to filter spoofed packets 
out, though.


It's more easy and faster to stick with Layer3 vpn, though.

Regards and HTH,
   Thomas
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox fonts

2007-03-19 Thread James Colby

List members -

I am trying to run Firefox on my Gentoo laptop, and I am having
trouble with the fonts.  Everything else in my KDE desktop looks fine
except for Firefox.  I believe that it has something to do Firefox
using GTK instead of QT.  From my research I have found that one way
to fix it is to adjust the GTK Styles and Fonts options in the KDE
control center.  I do not have that option available to me.  I
installed KDE using the split ebuilds and emerging the
kdebase-startkde package.  Is there a use flag or a separate package
that needs to be installed to get the GTK Styles and Fonts option in
Kcontrol?  Is there a config file located somewhere that I can edit to
change the fonts in GTK apps?

Thanks,
James
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox fonts

2007-03-19 Thread Patrick Holthaus
Hey!

 Is there a use flag or a separate package
 that needs to be installed to get the GTK Styles and Fonts option in
 Kcontrol?  Is there a config file located somewhere that I can edit to
 change the fonts in GTK apps?

There is a seperate package that is called x11-themes/gtk-engines-qt. It 
makes the Kontrol Center entry visible (Appearance  Themes).


pgpPxLkWB2exv.pgp
Description: PGP signature


RE: [gentoo-user] mysql start issues

2007-03-19 Thread Richard Torres
Yes. And I re-entered one at the prompts ().

-Original Message-
From: Dan Farrell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 9:05 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mysql start issues

On Mon, 19 Mar 2007 01:22:07 -0500
Richard Torres [EMAIL PROTECTED] wrote:

 Configuring pkg...
 
  * MySQL DATADIR is /var/lib/mysql
  * Previous datadir found, it's YOUR job to change
  * ownership and take care of it
  * Creating the mysql database and setting proper
  * permissions on it ...
  * Insert a password for the mysql 'root' user
  * Avoid ['\_%] characters in the password
 
  * Retype the password
 
 
 !!! ERROR: dev-db/mysql-5.0.32 failed.
 Call stack:
   ebuild.sh, line 1527:   Called pkg_config
   ebuild.sh, line 1255:   Called mysql_pkg_config
   mysql.eclass, line 805:   Called die

 Any ideas?

I am by no means a mysql expert, but the passwords got deleted, didn't
they?

 # rm -rf /var/lib/mysql/ /var/log/mysql
-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Privoxy-3.0.6 configuration file error

2007-03-19 Thread Mick
Hi All,

I just emerged net-proxy/privoxy-3.0.6 and it fails to launch, apparently 
because of the following configuration error:
=
Mar 19 22:25:59 Privoxy(b7d916b0) Info: Privoxy version 3.0.6
Mar 19 22:25:59 Privoxy(b7d916b0) Info: Program name: /usr/sbin/privoxy
Mar 19 22:25:59 Privoxy(b7d916b0) Fatal error: can't load actions 
file '/etc/privoxy/default.action': invalid line (1144): 
{+fast-redirects -block}
=

Any idea how to fix this before I go ahead and file a bug?  What does the 
previous privoxy version had in its relevant config file?

Thanks in advance.
-- 
Regards,
Mick


pgpNvCrwpGnFh.pgp
Description: PGP signature


Re: [gentoo-user] mysql start issues

2007-03-19 Thread Neil Walker

Richard Torres wrote:

Yes. And I re-entered one at the prompts ().
  


It's telling you what the problem is - the database already exists (from 
your last install). Either just ignore the error or delete 
/var/lib/mysql/mysql and run emerge --config. again.


Be lucky,

Neil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] POSTFIX mail hub configuration

2007-03-19 Thread Neal McConachie
Dan Farrell said the following:
 Hi all!  I have a central mailhub for my network and I want it to
 recieve mail for all hosts on the network.  It is the only host capable
 of actually recieving mail and so I would like anything addressed to
 *.spore.ath.cx to go to spore.ath.cx instead.  
   
Hi Dan,
I might be wrong on this, but I think this will work:

The idea is to have your mail.spore.ath.cx box process all your mail. 
If I understand you correctly, you want any mail, whether sent
internally, or received externally, to end up on this box.  So first of
all, it has to recognize that it should be the final destination for
mail addressed like that.

(a preliminary step, which it looks like you've already done, is to have
your router pass any incoming SMTP traffic to mail.spore.ath.cx)

1) mydestination =
- change it to include all the other hosts on your local network
that you want to accept mail for.
ex: mydestination = $mydomain, localhost.$mydomain, mail.$mydomain,
davey.$mydomain, foo.$mydomain

Now, that's all well and good, but it also has to know what an
acceptable user@*.spore.cth.cx is.

2) local_recipient_maps =
- this one may or may not need to be changed, I don't know enough
about it to give you any solid advice - check the documentation on this
one.  It will depend on how you're authenticating users, too...

Once those things are done, any external email that's addressed to any
of your machines should be nicely deposited on your mailserver.

The next thing to consider is mail that gets sent internally.  For that,
each of the machines on your network should use mail.$mydomain as their
relay host.  For this to work, a) the mailserver has to be willing to
relay their mail, and b) they need to know that they should relay mail
to the mailserver.

3a)(on the mailserver) mynetworks=
  - this should be set to allow your local network to relay mail
through the mailserver.  It looks like you've set it up already.

3b)(on each machine) relayhost=
- here, I'm assuming that you're using postfix to send mail on each
of your hosts.  You'll want to put in mail.$mydomain as your relay host.

Oh, and actually, you also need:
mydestination=blank on each local machine - this is assuming you want
all logs and such going to the mailserver too - I'm not sure if that's
what you want or not...  You could play around with this by allowing
localhost as a destination on each machine, and specifying
[EMAIL PROTECTED] as the log email destination, for example.

Hope that helps,
- nkm
-- 
gentoo-user@gentoo.org mailing list