Re: [gentoo-user] Anything better than procmail?

2010-06-14 Thread Neil Bothwick
On Sun, 13 Jun 2010 23:37:44 +0100, David W Noon wrote:

 Dovecot will store them where you tell it to. You could have easily
 stored them all in a single directory like /var/virtual/mail/user, or
 even used a hashed directory scheme (which might be desirable for very
 large installations like ISPs)...  
 
 IIRC, that means that I have to give universal write access, perhaps
 with a sticky bit, on that directory. 

You don't, you only have to make it group writeable by mail, although I
don't think that is absolutely necessary. Each user's mail is kept in a
separate subdirectory, so they only need access to their own directory.


-- 
Neil Bothwick

Don't count the days, make the days count.


signature.asc
Description: PGP signature


[gentoo-user] emerge gnome fail

2010-06-14 Thread Jose Juan Montiel
Hi, this is a resume post from...
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg102327.html

--

I follow all step of
http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml but when i
finally go to install gnome...  in the latests package (mailclient or
something similar) fail...

Alex Schuster answer:

Use emerge --resume --skipfirst to continue where you were, skipping
this package.
Or simply emerge --keep-going package, this will continue
automatically even if a package fails.
To compile the package that faileed, there is often a bug report on
bugs.gentoo.org already. Just google for the error message, and if
you're lucky, you will find the solution. If not, just open a new bug
report :)

David Abbott suggest:

check out man emerge and some useful
parameters like --skip-first,  --resume and --keep-going.

Stroller:

Have you rebooted the system yet? Don't bother about installing Gnome
until you've done so. Be absolutely minimal in your steps, if they're
not directly related to having a working system. A DE is eyecandy -
just get the disks prepared, the files copied, the kernel installed
and the bootloader going. When the system boots for the first time to
a plain console you can then log in as root and add ~jose, cron,
syslog, GUI (although you'll probably want to install GNU screen a
little bit earlier).

--

Finally i re-try emerge gnome and package that i thought that fails
was... mail-client/evolution-2.28.3.1 saying... libmail-evolution.so
is not portable. Maybe this is only a warning...

i'll use emerge --keep-going gnome and be patient to compilation
finish... and libmail-evolution.so is not portable apear varios times
from diferent .la and finally go to next package... and compilation
finish successful.

This night i'll finish this steps...
http://www.gentoo.org/doc/es/gnome-config.xml

Thanks all for anwers.


-- 
This is your badness level.
It's unusually high for someone your size.
We have to fix that.



Re: [gentoo-user] emerge gnome fail

2010-06-14 Thread Jose Juan Montiel
 Please don't hijack threads. Previous discussion  explanation:

 http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg71515.html


Sorry i'll use icedove button reply list, and changed title (i tought
that this create a new message).

Sorry. I'll write a new post with resume of answers.

Thanks.

-- 
This is your badness level.
It's unusually high for someone your size.
We have to fix that.



Re: [gentoo-user] emerge gnome fail

2010-06-14 Thread Peter Humphrey
On Monday 14 June 2010 09:43:05 Jose Juan Montiel wrote:

 i'll use icedove button reply list, and changed title (i tought that
 this create a new message).

I don't know what icedove is, but what you need is not to reply to 
anything but to start a new message. Changing titles does not start a 
new thread, nor should it. Ask yourself: what is the difference between a 
/new/ message and a /reply/ to another message?

You should be able just to click on the list address in any email from 
the list; that will start a new thread.

-- 
Rgds
Peter.



Re: [gentoo-user] emerge gnome fail

2010-06-14 Thread Jose Juan Montiel
Hi,

 but what you need is not to reply to
 anything but to start a new message. Changing titles does not start a
 new thread, nor should it. Ask yourself: what is the difference between a
 /new/ message and a /reply/ to another message?

 You should be able just to click on the list address in any email from
 the list; that will start a new thread.

Thanks, now i know this.

The problem was reply put this meta...

To: gentoo-user@lists.gentoo.org
Subject: emerge gnome fail
References: 4c1352f8.4050...@jaftan.com.au
hv10i3$lt...@dough.gmane.org 4c142cc6.4020...@jaftan.com.au
hv302u$o6...@dough.gmane.org
In-Reply-To: hv302u$o6...@dough.gmane.org

And as i see now, in [1] and [2] the tag In-Reply-To do the magic...

Thanks and sorry again for hijack threads.

Thanks.

[1] http://cr.yp.to/immhf/thread.html
[2] http://www.faqs.org/rfcs/rfc822.html

-- 
This is your badness level.
It's unusually high for someone your size.
We have to fix that.



Re: [gentoo-user] emerge gnome fail

2010-06-14 Thread Peter Humphrey
On Monday 14 June 2010 10:11:19 Jose Juan Montiel wrote:

 Thanks, now i know this.

We all have to start somewhere - good luck!

-- 
Rgds
Peter.



Re: [gentoo-user] Anything better than procmail?

2010-06-14 Thread Tanstaafl
On 2010-06-13 6:37 PM, David W Noon wrote:
 On Sun, 13 Jun 2010 20:20:02 +0200, Tanstaafl wrote about Re:
 [gentoo-user] Anything better than procmail?:
 
 On 2010-06-12 5:17 PM, David W Noon wrote:
 I wanted the messages to be stored in a single, dedicated
 logical volume in my DASD farm.  Dovecot always stored them in
 each user's ~/Mail/ directory, so they were all over the /home
 L.V.

 Dovecot will store them where you tell it to. You could have
 easily stored them all in a single directory like
 /var/virtual/mail/user, or even used a hashed directory scheme
 (which might be desirable for very large installations like
 ISPs)...

 IIRC, that means that I have to give universal write access, perhaps 
 with a sticky bit, on that directory.

Don't be absurd. Yanrc (you are not remembering correctly). No sane
software would require that, much less mail server software.

 The database approach makes much more sense from a security point of 
 view,

Ridiculous...

 as nobody accesses the filesystem directly, except the database 
 manager.

And in the case of dc, nobody accesses the mail store except the mail
user you designated, and with only enough permissions to get the job
done and no more.

 Storing mail in a database sounds interesting, but it *will*
 introduce a very noticeable performance hit, there is simply no way
 around it...

 Actually, it doesn't.

Actually, it does.

You may be correct for a mail system with only a few low volume users,
but on a real mail server, with many hundreds or thousands of users
(many of which are heavy/power users), there is no way a DB could
compete with a filesystem.

Now, I'm not saying it wouldn't work - even reasonably well - I'm just
saying there *would* be a performance hit, and the resource requirements
would be greater as well.

 But this is Gentoo. We get new releases when the Gentoo dev's allow
 the new package through.

But this is gentoo - you can write your own ebuild, right? ;) j/k, I get
that answer too often, I just couldn't resist.

That said, thankfully dc is reasonably well supported in gentoo...

That said... does anyone know of a repo that provides good quality up to
date builds of dovecot - maybe even including the 2.0 betas?

 Sieve is also integrated into dbmail.

 And dovecot... and 2.0 will have even better integration.

 But I have that now. ... :-)

I know, but your words suggested that it wasn't integrated into dc, so I
was just pointing out yet another incorrect assumption on your part.

 You sound like a Microsoft zealot from the 1990's, where the next 
 release of your favourite product will have every feature imaginable
 -- and totally debugged too!

? no need for insults, asshole - I could say the same thing about how
you are praising your dbmail setup.

I'm just pointing out your apparently bad info on dovecot...

Oh - and procmail sucks balls...



Re: [gentoo-user] Anything better than procmail?

2010-06-14 Thread Neil Bothwick
On Mon, 14 Jun 2010 07:15:43 -0400, Tanstaafl wrote:

 That said... does anyone know of a repo that provides good quality up to
 date builds of dovecot - maybe even including the 2.0 betas?

How about the portage tree, which goes up to 2.0 bets 5?


-- 
Neil Bothwick

To most people solutions mean finding the answers. But to chemists
solutions are things that are still all mixed up.


signature.asc
Description: PGP signature


Re: [gentoo-user] Anything better than procmail?

2010-06-14 Thread Tanstaafl
On 2010-06-14 9:09 AM, Neil Bothwick wrote:
 On Mon, 14 Jun 2010 07:15:43 -0400, Tanstaafl wrote:

 That said... does anyone know of a repo that provides good quality
 up to date builds of dovecot - maybe even including the 2.0 betas?

 How about the portage tree, which goes up to 2.0 bets 5?

Cool... I didn't check before posting, but I do remember that it lagged
quite a bit at one time not too long ago.

Glad to see it is mostly keeping up (beta6 was only released a few days
ago, so no surprise it isn't there yet).

Thanks Neil...



[gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Helmut Jarausch
Hi,

due to a disk crash I've lost my root partition.
Unfortunately, the backup version is 4 weeks old.
But my /usr partition is up-to-date and I have
binary build-pkgs.
What's the fastest way to restore the portage-relevant
data on the root partition?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Volker Armin Hemmann
On Montag 14 Juni 2010, Helmut Jarausch wrote:
 Hi,
 
 due to a disk crash I've lost my root partition.
 Unfortunately, the backup version is 4 weeks old.
 But my /usr partition is up-to-date and I have
 binary build-pkgs.
 What's the fastest way to restore the portage-relevant
 data on the root partition?
 
 Many thanks for a hint,
 Helmut.

if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and 
install the packages hit. 



Re: [gentoo-user] replacement for pdftk

2010-06-14 Thread Johám-Luís Miguéns Vila
Dan Johansson dan.johans...@dmj.nu writes:

 After a recent gcc upgrade (4.3.4 - 4.4.3-r2) on an amd64, pdftk won't 
 compile anymore. Although I like the pdtk I'm looking for a replacement as 
 pdft is no more maintained (last release November 28, 2006). 
 Any suggestions for a good command line tool to manage PDFs like pdftk (split 
 (burst) a PDF, combine two or more PDFs, Rotate PDFs and so on)?

As P. Webb, said, for the trouble with pdftk, search / file a bug at
b.g.o.

As for alternatives, pdfjam fits my needs...

* app-text/pdfjam
gentoo:  1.20 1.20-r1 1.21(~) 2.01(~) 2.05(~) {:0} 
installed:   2.05* {:0} 
Description: pdfnup, pdfjoin and pdf90
Homepage:http://www.warwick.ac.uk/go/pdfjam
License: GPL-2
Installed time:  Sun May 09 01:04:16 CEST 2010
Use flags:   Build Options: -trace
From repositories:   gentoo
Installed using: paludis-0.46.0

-- 
When a man steals your wife, there is no better revenge than to let him
keep her.
-- Sacha Guitry
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert



Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Helmut Jarausch
On 14 Jun, Volker Armin Hemmann wrote:
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
 Hi,
 
 due to a disk crash I've lost my root partition.
 Unfortunately, the backup version is 4 weeks old.
 But my /usr partition is up-to-date and I have
 binary build-pkgs.
 What's the fastest way to restore the portage-relevant
 data on the root partition?
 
 Many thanks for a hint,
 Helmut.
 
 if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and 
 install the packages hit. 

Thanks, but unfortunately /var was on the root partition.

So, I have to  emerge -k --update @world @system . 

Helmut.




Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Volker Armin Hemmann
On Montag 14 Juni 2010, Helmut Jarausch wrote:
 On 14 Jun, Volker Armin Hemmann wrote:
  On Montag 14 Juni 2010, Helmut Jarausch wrote:
  Hi,
  
  due to a disk crash I've lost my root partition.
  Unfortunately, the backup version is 4 weeks old.
  But my /usr partition is up-to-date and I have
  binary build-pkgs.
  What's the fastest way to restore the portage-relevant
  data on the root partition?
  
  Many thanks for a hint,
  Helmut.
  
  if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and
  install the packages hit.
 
 Thanks, but unfortunately /var was on the root partition.
 
 So, I have to  emerge -k --update @world @system .
 
 Helmut.

except that without /var portage does now know what @system or @world is made 
off.



Re: [gentoo-user] root partition lost - backup too old - please help

2010-06-14 Thread Dru Kargin
On 06/14/10 12:19, Volker Armin Hemmann wrote:
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
   
 On 14 Jun, Volker Armin Hemmann wrote:
 
 On Montag 14 Juni 2010, Helmut Jarausch wrote:
   
 Hi,

 due to a disk crash I've lost my root partition.
 Unfortunately, the backup version is 4 weeks old.
 But my /usr partition is up-to-date and I have
 binary build-pkgs.
 What's the fastest way to restore the portage-relevant
 data on the root partition?

 Many thanks for a hint,
 Helmut.
 
 if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and
 install the packages hit.
   
 Thanks, but unfortunately /var was on the root partition.

 So, I have to  emerge -k --update @world @system .

 Helmut.
 
 except that without /var portage does now know what @system or @world is made 
 off.

   
If you have a 4-week old version of /var/db, you can probably use that
for the sake of rebuilding/unpackaging system and world.  Hopefully,
system and world won't have changed so much in four weeks that a
ground-up rebuild will be more efficient.

-Dru



[gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
My personal workstation is a dual-boot setup with Gentoo and Windows XP.
A long time ago, I set up Samba on another computer on my network to
provide extra hard drive space to our Windows installations.  They used
to work, but we haven't used them in some time.  I tried to use it today
and it didn't work.  When I try to connect to the samba share from my
linux install, I get this:

mich...@camille ~ $ smbclient //carter//home
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
mich...@camille ~ $ smbclient //carter//michael 
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

(The host name is carter, and I didn't understand what the second part
should be.)
Also, I didn't know if michael's password meant my password on my
local box, my password on the remote box, or some password I set up for
Samba forever ago...

Here's my /etc/samba/smb.conf file:

carter samba # cat smb.conf
[global]
   workgroup = MYGROUP
   server string = Samba Server %v
   printcap name = cups
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
   hosts allow = 192.168.1. 127.
   map to guest = bad user
   security = user
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no 

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = michael amy
   path = /samba

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = @adm root
   guest ok = yes

[tmp]
   comment = Temporary file space
   path = /samba
   read only = no
   public = yes
   valid users = michael amy

I'm sure I've screwed something up somewhere, I'm just not sure what it
is.





Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Stroller


On 14 Jun 2010, at 21:41, Michael Sullivan wrote:

... When I try to connect to the samba share from my
linux install, I get this:

mich...@camille ~ $ smbclient //carter//home
Enter michael's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
mich...@camille ~ $ smbclient //carter//michael
Enter michael's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

(The host name is carter, and I didn't understand what the second part
should be.)


If you're referring to the  //first/second syntax, then the first part  
is the computer name, the second part the share name.



Also, I didn't know if michael's password meant my password on my
local box, my password on the remote box, or some password I set up  
for

Samba forever ago...


The second / third option.

Each user on the Samba server has a password, but it isn't the same as  
their system password. Log on to the Samba server (i.e. `ssh carter`)  
and run smbpasswd (possibly `sudo smbpasswd -U michael`).



Here's my /etc/samba/smb.conf file:
...
  hosts allow = 192.168.1. 127.


If it's been some time since this system was used, are you still using  
the 192.168.1.x subnet? If your ISP sent you a new router, you might  
now be on 192.168.0.x. IMO change this to:

   hosts allow = 192.168. 127.

Also run `smbtree` (works without a password).

I appreciate that Samba tends not to make any sense when you're  
inexperienced, but there ought to be lots of troubleshooting guides  
out there. Google troubleshooting samba, follow through the steps  
suggested by 2 or 3 and report back  tell us what you've done.


Stroller.
 



Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
On Mon, 2010-06-14 at 22:43 +0100, Stroller wrote:
 If it's been some time since this system was used, are you still using  
 the 192.168.1.x subnet? If your ISP sent you a new router, you might  
 now be on 192.168.0.x. IMO change this to:
 hosts allow = 192.168. 127.
 
I bought a brand new Linksys Wireless-N router a few months ago.  I
configure it to start addresses after 192.168.1.1 because that's what
we've always used, it's what all the computers on our LAN are set up
for, and I see no reason to change it.
 Also run `smbtree` (works without a password).
 
 I appreciate that Samba tends not to make any sense when you're  
 inexperienced, but there ought to be lots of troubleshooting guides  
 out there. Google troubleshooting samba, follow through the steps  
 suggested by 2 or 3 and report back  tell us what you've done.
 
 Stroller.
   

I actually started today at
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html

carter ~ # testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section [homes]
Processing section [printers]
Processing section [print$]
Processing section [tmp]
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
hosts allow = 192.168.1., 127.

[homes]
comment = Home Directories
path = /samba
valid users = michael, amy
read only = No
browseable = No
browsable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
browsable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
guest ok = Yes

[tmp]
comment = Temporary file space
path = /samba
valid users = michael, amy
read only = No
guest ok = Yes

mich...@camille ~ $ smbclient -L carter  
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Sharename   Type  Comment
-     ---
print$  Disk  
tmp Disk  Temporary file space
IPC$IPC   IPC Service (Samba Server 3.4.6)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Server   Comment
----
CARTER   Samba Server 3.4.6

WorkgroupMaster
----
MYGROUP  CARTER

mich...@camille ~ $ smbclient  //carter/tmp   
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_LOGON_FAILURE


Then I went to the Samba Checklist:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html

1: Run testparm; already did that.
2: Ping test:

mich...@camille ~ $ ping carter
PING carter.espersunited.com (192.168.1.2) 56(84) bytes of data.
64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=1 ttl=64
time=0.157 ms
64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=2 ttl=64
time=0.145 ms
^C
--- carter.espersunited.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.145/0.151/0.157/0.006 ms

carter ~ # ping camille
PING camille.espersunited.com (192.168.1.3) 56(84) bytes of data.
64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=1 ttl=64
time=0.158 ms
64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=2 ttl=64
time=0.155 ms
^C
--- camille.espersunited.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.155/0.156/0.158/0.012 ms

3: carter ~ # smbclient -L carter   
Enter root's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Sharename   Type  Comment
-     ---
print$  Disk  
tmp Disk  Temporary file space
IPC$IPC   IPC Service (Samba Server 3.4.6)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Server   Comment
----
CARTER   Samba Server 3.4.6

WorkgroupMaster
----
MYGROUP  CARTER

4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__
querying __SAMBA__ on 192.168.1.255
192.168.1.2 __SAMBA__00

4:  carter ~ # nmblookup -B camille *
querying xorg.conf.new on 192.168.1.3
name_query failed to find name xorg.conf.new

*I'm not sure what finding xorg.conf.new has 

Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Alex Schuster
Michael Sullivan writes:

 4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__
 querying __SAMBA__ on 192.168.1.255
 192.168.1.2 __SAMBA__00
 
 4:  carter ~ # nmblookup -B camille *
 querying xorg.conf.new on 192.168.1.3
 name_query failed to find name xorg.conf.new
 
 *I'm not sure what finding xorg.conf.new has to do with Samba, but it's
 on the checklist...

The shell replaces the * by files in your current directory. I do not know 
about nmblookup, but I gues you have to escape the *. That is, use '*' or 
\* instead.

Wonko



Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
On Tue, 2010-06-15 at 02:12 +0200, Alex Schuster wrote:
 Michael Sullivan writes:
 
  4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__
  querying __SAMBA__ on 192.168.1.255
  192.168.1.2 __SAMBA__00
  
  4:  carter ~ # nmblookup -B camille *
  querying xorg.conf.new on 192.168.1.3
  name_query failed to find name xorg.conf.new
  
  *I'm not sure what finding xorg.conf.new has to do with Samba, but it's
  on the checklist...
 
 The shell replaces the * by files in your current directory. I do not know 
 about nmblookup, but I gues you have to escape the *. That is, use '*' or 
 \* instead.
 
   Wonko
 

carter ~ # nmblookup -B camille '*'
querying * on 192.168.1.3
name_query failed to find name *

What is this command looking for?