[gentoo-user] mail server

2009-01-24 Thread laurent

Hi Gentoos,

I want to install an e-mail server solution, based on postfix.
I'm reading this how-to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

From a level simple to complexe I would like a solution that is not to 
hard at first to have time, to understand the basics, and have it 
working, and that could then be easy to extend to a more complex 
situation like multi domain hosting. I first just need my apache to send 
mails via mod_php and mod_neko.


Thanks for advices.
Laurent



Re: [gentoo-user] mail server

2009-01-25 Thread laurent


I will keep that in mind, the full MTA will wait a little a bit then.
Thank you for the smtp servers ;)

L


Mike Kazantsev a écrit :

On Sat, 24 Jan 2009 19:54:05 +0100
laurent laur...@logiquefloue.org wrote:

  

I first just need my apache to send mails via mod_php and mod_neko.



I'd also suggest using lite smtp client, like msmtp, which I find a
bit more feature-packed and stable than ssmtp, while being just as easy
to set up.

And if you're still going to choose full-fledged MTA, keep in mind
that you'll need a non-firewalled connection (at least to some ports)
and reverse DNS record - so that if you type host Your_IP (or
dig -x IP) you'll get the correct domain name, otherwise nearly
every mail service will consider you to be anonymous spammer and won't
deliver any mail from your MTA.

  





Re: [gentoo-user] mail server

2009-01-25 Thread laurent


Now I see more what ssmtp and msmtp are about so I have some questions.
Is it possible to use an existing smtp port with them and be able to 
change the sender e-mail from my apache application ?


Like it's transparently sending e-mail from my existing smtp account 
with my authentification but with someone else e-mail.


For MTA: it involves installing a DNS server ?

thx
L

Mike Kazantsev a écrit :

On Sat, 24 Jan 2009 19:54:05 +0100
laurent laur...@logiquefloue.org wrote:

  

I first just need my apache to send mails via mod_php and mod_neko.



I'd also suggest using lite smtp client, like msmtp, which I find a
bit more feature-packed and stable than ssmtp, while being just as easy
to set up.

And if you're still going to choose full-fledged MTA, keep in mind
that you'll need a non-firewalled connection (at least to some ports)
and reverse DNS record - so that if you type host Your_IP (or
dig -x IP) you'll get the correct domain name, otherwise nearly
every mail service will consider you to be anonymous spammer and won't
deliver any mail from your MTA.

  





Re: [gentoo-user] mail server

2009-01-26 Thread laurent

Mike Kazantsev a écrit :

On Sun, 25 Jan 2009 18:11:04 +0100
laurent laur...@logiquefloue.org wrote:

  

Now I see more what ssmtp and msmtp are about so I have some questions.
Is it possible to use an existing smtp port with them and be able to 
change the sender e-mail from my apache application ?


Like it's transparently sending e-mail from my existing smtp account 
with my authentification but with someone else e-mail.



Yes, basically you can just invoke 'sendmail b...@domain.etc' and type
message with all the headers you need - 'to:', 'from:', 'subject:' etc
to stdin.
Of course, every language has some wrappers to simplify that process.
  
I installed and configured postfix. It sends mail localy and on external 
mailbox. !! I'm glad !!


dig -x myip

answer back my domain name. I don't know if I am being behinde a 
firewall. It's a dedicated server on a domain own by my host service.

I don't get e-mail when replyed from external mailbox.

security-wise: Is there any stuff to do, not by default, to secure my 
smtp server to not be used from outside ?
 
  

For MTA: it involves installing a DNS server ?



Not really.
Your IP belongs to an ISP, and it's DNS server has the authority for
that address. So, if anyone (e.g. mail server) is asking any (other) DNS
server who's that guy?, that DNS will go to your provider's DNS and
ask so, it's one of yours, who is it? and it'll be in position to
either return some valid name (that's rarely free), delegate the task
to some other DNS (mostly the case with IP ranges, bought by some
organizations) or just shrug, which is often the case with common users.

So the answer is likely - it won't matter, you won't get a name, but
that's entirely up to your ISP.

That said, there are always possibilities to use the services of (or set
up) some relay server or buy dedicated IP and tunnel traffic through
it, but that's quite beyond the scope of question, I believe.
  

Tunneling traffic, I'll keep that for other spare time in the year :)

L




Re: [gentoo-user] mail server

2009-01-26 Thread laurent

Mike Kazantsev a écrit :

On Mon, 26 Jan 2009 19:09:03 +0100
laurent laur...@logiquefloue.org wrote:

  

dig -x myip

answer back my domain name. I don't know if I am being behinde a 
firewall. It's a dedicated server on a domain own by my host service.



That's perfectly normal and fine for hosting, I was referring to
connection at home, of course.

  

I don't get e-mail when replyed from external mailbox.



Probably means there's something wrong with your configuration, or
(considering previous post) just wrong message headers.

  

I sent mails using mutt. the from e-mail is like: laur...@host.domain.com
Because laur...@domain.com would refer to me on any dedicated server 
from that domain.

Do you think it can come from that configuration ?

Thank you Mike ;)
L



[gentoo-user] MonetBD on portage?

2009-02-23 Thread laurent

Hi,

I'm interested in trying monetDB, and it's not clear that it never has 
been on the portage.
It's not there right now but when looking on google it's seems to have 
in the past.


I should just download the source from monetDB on their website and 
compile or is there something to be done using the portage ?


thx
L



[gentoo-user] cleaning disfiles

2009-03-24 Thread laurent

Hi,

I need to clean disfiles or move it to /home/var/ftp/disfiles.

For first is there a tool to emerge that will manage the distfiles.

If not I was thinking copy to my home folder and symlink 
/var/ftp/distfiles to it.


Is the second safe with just a symlink or should I change a PATH somewhere?

I should do both solution.

thank you
Laurent



[gentoo-user] which hardened

2009-03-24 Thread laurent

Hi,

I see that I should move to hardened gentoo for a better server profile.

Then eselect propose me 3 hardened:
hardened/amd64
hardened/amd64/multilib
hardened/linux/amd64

which one should I choose ?

L



Re: [gentoo-user] cleaning disfiles

2009-03-24 Thread laurent

Dale a écrit :

laurent wrote:
  

Hi,

I need to clean disfiles or move it to /home/var/ftp/disfiles.

For first is there a tool to emerge that will manage the distfiles.

If not I was thinking copy to my home folder and symlink
/var/ftp/distfiles to it.

Is the second safe with just a symlink or should I change a PATH
somewhere?

I should do both solution.

thank you
Laurent






If you need to clean out unneeded tarballs in distfiles, you can use
eclean.  It's part of gentoolkit.  eclean-dist is the command you are
looking for.  eclean-dist -h for more info.

If you want to move the distfiles directory, you can change the path in
make.conf and tell it where the new location is.  You will have to copy
the files from the old location to the new location tho.

Hope that helps.

Dale

:-)  :-) 




  

Yes it help, got 50 M clean with eclean.

I looked in make.conf but did not see any 'DISTFILES_PATH'. What should 
I add?

my make.conf:

# These settings were set by the catalyst build script that 
automatically built$

# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=-O2 -pipe -march=k8
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/ 
ftp://mirror.ovh.net/ge$
USE=-X mmx multilib netboot sse sse2 -gtk -sdl apache2 mysql pam ssl 
sasl xml $

FEATURES=-sandbox collision-protect ccache parallel-fetch
PORTDIR_OVERLAY=/usr/local/portage

source /home/portage/local/layman/make.conf
PORTAGE_TMPDIR=/home/portage

Thanks ;)
Laurent



Re: [gentoo-user] cleaning disfiles

2009-03-25 Thread laurent

Dale a écrit :

Alan McKinnon wrote:
  

On Tuesday 24 March 2009 23:37:50 laurent wrote:
  


Hi,

I need to clean disfiles or move it to /home/var/ftp/disfiles.

For first is there a tool to emerge that will manage the distfiles.

  

eclean - part of app-portage/gentoolkit

  


If not I was thinking copy to my home folder and symlink
/var/ftp/distfiles to it.

Is the second safe with just a symlink or should I change a PATH somewhere?

  

Change DISTDIR in /etc/make.conf to point to the new location

But this is not a good idea, as distfiles will be owned by root or portage and 
it's in your home directory owned by you.


Rather leave distfiles where it is, and create a symlink in ~ that points to 
distfiles. I can't imagine how your scheme would benefit you in any way.


  


I should do both solution.

thank you
Laurent

  
  



I think he is running our of disk space and trying to move it to a
partition that has more space.  He didn't say that but I think that is
the issue at hand.

I do suspect that this could cause . . . . issues in the long run. 
Permissions is a good one to mention.


Dale

:-)  :-) 




  
yes it's exactly that, I did not choose the install partitionning. So I 
moved portage, www and now disfiles from /var to /home/var.
For the other ones I did add a symlink also. Should I do that for 
disfiles? What do you mean by permissions issues ??


Another question about emerge -v world, I go a empty manifest on layman. 
What should I do to fix that ?


Thanks!
Laurent



Re: [gentoo-user] cleaning disfiles

2009-03-25 Thread laurent

Alan McKinnon a écrit :

On Tuesday 24 March 2009 23:37:50 laurent wrote:
  

Hi,

I need to clean disfiles or move it to /home/var/ftp/disfiles.

For first is there a tool to emerge that will manage the distfiles.



eclean - part of app-portage/gentoolkit

  

If not I was thinking copy to my home folder and symlink
/var/ftp/distfiles to it.

Is the second safe with just a symlink or should I change a PATH somewhere?



Change DISTDIR in /etc/make.conf to point to the new location

But this is not a good idea, as distfiles will be owned by root or portage and 
it's in your home directory owned by you.
  


drwxr-xr-x 14 root root  4096 mar 24 20:19 home

looks owned by root.
Rather leave distfiles where it is, and create a symlink in ~ that points to 
distfiles. I can't imagine how your scheme would benefit you in any way.


  

I should do both solution.

thank you
Laurent



  





Re: [gentoo-user] cleaning disfiles

2009-03-25 Thread laurent

Alan McKinnon a écrit :

On Wednesday 25 March 2009 14:03:34 laurent wrote:
  

But this is not a good idea, as distfiles will be owned by root or
portage and it's in your home directory owned by you.
 
  

drwxr-xr-x 14 root root  4096 mar 24 20:19 home

looks owned by root.



/home is not your home directory.

Out of the box emerge runs as the portage user, which will not have write 
permission to your home directory unless you modify the ownership/permissions.


But your real problem is a stupid original disk layout. Why don;t you decide 
to fix that instead of getting into cute tricks with symlinks?


  
Because I let my server host install it with their default disk layout. 
When I realise it looks pretty un-servish I had already installed http 
server with client website on it.
The simplest for me was to move folders because I did not find any 'how 
to' that say it would be simple de repartition with keeping your data on.


Laurent



[gentoo-user] Manifest is empty

2009-03-25 Thread laurent

Hi,

 Verifying ebuild manifests
!!! Manifest is empty: 
'/home/portage/local/layman/ovh-overlay/app-admin/rtm/Manifest'



I tried
ebuild layman.ebuild manifest
Appending / to PORTDIR_OVERLAY...
'/root/layman.ebuild' does not exist.

What should I do ? It's blocking my emarge world grrr
thanks
Laurent



Re: [gentoo-user] Manifest is empty

2009-03-25 Thread laurent

Alan McKinnon a écrit :

On Wednesday 25 March 2009 15:22:39 laurent wrote:
  

Hi,

  Verifying ebuild manifests

!!! Manifest is empty:
'/home/portage/local/layman/ovh-overlay/app-admin/rtm/Manifest'


I tried
ebuild layman.ebuild manifest
Appending / to PORTDIR_OVERLAY...
'/root/layman.ebuild' does not exist.

What should I do ? It's blocking my emarge world grrr
thanks
Laurent



If you read the error messages, you will see that you are trying to manifest a 
file called layman.ebuild and there is no such file.


You want to manifest an actual ebuild file in /home/portage/local/layman/ovh-
overlay/app-admin/rtm/

It's all in the man page


  

yes! Got it working now. Thank you
L



Re: [gentoo-user] cleaning disfiles

2009-03-26 Thread laurent

Mike Kazantsev a écrit :

On Wed, 25 Mar 2009 13:33:58 +0100
laurent laur...@logiquefloue.org wrote:

  
But your real problem is a stupid original disk layout. Why don;t you decide 
to fix that instead of getting into cute tricks with symlinks?


  
Because I let my server host install it with their default disk layout. 
When I realise it looks pretty un-servish I had already installed http 
server with client website on it.
The simplest for me was to move folders because I did not find any 'how 
to' that say it would be simple de repartition with keeping your data on.



It should be pretty easy to rsync /home to some other (temporary)
place, 'pvcreate /dev/home-whatever' and lvcreate, say, a
separate vol for portage (with it's ever-growing tree/distfiles) and
for /home, leaving plenty of space to play with, should you need it
either on these partitions or to create others.

Well, LVM is just what I mean ;)

  
LVM...hm nice new word to me. And rsync too, looks good. Ok I will have 
a look when I'm safer.

Got that emerge -v world to finish ;)

I read about a tool to color the etc-update difference, can't find it 
again, if you know about it ;)

thx
Laurent.



[gentoo-user] color etc-update

2009-03-26 Thread laurent

Hi,

What should I emerge to have my etc-update colored for differencies ?

this is dead:
http://no.gentoo-wiki.com/HOWTO_etc-update

thanks
Laurent



Re: [gentoo-user] color etc-update

2009-03-26 Thread laurent

Mike Kazantsev a écrit :

On Thu, 26 Mar 2009 23:07:06 +0500
Mike Kazantsev mike_kazant...@fraggod.net wrote:

  

sed -i 's|diff_command=diff -uN %file1 %file2|diff_command=colordiff|' 
/etc/etc-update.conf



sed -i 's|diff_command=diff|diff_command=colordiff|' /etc/etc-update.conf

Oops, my bad :)

  

Sweet :)
L



Re: [gentoo-user] color etc-update

2009-03-26 Thread laurent

Mike Kazantsev a écrit :

On Thu, 26 Mar 2009 19:22:37 +0100
laurent laur...@logiquefloue.org wrote:

  

sed -i 's|diff_command=diff|diff_command=colordiff|' /etc/etc-update.conf

Oops, my bad :)

  

Sweet :)
L



Never trust one-liner fix
I bet it'd be written all over the ashes of post-apocalyptic world as
well ;)

  

I took the risk to think I did understand that one-line fixer.
The world still stands. I promess I won't do it again :)
I love etc-update now.




[gentoo-user] Block emerge world package

2009-03-26 Thread laurent

Hi,

Emerge world want to emerge dev-lang/neko 1.7.1-r1
I already have 1.8 running.

How can I tell emerge not to install that package?

Laurent

It's a beautifull news to see dev-lang/neko!! :)



Re: [gentoo-user] Block emerge world package

2009-03-26 Thread laurent

Albert Hopkins a écrit :

On Fri, 2009-03-27 at 03:37 +0100, laurent wrote:
  

Hi,

Emerge world want to emerge dev-lang/neko 1.7.1-r1
I already have 1.8 running.

How can I tell emerge not to install that package?

Laurent

It's a beautifull news to see dev-lang/neko!! :)




Hard for me to say since I don't have a dev-lang/neko in my portage
tree.  Is this part of an overlay?  You did not specify that it was.




  
I though it was a layman overlay, but listing them with layman -L does 
not show them.
Is there a general way to desable packages or find if they are part of 
an overlay ?





[gentoo-user] reload etc conf files

2009-03-30 Thread laurent

Hi,

I finished etc-updates with a lot of files, is there a way or even need 
to make all application reload the updated configuration files?


thx
Laurent



Re: [gentoo-user] reload etc conf files

2009-03-30 Thread laurent

Alan McKinnon a écrit :

On Monday 30 March 2009 17:20:44 Mike Kazantsev wrote:
  

On Mon, 30 Mar 2009 16:25:10 +0200

laurent laur...@logiquefloue.org wrote:


I finished etc-updates with a lot of files, is there a way or even need
to make all application reload the updated configuration files?
  

Not quite what you asked, but there's easy way to check if there are
any processes still using pre-update (non-existing now) libs:

  lsof | grep 'DEL.*lib' | cut -f 1 -d ' ' | sort -u

lsof here is sys-process/lsof (not part of the @system afaik).



He asked about config files updated via etc-update, not about libs updated via 
emerge


  
yes it was usefull, I saw around fifteen process not updated so I did a 
reboot, and it's fine :)

thanks guys
L



[gentoo-user] Postfix, courier-imap: checks if working

2009-03-31 Thread laurent

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you won't 
be able to log on to any of the services because authentication hasn't 
been configured yet, but it is wise to check if the connections 
themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is done 
later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?

Thanks
Laurent



Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-03-31 Thread laurent

Xav' a écrit :

On Tue, 31 Mar 2009 18:15:33 +0200, laurent laur...@logiquefloue.org
wrote:
  

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you won't 
be able to log on to any of the services because authentication hasn't 
been configured yet, but it is wise to check if the connections 
themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is done 
later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap protocol
and see if the server answer to the connection and with openssl s_client
for pop3s/imaps connection.

HTH.
Xavier

  

Thanks
Laurent





  


ks359684 ~ # telnet host.domain.com 25
Trying xxx.xxx.xxx.xxx...
Connected to host.domain.com.
Escape character is '^]'.
Connection closed by foreign host.

Does it means it's fine ?? :)

L




Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-03-31 Thread laurent

laurent a écrit :

Xav' a écrit :

On Tue, 31 Mar 2009 18:15:33 +0200, laurent laur...@logiquefloue.org
wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you 
won't be able to log on to any of the services because 
authentication hasn't been configured yet, but it is wise to check 
if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is done 
later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap protocol
and see if the server answer to the connection and with openssl s_client
for pop3s/imaps connection.

HTH.
Xavier

 

Thanks
Laurent





  


ks359684 ~ # telnet host.domain.com 25
Trying xxx.xxx.xxx.xxx...
Connected to host.domain.com.
Escape character is '^]'.
Connection closed by foreign host.

Does it means it's fine ?? :)

L




ok it's seems to be ok, pop3 connect and keep it. The ssl have no auth yet.
Thank you
Laurent





Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-03-31 Thread laurent

Xav' a écrit :

On Tue, 31 Mar 2009 18:15:33 +0200, laurent laur...@logiquefloue.org
wrote:
  

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you won't 
be able to log on to any of the services because authentication hasn't 
been configured yet, but it is wise to check if the connections 
themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is done 
later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap protocol
and see if the server answer to the connection and with openssl s_client
for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

:s
  

Thanks
Laurent





[gentoo-user] what means CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

2009-04-07 Thread laurent

hi,

I got this cron job, that many random users seams to have.
Anyone knows what is it for?

CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

it actually fall into error:
mptctl::compat_mpt_command @2783 - ioc0 not found!

They seem connected in my /var/log/messages

I don't know what to do to fix that.

Thanks
Laurent



Re: [gentoo-user] what means CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

2009-04-07 Thread laurent

BRM a écrit :

Quick google search for linux application rtm 
(http://www.google.com/search?q=linux+application+rtmie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a)
 turned up the following:

http://linux.softpedia.com/get/Adobe-AIR-Apps/Utilities---Tools/RTM-Notifier-42386.shtml
  

It's on a remote server with no desktop, it can't be that.
It seems something more like a default prog install on 'all' versions,
maybe something from my hosting compagny : OVH, in france.

L


Looks plausible.

Have you tried running rtm --help or man rtm?

HTH

Ben


- Original Message 
From: laurent laur...@logiquefloue.org
To: gentoo-user@lists.gentoo.org
Sent: Tuesday, April 7, 2009 8:57:51 AM
Subject: [gentoo-user] what means  CMD (/usr/local/rtm/bin/rtm /dev/null 
2/dev/null)

hi,

I got this cron job, that many random users seams to have.
Anyone knows what is it for?

CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

it actually fall into error:
mptctl::compat_mpt_command @2783 - ioc0 not found!

They seem connected in my /var/log/messages

I don't know what to do to fix that.

Thanks
Laurent



  





Re: [gentoo-user] what means CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

2009-04-07 Thread laurent

Xav' a écrit :

On Tue, 07 Apr 2009 14:57:51 +0200, laurent laur...@logiquefloue.org
wrote:
  

hi,

I got this cron job, that many random users seams to have.
Anyone knows what is it for?

 CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)



Looking at your messages headers, it seems that you're using OVH dedicated
server and RTM is a software used by OVH to monitor the status of your
server.
This has nothing to do with gentoo IMHO, and i think you should have a look
at OVH forums (a quick look at google show that on OVH forums they says to
upgrade your kernel...)

  

it actually fall into error:
mptctl::compat_mpt_command @2783 - ioc0 not found!

They seem connected in my /var/log/messages

I don't know what to do to fix that.

Thanks
Laurent





  
yes I got that kernel update :) i ask ovh about it. I don't know how to 
do that safely.

I hoped there were another solution.

L





Re: [gentoo-user] what means CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

2009-04-07 Thread laurent

ok :)

I try this:

wget ftp://ftp.ovh.net/made-in-ovh/rtm/install_rtm.sh -O install_rtm.sh


sh install_rtm.sh


should fixe it simply

x
L


laurent a écrit :

BRM a écrit :
Quick google search for linux application rtm 
(http://www.google.com/search?q=linux+application+rtmie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a) 
turned up the following:


http://linux.softpedia.com/get/Adobe-AIR-Apps/Utilities---Tools/RTM-Notifier-42386.shtml 

  

It's on a remote server with no desktop, it can't be that.
It seems something more like a default prog install on 'all' versions,
maybe something from my hosting compagny : OVH, in france.

L


Looks plausible.

Have you tried running rtm --help or man rtm?

HTH

Ben


- Original Message 
From: laurent laur...@logiquefloue.org
To: gentoo-user@lists.gentoo.org
Sent: Tuesday, April 7, 2009 8:57:51 AM
Subject: [gentoo-user] what means  CMD (/usr/local/rtm/bin/rtm 
/dev/null 2/dev/null)


hi,

I got this cron job, that many random users seams to have.
Anyone knows what is it for?

CMD (/usr/local/rtm/bin/rtm /dev/null 2/dev/null)

it actually fall into error:
mptctl::compat_mpt_command @2783 - ioc0 not found!

They seem connected in my /var/log/messages

I don't know what to do to fix that.

Thanks
Laurent



  










Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-07 Thread laurent

Hey,

I did the change you proposed, check the logs. added this to smtpd.conf:
pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'

and now my logs goes wrong here:
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin using 
mysql engine
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error invalid 
parameter supplied
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load failed 
on sasl_auxprop_plug_init for plugin: ldapdb


checked google, but no idea now.
thx
Laurent



Xav' a écrit :

laurent a écrit :

Xav' a écrit :

On Tue, 31 Mar 2009 18:15:33 +0200, laurent laur...@logiquefloue.org
wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you 
won't be able to log on to any of the services because 
authentication hasn't been configured yet, but it is wise to check 
if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is done 
later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap 
protocol
and see if the server answer to the connection and with openssl 
s_client

for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


Maybe you could check in or post your postfix logs (/var/log/mail.* or 
/var/log/messages), or adding -d argument to smtpd command in 
/etc/postfix/master.cf, reload postfix with postfix reload, retry 
telnet and check (or post) the logs again.



:s
 

Thanks
Laurent













Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-07 Thread laurent

maybe I should disable ldapd as I'm using mysql ...hm ?

L

laurent a écrit :

Hey,

I did the change you proposed, check the logs. added this to smtpd.conf:
pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'

and now my logs goes wrong here:
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin 
using mysql engine
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error 
invalid parameter supplied
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load 
failed on sasl_auxprop_plug_init for plugin: ldapdb


checked google, but no idea now.
thx
Laurent



Xav' a écrit :

laurent a écrit :

Xav' a écrit :

On Tue, 31 Mar 2009 18:15:33 +0200, laurent laur...@logiquefloue.org
wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections 
you've started work for receiving and sending mail. Of course, you 
won't be able to log on to any of the services because 
authentication hasn't been configured yet, but it is wise to check 
if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is 
done later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap 
protocol
and see if the server answer to the connection and with openssl 
s_client

for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


Maybe you could check in or post your postfix logs (/var/log/mail.* 
or /var/log/messages), or adding -d argument to smtpd command in 
/etc/postfix/master.cf, reload postfix with postfix reload, retry 
telnet and check (or post) the logs again.



:s
 

Thanks
Laurent


















Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-07 Thread laurent
ok forget what I said before i fixed the log problems that I saw in 
/var/log/messages


now I got just this, one line of postfix verbose, when I connect with 
telnet:

telnet host.domain.com 25
Trying xxx.xxx.xxx.xxx...
Connected to host.domain.com.
Escape character is '^]'.
220 host.domain.com ESMTP Postfix

Just one line, is it ok ?

Laurent


laurent a écrit :

maybe I should disable ldapd as I'm using mysql ...hm ?

L

laurent a écrit :

Hey,

I did the change you proposed, check the logs. added this to smtpd.conf:
pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'

and now my logs goes wrong here:
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin 
using mysql engine
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error 
invalid parameter supplied
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load 
failed on sasl_auxprop_plug_init for plugin: ldapdb


checked google, but no idea now.
thx
Laurent



Xav' a écrit :

laurent a écrit :

Xav' a écrit :
On Tue, 31 Mar 2009 18:15:33 +0200, laurent 
laur...@logiquefloue.org

wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all 
connections you've started work for receiving and sending mail. 
Of course, you won't be able to log on to any of the services 
because authentication hasn't been configured yet, but it is wise 
to check if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is 
done later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap 
protocol
and see if the server answer to the connection and with openssl 
s_client

for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


Maybe you could check in or post your postfix logs (/var/log/mail.* 
or /var/log/messages), or adding -d argument to smtpd command in 
/etc/postfix/master.cf, reload postfix with postfix reload, retry 
telnet and check (or post) the logs again.



:s
 

Thanks
Laurent























Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-07 Thread laurent


the /? command is not recognized, the quit command works


laurent a écrit :

maybe I should disable ldapd as I'm using mysql ...hm ?

L

laurent a écrit :

Hey,

I did the change you proposed, check the logs. added this to smtpd.conf:
pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'

and now my logs goes wrong here:
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin 
using mysql engine
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error 
invalid parameter supplied
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load 
failed on sasl_auxprop_plug_init for plugin: ldapdb


checked google, but no idea now.
thx
Laurent



Xav' a écrit :

laurent a écrit :

Xav' a écrit :
On Tue, 31 Mar 2009 18:15:33 +0200, laurent 
laur...@logiquefloue.org

wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all 
connections you've started work for receiving and sending mail. 
Of course, you won't be able to log on to any of the services 
because authentication hasn't been configured yet, but it is wise 
to check if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is 
done later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap 
protocol
and see if the server answer to the connection and with openssl 
s_client

for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


Maybe you could check in or post your postfix logs (/var/log/mail.* 
or /var/log/messages), or adding -d argument to smtpd command in 
/etc/postfix/master.cf, reload postfix with postfix reload, retry 
telnet and check (or post) the logs again.



:s
 

Thanks
Laurent























Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-07 Thread laurent

Why don't I have thos lines showing:

EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME

?




laurent a écrit :


the /? command is not recognized, the quit command works


laurent a écrit :

maybe I should disable ldapd as I'm using mysql ...hm ?

L

laurent a écrit :

Hey,

I did the change you proposed, check the logs. added this to 
smtpd.conf:

pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'

and now my logs goes wrong here:
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin 
using mysql engine
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error 
invalid parameter supplied
Apr  7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load 
failed on sasl_auxprop_plug_init for plugin: ldapdb


checked google, but no idea now.
thx
Laurent



Xav' a écrit :

laurent a écrit :

Xav' a écrit :
On Tue, 31 Mar 2009 18:15:33 +0200, laurent 
laur...@logiquefloue.org

wrote:
 

Hi,

I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

after configuring courier-imap they say:
Start up your favorite mail client and verify that all 
connections you've started work for receiving and sending mail. 
Of course, you won't be able to log on to any of the services 
because authentication hasn't been configured yet, but it is 
wise to check if the connections themselves work or not.


I'm using mutt, saying there's no mailbox. Creating mailbox is 
done later in the how to.

What do they mean, how can I test if smtpd and pop3d work fine ?



They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap 
protocol
and see if the server answer to the connection and with openssl 
s_client

for pop3s/imaps connection.

HTH.
Xavier
  


hm actually I should get something like that:

# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet quit

but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


Maybe you could check in or post your postfix logs (/var/log/mail.* 
or /var/log/messages), or adding -d argument to smtpd command in 
/etc/postfix/master.cf, reload postfix with postfix reload, retry 
telnet and check (or post) the logs again.



:s
 

Thanks
Laurent




























Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-08 Thread laurent

Hi Mike,

I receive the mail sent with your script. It verbose this:

send: 'ehlo host.domain.com\r\n'
reply: '250-host.domain.com\r\n'
reply: '250-PIPELINING\r\n'
reply: '250-SIZE 1024\r\n'
reply: '250-VRFY\r\n'
reply: '250-ETRN\r\n'
reply: '250-STARTTLS\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-AUTH=LOGIN PLAIN\r\n'
reply: '250-ENHANCEDSTATUSCODES\r\n'
reply: '250-8BITMIME\r\n'
reply: '250 DSN\r\n'
reply: retcode (250); Msg: host.domain.com
PIPELINING
SIZE 1024
VRFY
ETRN
STARTTLS
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
ENHANCEDSTATUSCODES
8BITMIME
DSN
send: 'mail FROM:r...@host.domain.com size=427\r\n'
reply: '250 2.1.0 Ok\r\n'
reply: retcode (250); Msg: 2.1.0 Ok
send: 'rcpt TO:laur...@host.domain.com\r\n'
reply: '250 2.1.5 Ok\r\n'
reply: retcode (250); Msg: 2.1.5 Ok
send: 'data\r\n'
reply: '354 End data with CRLF.CRLF\r\n'
reply: retcode (354); Msg: End data with CRLF.CRLF
data: (354, 'End data with CRLF.CRLF')
send: 'Content-Type: multipart/mixed; 
boundary368381694963480==\r\nMIME-Version: 
1.0\r\nFrom: r...@host.domain.com\r\nto: 
laur...@host.domain.com\r\ndate: Wed, 08 Apr 2009 17:04:45 
+0200\r\nSubject: Mail testing 
message\r\n\r\n--===368381694963480==\r\nContent-Type: 
text/plain; charset=us-ascii\r\nMIME-Version: 
1.0\r\nContent-Transfer-Encoding: 7bit\r\n\r\nTest message body 
;)\r\n--===368381694963480==--\r\n.\r\n'

reply: '250 2.0.0 Ok: queued as 4DDD1F24001\r\n'
reply: retcode (250); Msg: 2.0.0 Ok: queued as 4DDD1F24001
data: (250, '2.0.0 Ok: queued as 4DDD1F24001')
send: 'quit\r\n'
reply: '221 2.0.0 Bye\r\n'
reply: retcode (221); Msg: 2.0.0 Bye

So it looks like working.
Actually I'm trying to make apache send an e-mail via postfix. I went 
through installing a complete virtual mail host but maybe I will go back 
to a simpler way.
I got the smtp, pop, imap installed, I don't really need the virtual 
host stuff. I could send email even before. hm. Obscure.


I'm using neko vm as server side programming, trying to make neko make 
apache send an e-mail. I think my next step is to connect apache to postfix.
I'm looking into this, if you have any idea where I should look you're 
welcome.


Thanks
Laurent

Mike Kazantsev a écrit :

On Wed, 08 Apr 2009 01:04:53 +0200
laurent laur...@logiquefloue.org wrote:

  

Why don't I have thos lines showing:



Short: because you (client) have to send some of them _to_ server, since
it doesn't know what you need when you just connected.

  

EHLO domain.com



That's what a typical client sends in response to server smtp
announcement.

  

250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME



And that's what server responds to it, further announcing it's
capabilities, so client may choose how to relay the message thru it.


Try this simple python script to check smtp capability of your server:
http://fraggod.net/svc/dumpz/d7936/

Just save it into some file like smtp_test.py, replace domain with
address of your server and use python smtp_test.py to launch it.
It should show you whole protocol exchange between client and server,
along with ocurred errors, if any.


For me (working case), it's output looks like this (domain.com here is
my mail domain, for example case):

send: 'ehlo [127.0.0.1]\r\n'
reply: '250-domain.com\r\n'
reply: '250-PIPELINING\r\n'
reply: '250-SIZE 1024\r\n'
reply: '250-VRFY\r\n'
reply: '250-ETRN\r\n'
reply: '250-STARTTLS\r\n'
reply: '250-ENHANCEDSTATUSCODES\r\n'
reply: '250-8BITMIME\r\n'
reply: '250 DSN\r\n'
reply: retcode (250); Msg: domain.com
PIPELINING
SIZE 1024
VRFY
ETRN
STARTTLS
ENHANCEDSTATUSCODES
8BITMIME
DSN
send: 'mail FROM:mail_t...@domain.com size=390\r\n'
reply: '250 2.1.0 Ok\r\n'
reply: retcode (250); Msg: 2.1.0 Ok
send: 'rcpt TO:postmas...@domain.com\r\n'
reply: '250 2.1.5 Ok\r\n'
reply: retcode (250); Msg: 2.1.5 Ok
send: 'data\r\n'
reply: '354 End data with CRLF.CRLF\r\n'
reply: retcode (354); Msg: End data with CRLF.CRLF
data: (354, 'End data with CRLF.CRLF')
send: 'Content-Type: multipart/mixed; 
boundary0122837587==\r\nMIME-Version: 1.0\r\nFrom: 
mail_t...@domain.com\r\nto: postmas...@domain.com\r\ndate: Wed, 08 Apr 2009 07:22:07 
+0600\r\nSubject: Mail testing message\r\n\r\n--===0122837587==\r\nContent-Type: 
text/plain; charset=us-ascii\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: 
7bit\r\n\r\nTest message body ;)\r\n--===0122837587==--\r\n.\r\n'
reply: '250 2.0.0 Ok: queued as 555F1101FDC\r\n'
reply: retcode (250); Msg: 2.0.0 Ok: queued as 555F1101FDC
data: (250, '2.0.0 Ok: queued as 555F1101FDC')
send: 'quit\r\n'
reply: '221 2.0.0 Bye\r\n'
reply: retcode (221); Msg: 2.0.0 Bye


  





Re: [gentoo-user] Postfix, courier-imap: checks if working

2009-04-08 Thread laurent

IT'S WORKING! ahahahaHAHAHAHAHAHAHAHHA
I did nothing for thatHahAHAHAHAHAHAHAH
appart from installin a smtp server, yeah...:)

cheers!
Laurent


laurent a écrit :

Hi Mike,

I receive the mail sent with your script. It verbose this:

send: 'ehlo host.domain.com\r\n'
reply: '250-host.domain.com\r\n'
reply: '250-PIPELINING\r\n'
reply: '250-SIZE 1024\r\n'
reply: '250-VRFY\r\n'
reply: '250-ETRN\r\n'
reply: '250-STARTTLS\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-AUTH=LOGIN PLAIN\r\n'
reply: '250-ENHANCEDSTATUSCODES\r\n'
reply: '250-8BITMIME\r\n'
reply: '250 DSN\r\n'
reply: retcode (250); Msg: host.domain.com
PIPELINING
SIZE 1024
VRFY
ETRN
STARTTLS
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
ENHANCEDSTATUSCODES
8BITMIME
DSN
send: 'mail FROM:r...@host.domain.com size=427\r\n'
reply: '250 2.1.0 Ok\r\n'
reply: retcode (250); Msg: 2.1.0 Ok
send: 'rcpt TO:laur...@host.domain.com\r\n'
reply: '250 2.1.5 Ok\r\n'
reply: retcode (250); Msg: 2.1.5 Ok
send: 'data\r\n'
reply: '354 End data with CRLF.CRLF\r\n'
reply: retcode (354); Msg: End data with CRLF.CRLF
data: (354, 'End data with CRLF.CRLF')
send: 'Content-Type: multipart/mixed; 
boundary368381694963480==\r\nMIME-Version: 
1.0\r\nFrom: r...@host.domain.com\r\nto: 
laur...@host.domain.com\r\ndate: Wed, 08 Apr 2009 17:04:45 
+0200\r\nSubject: Mail testing 
message\r\n\r\n--===368381694963480==\r\nContent-Type: 
text/plain; charset=us-ascii\r\nMIME-Version: 
1.0\r\nContent-Transfer-Encoding: 7bit\r\n\r\nTest message body 
;)\r\n--===368381694963480==--\r\n.\r\n'

reply: '250 2.0.0 Ok: queued as 4DDD1F24001\r\n'
reply: retcode (250); Msg: 2.0.0 Ok: queued as 4DDD1F24001
data: (250, '2.0.0 Ok: queued as 4DDD1F24001')
send: 'quit\r\n'
reply: '221 2.0.0 Bye\r\n'
reply: retcode (221); Msg: 2.0.0 Bye

So it looks like working.
Actually I'm trying to make apache send an e-mail via postfix. I went 
through installing a complete virtual mail host but maybe I will go 
back to a simpler way.
I got the smtp, pop, imap installed, I don't really need the virtual 
host stuff. I could send email even before. hm. Obscure.


I'm using neko vm as server side programming, trying to make neko make 
apache send an e-mail. I think my next step is to connect apache to 
postfix.
I'm looking into this, if you have any idea where I should look you're 
welcome.


Thanks
Laurent

Mike Kazantsev a écrit :

On Wed, 08 Apr 2009 01:04:53 +0200
laurent laur...@logiquefloue.org wrote:

 

Why don't I have thos lines showing:



Short: because you (client) have to send some of them _to_ server, since
it doesn't know what you need when you just connected.

 

EHLO domain.com



That's what a typical client sends in response to server smtp
announcement.

 

250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME



And that's what server responds to it, further announcing it's
capabilities, so client may choose how to relay the message thru it.


Try this simple python script to check smtp capability of your server:
http://fraggod.net/svc/dumpz/d7936/

Just save it into some file like smtp_test.py, replace domain with
address of your server and use python smtp_test.py to launch it.
It should show you whole protocol exchange between client and server,
along with ocurred errors, if any.


For me (working case), it's output looks like this (domain.com here is
my mail domain, for example case):

send: 'ehlo [127.0.0.1]\r\n'
reply: '250-domain.com\r\n'
reply: '250-PIPELINING\r\n'
reply: '250-SIZE 1024\r\n'
reply: '250-VRFY\r\n'
reply: '250-ETRN\r\n'
reply: '250-STARTTLS\r\n'
reply: '250-ENHANCEDSTATUSCODES\r\n'
reply: '250-8BITMIME\r\n'
reply: '250 DSN\r\n'
reply: retcode (250); Msg: domain.com
PIPELINING
SIZE 1024
VRFY
ETRN
STARTTLS
ENHANCEDSTATUSCODES
8BITMIME
DSN
send: 'mail FROM:mail_t...@domain.com size=390\r\n'
reply: '250 2.1.0 Ok\r\n'
reply: retcode (250); Msg: 2.1.0 Ok
send: 'rcpt TO:postmas...@domain.com\r\n'
reply: '250 2.1.5 Ok\r\n'
reply: retcode (250); Msg: 2.1.5 Ok
send: 'data\r\n'
reply: '354 End data with CRLF.CRLF\r\n'
reply: retcode (354); Msg: End data with CRLF.CRLF
data: (354, 'End data with CRLF.CRLF')
send: 'Content-Type: multipart/mixed; 
boundary0122837587==\r\nMIME-Version: 1.0\r\nFrom: 
mail_t...@domain.com\r\nto: postmas...@domain.com\r\ndate: Wed, 08 
Apr 2009 07:22:07 +0600\r\nSubject: Mail testing 
message\r\n\r\n--===0122837587==\r\nContent-Type: 
text/plain; charset=us-ascii\r\nMIME-Version: 
1.0\r\nContent-Transfer-Encoding: 7bit\r\n\r\nTest message body 
;)\r\n--===0122837587==--\r\n.\r\n'

reply: '250 2.0.0 Ok: queued as 555F1101FDC\r\n'
reply: retcode (250); Msg: 2.0.0 Ok: queued as 555F1101FDC
data: (250, '2.0.0 Ok: queued as 555F1101FDC')
send: 'quit\r\n'
reply: '221 2.0.0 Bye\r\n'
reply: retcode (221); Msg: 2.0.0 Bye


  










Re: [gentoo-user] Re: firefox - thunderbird integration

2009-05-21 Thread Laurent
Thanks, creating a new profile did it!
pretty frustrating that we don't know what specific option did the mess up.
Maybe what caused this is that the profile was the same i used with icedove
(debian port of thunderbird)

bye.

On Thu, May 21, 2009 at 10:53 PM, Nikos Chantziaras rea...@arcor.de wrote:

 Laurent lejeune wrote:

 i've checked that those entries are set to my firefox path
 (/usr/bin/firefox). The thing is , once again, that  thunderbird does it's
 job of launching firefox, but the page that opens is a *downloaded *version
 such as
 file:///tmp/blabla.html
 where i would like it to open the url.


 That's not how it is supposed to be though.  I have the same settings, and
 Firefox opens the URL correctly.  Perhaps try with a new and clean
 Thunderbird profile.





[gentoo-user] libgc and the 64 bit world

2008-09-30 Thread laurent

Hi list,

this is my first post, I am new to linux so my understanding of the all 
thing is quite fuzzy.


I am trying to install HaxeVideo on my gentoo server, 64 bit distrib.

It needs libgc and throw an error at compile time because it can't find 
libgc.so.1.


I checked the environment variable and ld.so.env contain the path to 
libgc, even the /usr/lib64 path.


Anyone have an idea why libgc give some trouble and if it's due to 64 
bit version ?


Thanks
L



[gentoo-user] /usr/lib/ccache/bin does not exist, big deal?

2009-10-08 Thread laurent

Hi,

I'm emergin system and world after a little while, maybe 4 months, I got 
directory does not exist /usr/lib/ccache/bin


I search a bit, and it seems that ccache accelerate compiling.
So it's seems to emerge anyway in a good way.
What should I do to kinda make it better ? Just create that folder??

Cheers
Laurent



Re: [gentoo-user] /usr/lib/ccache/bin does not exist, big deal?

2009-10-09 Thread laurent
 under userpriv.

Regards,
daid



  

Thank you daid!
Laurent



[gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

Hi,

I setup vsftpd a long time ago, I still can't get the local user to 
work. First. then I would configure it differently but I would like to 
even connect once..


here's my conf:


local_root=/home/www
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
dirmessage_enable=YES
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999


ftp client find the server, can connect with the guest user but can't 
delete and upload files.

And local user just refuse password, loging fail.

Any Idea where I should look?

The xferlog does not output any log file in the directory specified...I 
don't have logs for vsftpd...oO


Laurent



[gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent




Re: [gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

ok I've solve the read write problem for vsftpduser, needed a chown user:ftp

I will trys to figure out for the local user.

How can I list local users?

L

laurent a écrit :

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent









Re: [gentoo-user] vsftpd conf ...still..:)

2009-10-09 Thread laurent

:) ok it all works now :)
I will try to specifie a floder for each users.

L

laurent a écrit :

ho I forgot lines of my conf file, here's the entire lines :

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_root=/home/www
#anon_upload_enable=NO
#anon_mkdir_write_enable=NO
#anon_other_write_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
xferlog_file=/home/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#nopriv_user=vsftpduser
dirmessage_enable=YES
#guest_enable=YES
#guest_username=vsftpduser
listen=YES
listen_port=21
ls_recurse_enable=NO
pasv_min_port=3
pasv_max_port=30999

Laurent









[gentoo-user] ftp user, local user, apache group

2009-10-09 Thread laurent

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?

I don't really know how to play with groups and user, any good tutorial 
on that?


Thanks
Laurent



Re: [gentoo-user] ftp user, local user, apache group

2009-10-09 Thread laurent


should I go for vsftpd virtual users?

would need to have all file, folder created under any ftp account 
viewable with apache.

So those files should be own by apache:apache

should it be this way?

Thanks
Laurent

laurent a écrit :

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?

I don't really know how to play with groups and user, any good 
tutorial on that?


Thanks
Laurent








Re: [gentoo-user] ftp user, local user, apache group

2009-10-14 Thread laurent

Frank Steinmetzger a écrit :

Am Freitag, 9. Oktober 2009 schrieb laurent:
  

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?



My setup is a combination of apache and pure-ftpd. My user is member of the 
apache group, and I have set my home dir to


$ ls -ld /home/frank
drwxr-x--- 115 frank  apache  16384 2009-10-09 22:30 frank

That way apache can enter my directory to get into ~/public_html, but other 
users (such as guests, it's my laptop) cannot.


If I log into pure-ftpd with a local user account, it puts me into the 
respective user's home. Anonymous logins are made for user ftp, which is 
set up in /home/ftp:


$ ls -ld /home/ftp
dr-xrwx---   4 ftpusers4096 2009-09-19 19:45 ftp

$ ls -ld /home/ftp/incoming
drwxrwxr-x   2 ftpusers4096 2009-09-16 23:58 /home/ftp/incoming/

This setup allows me as the admin user to have control over the files in the 
anonymous ftp root, and anonymous users may only upload stuff in the incoming 
directory.


  

I don't really know how to play with groups and user, any good tutorial
on that?



Just search for it, keywords such as file permissions chown may help:
http://www.overclock.net/linux-unix/513350-linux-file-permissions-executables-howto.html
http://penguinpetes.com/b2evo/index.php?title=chmod_squad_howto_use_linux_file_permiss

The latter is more informative on how to use groups in detail.
  

Hi Franck

Ok, after reading that I guess: I could create a 'connects' group and 
put my apache user in it.
So apache will have control over the files in www own by 
apache:connects. set to 760 recursively, for exemple.


And then add other local user to the connector group. Then as they will 
be able to connect on ftp as a local user they will be able to read 
write files that apache will be able to execute.


I'm gonna do that now :)
thx
Laurent



Re: [gentoo-user] ftp user, local user, apache group

2009-10-15 Thread laurent

laurent a écrit :

Frank Steinmetzger a écrit :

Am Freitag, 9. Oktober 2009 schrieb laurent:
 

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?



My setup is a combination of apache and pure-ftpd. My user is member 
of the apache group, and I have set my home dir to


$ ls -ld /home/frank
drwxr-x--- 115 frank  apache  16384 2009-10-09 22:30 frank

That way apache can enter my directory to get into ~/public_html, but 
other users (such as guests, it's my laptop) cannot.


If I log into pure-ftpd with a local user account, it puts me into 
the respective user's home. Anonymous logins are made for user ftp, 
which is set up in /home/ftp:


$ ls -ld /home/ftp
dr-xrwx---   4 ftpusers4096 2009-09-19 19:45 ftp

$ ls -ld /home/ftp/incoming
drwxrwxr-x   2 ftpusers4096 2009-09-16 23:58 /home/ftp/incoming/

This setup allows me as the admin user to have control over the 
files in the anonymous ftp root, and anonymous users may only upload 
stuff in the incoming directory.


 

I don't really know how to play with groups and user, any good tutorial
on that?



Just search for it, keywords such as file permissions chown may help:
http://www.overclock.net/linux-unix/513350-linux-file-permissions-executables-howto.html 

http://penguinpetes.com/b2evo/index.php?title=chmod_squad_howto_use_linux_file_permiss 



The latter is more informative on how to use groups in detail.
  

Hi Franck

Ok, after reading that I guess: I could create a 'connects' group and 
put my apache user in it.
So apache will have control over the files in www own by 
apache:connects. set to 760 recursively, for exemple.


And then add other local user to the connector group. Then as they 
will be able to connect on ftp as a local user they will be able to 
read write files that apache will be able to execute.


I'm gonna do that now :)
thx
Laurent



760 does not work. ftp can't change directory...so I put 770 to www, it 
works.


L



[gentoo-user] Bittorent black box

2009-11-23 Thread laurent

Hi,

I would like to use my server as bittorent client and maybe tracker later.
I would like to have a web interface but I could also develop it myself 
later.


I saw, qbittorent and hrktorrent that looks good. I don't know any 
features of the last one.

What would you recommend to use?

thanks
Laurent



Re: [gentoo-user] Bittorent black box

2009-11-24 Thread laurent

Canek Peláez Valdés a écrit :

On Tue, Nov 24, 2009 at 2:50 AM, Canek Peláez Valdés can...@gmail.com wrote:
  

2009/11/24  roun...@hotmail.ru:


On Mon, Nov 23, 2009 at 5:02 PM, laurent laur...@logiquefloue.org wrote:
  

Hi,

I would like to use my server as bittorent client and maybe tracker later.
I would like to have a web interface but I could also develop it myself
later.

I saw, qbittorent and hrktorrent that looks good. I don't know any
features
of the last one.
What would you recommend to use?


I use Vuze (formerly Azureus) with VNC, and I control it with its web
interface when I'm not inside my LAN:

http://azureus.sourceforge.net/plugin_details.php?plugin=webui

It's a little bloated, but it runs perfectly in my Atom powered
server, and it certainly has all the features a Torrent client can
have.

Regards.
--
Canek Pelez Valds
Instituto de Matemticas
Universidad Nacional Autnoma de Mxico



You don't wanna be using that, try rtorrent. It's the nutts.
  

Actually, I DO wanna use Vuze, but thanks. I used rtorrent years ago;
maybe I will give it a try again. However, I don't see in their
homepage that it supports automatic download of torrents through an
RSS feed with regexp filters, like Vuze actually does.

For me, that's the killer feature of Vuze.

Regards.
--
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México




I stand corrected: the RSS utilities where hidden in the 3rd party
utilities link from the libtorrent (not rtorrent) page.

http://libtorrent.rakshasa.no/wiki/UtilsList

It looks interesting; maybe I will try it again.

Regards.
  

ok :) thanks guys, I made my mind for rtorrent then ;)

Laurent



Re: [gentoo-user] Bittorent black box

2009-11-24 Thread laurent

Canek Peláez Valdés a écrit :

On Tue, Nov 24, 2009 at 2:50 AM, Canek Peláez Valdés can...@gmail.com wrote:
  

2009/11/24  roun...@hotmail.ru:


On Mon, Nov 23, 2009 at 5:02 PM, laurent laur...@logiquefloue.org wrote:
  

Hi,

I would like to use my server as bittorent client and maybe tracker later.
I would like to have a web interface but I could also develop it myself
later.

I saw, qbittorent and hrktorrent that looks good. I don't know any
features
of the last one.
What would you recommend to use?


I use Vuze (formerly Azureus) with VNC, and I control it with its web
interface when I'm not inside my LAN:

http://azureus.sourceforge.net/plugin_details.php?plugin=webui

It's a little bloated, but it runs perfectly in my Atom powered
server, and it certainly has all the features a Torrent client can
have.

Regards.
--
Canek Pelez Valds
Instituto de Matemticas
Universidad Nacional Autnoma de Mxico



You don't wanna be using that, try rtorrent. It's the nutts.
  

Actually, I DO wanna use Vuze, but thanks. I used rtorrent years ago;
maybe I will give it a try again. However, I don't see in their
homepage that it supports automatic download of torrents through an
RSS feed with regexp filters, like Vuze actually does.

For me, that's the killer feature of Vuze.

Regards.
--
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México




I stand corrected: the RSS utilities where hidden in the 3rd party
utilities link from the libtorrent (not rtorrent) page.

http://libtorrent.rakshasa.no/wiki/UtilsList

It looks interesting; maybe I will try it again.

Regards.
  

would be better performance wise to launch it as a daemon?

my server is doing other stuff at same time.

Laurent



Re: [gentoo-user] Bittorent black box

2009-11-24 Thread laurent

Daniel Troeder a écrit :

On Tue, 2009-11-24 at 00:02 +0100, laurent wrote:
  

Hi,

I would like to use my server as bittorent client and maybe tracker later.
I would like to have a web interface but I could also develop it myself 
later.


I saw, qbittorent and hrktorrent that looks good. I don't know any 
features of the last one.

What would you recommend to use?

thanks
Laurent


I'd recommend net-p2p/deluge (http://deluge-torrent.org/).
It has all the features I ever wanted and its written in Python using
libtorrent as engine.

It runs as a non-ui daemon to which you can connect clients via network.
Existing clients are: console, web and gtk+.

I start the daemon and a web client on my server, and connect ether via
web or with the gtk-ui :)

It has no build-in tracker, but I recommend using a public one anyway
(for example http://openbittorrent.com/).

Bye,
Daniel

  
yes I was interested by deluge also. I also read about BTG that seems 
very good.
I installed rtorrent with the default flags, no daemon, will see how it 
work with ssh first.


schussy
Laurent



[gentoo-user] tunneling or redirect attack?

2009-12-01 Thread laurent

Hi,

Is it a common thing, or really easy to do,  to redirect the content 
from a server to another one?


Like launching an lil app telling the port to listen and then get all 
data travelling there??


Thanks for information.
Laurent



Re: [gentoo-user] tunneling or redirect attack?

2009-12-01 Thread laurent

laurent a écrit :

Hi,

Is it a common thing, or really easy to do,  to redirect the content 
from a server to another one?


Like launching an lil app telling the port to listen and then get all 
data travelling there??


Thanks for information.
Laurent



hm now I see in my webmin HTTP Tunnel. It would make ue of my server as 
a kind of proxy to reach an uri ?

Any link information about that matter would please me. :)

Thnaks
Laurent



Re: [gentoo-user] tunneling or redirect attack?

2009-12-01 Thread laurent

Marcus Wanner a écrit :

On 12/1/2009 10:07 AM, laurent wrote:

Hi,

Is it a common thing, or really easy to do,  to redirect the content 
from a server to another one?


Like launching an lil app telling the port to listen and then get all 
data travelling there??


Thanks for information.
Laurent

And this is relevant here because?



hm yes true. Because I'm sure some people know that here and it's about 
network, server, gentoo is a network based operating system.(-ok this 
is not somehow true but..)
Because you guys are damn good geeks so I would find some common 
interest here.


Ok I know this subject can relate to hacking where my point is not here 
at all. I just poped on configuring my server on that security issue.
If not using SSL with proper certificate it was made possible to tunnel 
my remote communication with my server.

And then I found also this HTTP Tunnel module in my webmin.
So I wanted to have more information about all this, and so you're the 
people I relate too.


cheers
Laurent



Re: [gentoo-user] tunneling or redirect attack?

2009-12-01 Thread laurent

Willie Wong a écrit :

On Tue, Dec 01, 2009 at 04:07:44PM +0100, Penguin Lover laurent squawked:
  
Is it a common thing, or really easy to do,  to redirect the content from a 
server to another one?


Like launching an lil app telling the port to listen and then get all data 
travelling there??



You need to be a bit more precise about what you mean...

If you are talking about client A sitting behind router B which
interfaces with Big Scary Internet C, then it is trivial for the
router B to have a transparent proxy or some other form of package
re-write that redirects your traffic. 


If you are talking about client A and server B and server C then it is
also trivial for server B to redirect all its traffic to server C. 


If you are talking about client A and server B and Bad server C and
attacker D, I don't see how in general the attacker D can redirect
traffic from B to C, unless D somehow sits on the only node that
connects A to B (in which case you are essentially back to scenario
1). (Yes yes, there are DNS injections and what nots, but in essence
they are just variations of scenario 1.) 


There are also other possible scenarios. So please describe in a bit
more detail what you are thinking of and why you care. 

Cheers, 


W


  


I was talking about the A,B,C,D case. You say this is not common or easy 
to achieve.
I was interested on how work tunneling and what are the possibilies of 
its use.

I will read that first:
http://en.wikipedia.org/wiki/HTTP_tunnel

:) thanks
Laurent





Re: [gentoo-user] tunneling or redirect attack?

2009-12-01 Thread laurent

Helmut Jarausch a écrit :

On  1 Dec, laurent wrote:
  

Hi,

Is it a common thing, or really easy to do,  to redirect the content 
from a server to another one?


Like launching an lil app telling the port to listen and then get all 
data travelling there??





You might consider ssh tunneling

google for these 2 words, e.g. you get

http://www.revsys.com/writings/quicktips/ssh-tunnel.html
https://calomel.org/firefox_ssh_proxy.html
http://members.shaw.ca/nicholas.fong/vnc/

and many more.

Helmut.

  

So it means I could always connect to internet through my remote server.
Anywhere I am on this planet I connect to my server and it/he get the 
content for me.

Kinda sweet.
Does it mean it could balance/regulate and augmente my bandwith power 
for my workstation?


Laurent



[gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-21 Thread laurent
Hi,

Using Postfix and TLS for a MTA, my password is rejected.

Here the log message:
 saslauthd[4358]: do_auth : auth failure: [user=u...@domain.com]
[service=smtp] [realm=domain.com] [mech=rimap] [reason=remote server
rejected your credentials]

could it be a bug from cyrus-sasl 2.1.23 ?

thx
Laurent







[gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-21 Thread laurent
ok, it's 3 days I'm tryin to fix my smtp connection, I have been through
the whole configuration many times and getting the certificates also.

The last thing I did is add this line again in /etc/postfix/main.cf:
smtpd_sasl_path = smtpd

which changed the error into a warning for postfix:
warning: foo[b.a.r.x]: SASL PLAIN authentication failed: authentication
failure

then, same for LOGIN:
postfix/smtpd[3962]: warning: foo[b.a.r.x]: SASL LOGIN authentication
failed: authentication failure

I used this howto at first:
http://www.gentoo.org/doc/fr/virt-mail-howto.xml

and it was working for a long time.

I can post mor info if you need.

thx
Laurent





Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-22 Thread laurent

Hi!

I changed the restrictions line like you said:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination

but this way it will try to see if the ip is part of mynetworks first, and
as it wont be it will reject or ... because my squirremail morks and I
think it does not use the authentification but rather the mynetworks.
Well.. :)

here is postconf | grep smtpd_sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtp
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus


I also now have all the authentification methods in the telnet EHLO
response. Which should not be
telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ks359684.kimsufi.com ESMTP Postfix
EHLO localhost
250-ks359684.kimsufi.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
STARTTLS
220 2.0.0 Ready to start TLS

Which I don't understand how because the /etc/sasl2/smtpd.conf is sayin:
mech_list: PLAIN LOGIN
pwcheck_method: saslauthd

I will continue to look now, need to clean somethin somewhere.
Thank you for the help ;)

Laurent





Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-22 Thread laurent
I changed back to a saved /etc/postfix/main.cf file I had.
The PLAIN LOGIN auth reappear fine, STARTLS work

still

testsaslauthd -u u...@domain.com -p password
0: NO authentication failed

logs:

Apr 22 14:08:48 xx saslauthd[12159]: do_auth : auth failure:
[user=u...@domain.com] [service=imap] [realm=] [mech=rimap] [reason=remote
server rejected your credentials]
Apr 22 14:48:47 xx saslauthd[12161]: do_auth : auth failure:
[user=u...@domain.com] [service=imap] [realm=] [mech=rimap] [reason=remote
server rejected your credentials]

so I tried with telnet and my username password base64 encoded with this:
% printf 'username\0username\0password' | openssl base64

and I got those:

telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.domain.com ESMTP Postfix
EHLO localhost
250-host.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
STARTTLS
220 2.0.0 Ready to start TLS
AUTH PLAIN myencodedbase64string=
Connection closed by foreign host.

~ # telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.domain.com ESMTP Postfix
EHLO localhost
250-host.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN myencodedbase64string=
535 5.7.8 Error: authentication failed: authentication failure


saslauthd is like a black box now. How could I open it?

thx
Laurent









[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent
Hi,

I can't emerge php4 anymore:

USE=cli apache2 emerge '=dev-lang/php-4*' '=dev-lang/php-5*'
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy =dev-lang/php-4*.

Is there a new way to do so ?

thx
Laurent




[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent


following this:

http://overlays.gentoo.org/proj/php/wiki/InstallOverlay

'gentoo-php-overlay' seems now to be 'php'

Laurent



[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved? = removed

2010-04-22 Thread laurent


..just removed php-4 and all is working fine :)



[gentoo-user] firefox - thunderbird integration

2009-05-21 Thread Laurent lejeune

Hi everyone!

I've been recently trying to make firefox and thunderbird work well 
together, i.e


  1. make mailto links from firefox launch thunderbird
  2. make url from thunderbird open in firefox

After following a well spread trick, (described here 
http://weblogs.mozillazine.org/gerv/archives/2005/01/firefox_and_thu.html)


Doing (1) doesn't do anything at all.

Doing (2) downloads the page as html to some temp folder, then opens it 
in firefox, but the images don't show correctly, certainly because they 
are not downloaded... Anyway that's not what i want.


Any help would be greatly appreciated

Peace.





Re: [gentoo-user] firefox - thunderbird integration

2009-05-21 Thread Laurent lejeune

Joachim wrote:

Laurent lejeune pisze:

Hi everyone!

I've been recently trying to make firefox and thunderbird work well 
together, i.e


  1. make mailto links from firefox launch thunderbird
  2. make url from thunderbird open in firefox


After reading

http://www.zulustips.com/2007/03/28/forcing-thunderbird-to-open-links-in-firefox.html 



I found out I can do this by going to preferences-advanced General 
tab, click settings editor and add following settngs ( string type):


|network.protocol-handler.app.ftp
network.protocol-handler.app.http
network.protocol-handler.app.https|

as value set your Firefox path ( for all of them).||


i've checked that those entries are set to my firefox path 
(/usr/bin/firefox). The thing is , once again, that  thunderbird does 
it's job of launching firefox, but the page that opens is a *downloaded 
*version such as

file:///tmp/blabla.html
where i would like it to open the url.

btw, i've managed to fix the mailto problem, now firefox opens 
thunderbird just fine. I've did it the newbie way by going to the 
preference-Applications and adding a mailto entry. Though i'm sure that 
i already try doing that before, anyway...






[gentoo-user] slim login manager issues

2009-06-08 Thread Laurent Lejeune
Hi all,

I'm having some issues with the slim login manager, which suits my very
basic needs very well, except from those two things:

* When starting, the keyboard doesn't respond quite well. The
  characters don't show on screen imediately, and sometimes, it gets
  even worse: it freezes for maybe 1-2 seconds, then the first key i
  hit gets stuck, which basically means it repeats that caracter a
  fine dozen of times.
* when i have to restart x, slim doesn't restarts itself up, i'm
  thrown back to basic console login prompt.

Any help greatly appreciated.

cya.



Re: [gentoo-user] slim login manager issues

2009-06-09 Thread Laurent Lejeune
Sebastian Günther wrote:
 * Laurent Lejeune (olo...@gmail.com) [08.06.09 19:19]:
   
 Hi all,

 I'm having some issues with the slim login manager, which suits my very
 basic needs very well, except from those two things:

 * When starting, the keyboard doesn't respond quite well. The
   characters don't show on screen imediately, and sometimes, it gets
   even worse: it freezes for maybe 1-2 seconds, then the first key i
   hit gets stuck, which basically means it repeats that caracter a
   fine dozen of times.
 

 I have that problem, too. But upstream has an even bigger problem: 
 Maintainer needed.

   
 * when i have to restart x, slim doesn't restarts itself up, i'm
   thrown back to basic console login prompt.

 

 https://bugs.gentoo.org/show_bug.cgi?id=261359

   
 Any help greatly appreciated.

 cya.

 

 I think until there is a new maintainer, nothing of this will get fixed 
 anytime soon. :-(

 Sebastian

   
I noticed that by changing the theme, the keyboard freeze issue
disappeared. As for the x restart sending me back to console login
prompt, i still have to investigate that.



Re: [gentoo-user] slim login manager issues

2009-06-10 Thread Laurent Lejeune
Sebastian Günther wrote:
 * Laurent Lejeune (olo...@gmail.com) [08.06.09 19:19]:
   
 Hi all,

 I'm having some issues with the slim login manager, which suits my very
 basic needs very well, except from those two things:

 * When starting, the keyboard doesn't respond quite well. The
   characters don't show on screen imediately, and sometimes, it gets
   even worse: it freezes for maybe 1-2 seconds, then the first key i
   hit gets stuck, which basically means it repeats that caracter a
   fine dozen of times.
 

 I have that problem, too. But upstream has an even bigger problem: 
 Maintainer needed.

   
 * when i have to restart x, slim doesn't restarts itself up, i'm
   thrown back to basic console login prompt.

 

 https://bugs.gentoo.org/show_bug.cgi?id=261359

   
 Any help greatly appreciated.

 cya.

 

 I think until there is a new maintainer, nothing of this will get fixed 
 anytime soon. :-(

 Sebastian

   
This is a pity since slim suits my needs perfectly except from that.
Anyway, I'm falling back to xdm, which does the job fine but lacks the
eye-candy...




RE: [gentoo-user] LiveCD distcc

2005-06-08 Thread Marchal Laurent
Another solution could be to run distcc in colinux on your Windows box,

that's I do home.

http://www.gentoo.org/doc/en/colinux-howto.xml

Just be sure to have Windows XP Pro edition, Windows XP home doesn't

work for me...



Laurent Marchal



-Original Message-

From: Pingveno [mailto:[EMAIL PROTECTED] 

Sent: mercredi 8 juin 2005 6:48

To: gentoo-user@lists.gentoo.org

Subject: [gentoo-user] LiveCD distcc





I'm running two computers in my house, one 550 MHz Pentium 3 and one 3

GHz Pentium 4. The slow one is running Gentoo Linux, while the fast one

is running Windows. I'd like to put together a LiveCD that can run

distcc on the faster computer just via a reboot. There's a Knoppix mod

with distcc, but apparently there are problems because of the version of

gcc that Debian uses. Gentoo has some extra patches for better security,

which can conflict with the Debian version of gcc.



Is there a way I can build a CD with a Gentoo-compatible version of

distcc?



-- 



I have balls. They're metaphorical, but they're mine. - Holly Bostick

-- 

gentoo-user@gentoo.org mailing list





-

Visit our website! http://www.nbb.beDISCLAIMER: The content of this

e-mail message should not be construed as binding on the part of the

National Bank of Belgium (NBB) unless otherwise and previously stated. The

opinions expressed in this message are solely those of the author and do

not necessarily reflect NBB viewpoints, particularly when the content of

this message, or part thereof, is private by nature or does not fall within

the professional scope of its author.



-- 
gentoo-user@gentoo.org mailing list



Re: ???UNSURE??? [gentoo-user] Faulty IDE ribbon?

2005-09-04 Thread Laurent CARON

Mick a écrit :


Hi All,

Just checking before I buy a new ribbon, that there is nothing more sinister
happening with my secondary IDE controller.  Suddenly and with no activity
on my secondary IDE controller there's a noise as if my /dev/hdc (8G ATA
drive) and /dev/hdd (CDWR) are reinitialised - i.e. the mechanical noises
usually observed when the machine is switched on and the BIOS probes the
devices on booting.

Both devices are not mounted and there is no media in the CDWR.  This is
what dmesg shows:
=
hdc: dma_timer_expiry: dma status == 0x61
hdc: DMA timeout error
hdc: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

ide: failed opcode was: unknown
hdc: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdc: task_in_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown
hdc: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }

[...snip]
hdd: DMA disabled
ide1: reset: success
hdc: dma_timer_expiry: dma status == 0x21
hdc: DMA timeout error
hdc: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

ide: failed opcode was: unknown
hdc: dma_timer_expiry: dma status == 0x21
hdc: DMA timeout error
hdc: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

ide: failed opcode was: unknown
hdc: dma_timer_expiry: dma status == 0x21
hdc: DMA timeout error
hdc: dma timeout error: status=0x80 { Busy }

ide: failed opcode was: unknown
hdc: DMA disabled
ide1: reset: success
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: ATAPI reset complete
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdd: ATAPI reset complete
hdd: status error: status=0x00 { }
ide: failed opcode was: unknown
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xef
=

The noises and error codes are randomly generated over time.

This is the hdparm outputs:
=
# hdparm /dev/hdc

/dev/hdc:
multcount= 32 (on)
IO_support   =  1 (32-bit)
unmaskirq=  1 (on)
using_dma=  1 (on)
keepsettings =  0 (off)
readonly =  0 (off)
readahead= 256 (on)
geometry = 16676/16/63, sectors = 8606545920, start = 0

# hdparm /dev/hdd

/dev/hdd:
IO_support   =  0 (default 16-bit)
unmaskirq=  0 (off)
using_dma=  0 (off)
keepsettings =  0 (off)
readonly =  0 (off)
readahead= 256 (on)
HDIO_GETGEO failed: Invalid argument
=
I thought that the CDRW DMA ought to be switched on?

Any advice appreciated.
 


Hi

Is your PCI bus overclocked ?



--
Aucune femme ne se marie pour l'argent :
elles sont toutes assez intelligentes pour tomber amoureuses d'un 
millionnaire avant de l'épouser.

-+- Cesare Pavese -+-

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Database only server

2010-01-12 Thread Laurent Kappler

Hi,

I'm looking for some information about the configuration for a server 
used only for a huge database.
I guess dépendanding on which database server used Mysql or Berkley the 
hardware should not be same.

Or is it all about having a lot of RAM ?

Could I do that using only Mysql or is it possible to have Mysql and 
Berkley, or should I have just Berkley ... ?


Happy new year!!
Laurent





Re: [gentoo-user] Database only server

2010-01-12 Thread Laurent Kappler

Albert W. Hopkins a écrit :

On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
  

Hi,

I'm looking for some information about the configuration for a server 
used only for a huge database.
I guess dépendanding on which database server used Mysql or Berkley the 
hardware should not be same.

Or is it all about having a lot of RAM ?

Could I do that using only Mysql or is it possible to have Mysql and 
Berkley, or should I have just Berkley ... ?



Could you do *what*?

Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
flat-file database.  It's not even relational, it's key-value based.

http://en.wikipedia.org/wiki/Berkeley_DB

One could argue that MySQL isn't a real DBMS too but I won't get into
that ;-)

Anyway it's very difficult to answer your questions without knowing what
your requirments are (how large is huge, how many simultaneous users,
anticipated queries/sec etc.)



  

:)
I would like to know more about a configuration with Two servers one for 
DB and one for Apache.
I would have no idea of the number of request right now, I would like to 
set up a scalable small structure first.
But there might be from 5 to a 100 e-commerce application with like 
between 20 and 5000 products...so it can be small but it can looks huge 
to me :)


For me Berkley DB was all loaded in RAM and those been very fast.
Even experimental I would like to set up something performant.

thx ;)
Laurent





Re: [gentoo-user] Database only server

2010-01-12 Thread Laurent Kappler

Laurent Kappler a écrit :

Albert W. Hopkins a écrit :

On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
 

Hi,

I'm looking for some information about the configuration for a 
server used only for a huge database.
I guess dépendanding on which database server used Mysql or Berkley 
the hardware should not be same.

Or is it all about having a lot of RAM ?

Could I do that using only Mysql or is it possible to have Mysql and 
Berkley, or should I have just Berkley ... ?



Could you do *what*?

Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
flat-file database.  It's not even relational, it's key-value based.

http://en.wikipedia.org/wiki/Berkeley_DB

One could argue that MySQL isn't a real DBMS too but I won't get into
that ;-)

Anyway it's very difficult to answer your questions without knowing what
your requirments are (how large is huge, how many simultaneous users,
anticipated queries/sec etc.)



  

:)
I would like to know more about a configuration with Two servers one 
for DB and one for Apache.
I would have no idea of the number of request right now, I would like 
to set up a scalable small structure first.
But there might be from 5 to a 100 e-commerce application with like 
between 20 and 5000 products...so it can be small but it can looks 
huge to me :)


For me Berkley DB was all loaded in RAM and those been very fast.
Even experimental I would like to set up something performant.

thx ;)
Laurent




ok now I see Berkley is a giant Hash table that would need some time to 
practice first to find specific use.

So I might have Mysql or you would recommend something else ?
And then instal BDB to experiment.
I searched google for info about configuring a server only for database 
but did not find anything relevent.

Where should I look?

Sorry to double post
Laurent



Re: [gentoo-user] Database only server

2010-01-12 Thread Laurent Kappler

Neil Walker a écrit :

Laurent Kappler wrote:
  

But there might be from 5 to a 100 e-commerce application with like
between 20 and 5000 products...so it can be small but it can looks
huge to me :)



So, what you are talking about is a really tiny database. Hmm. You could
run that pretty well using a straight text file on an 8 bit computer. ;)
If you
want scalability  for the future,  I still think  mysql  is  the best
option.


Be lucky,

Neil
http://www.the-workathome.com
 




  

...hm..I should install myodbc and use it to remotly request the db server?

Be strong, be wrong :)

Laurent



[gentoo-user] MongoDB

2010-01-21 Thread Laurent Kappler

Hi,

I was looking to emerge mongoDB and found this
http://bugs.gentoo.org/273259

Anyone knows how far this is gone, a layer somewhere?

Thank you
Laurent



Re: [gentoo-user] MongoDB

2010-01-25 Thread Laurent Kappler

Neil Bothwick a écrit :

On Thu, 21 Jan 2010 21:23:53 +0100, Laurent Kappler wrote:

  

I was looking to emerge mongoDB and found this
http://bugs.gentoo.org/273259

Anyone knows how far this is gone, a layer somewhere?



eix shows it's in the sunrise overlay.


  

Sorry I'm nooby, how could I get it emerge ?
I think I have layman emerged already.

thank you
Laurent



Re: [gentoo-user] MongoDB

2010-01-25 Thread Laurent Kappler

Thank you ;)
Sunrise...overwellming...

Crístian Viana a écrit :
you can follow this 
guide: http://www.gentoo.org/proj/en/overlays/userguide.xml


as you already have layman, you can now add the sunrise overlay so 
you'll be able to merge all the packages in there, like mongodb.


On Mon, Jan 25, 2010 at 6:13 PM, Laurent Kappler 
laur...@logiquefloue.org mailto:laur...@logiquefloue.org wrote:


Neil Bothwick a écrit :

On Thu, 21 Jan 2010 21:23:53 +0100, Laurent Kappler wrote:

 


I was looking to emerge mongoDB and found this
http://bugs.gentoo.org/273259

Anyone knows how far this is gone, a layer somewhere?
   



eix shows it's in the sunrise overlay.


 


Sorry I'm nooby, how could I get it emerge ?
I think I have layman emerged already.

thank you
Laurent




--
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, São Paulo, Brazil





[gentoo-user] emerge older version

2010-02-09 Thread Laurent Kappler

Hi,

I'm tryin to emerge ImageMagick version 6.4.7.0 while current in portage 
is 6.5.7.


How could I do that??

thanks
Laurent



Re: [gentoo-user] emerge older version

2010-02-09 Thread Laurent Kappler

Alex Schuster a écrit :

Laurent Kappler writes:

  

I'm tryin to emerge ImageMagick version 6.4.7.0 while current in
 portage is 6.5.7.

How could I do that??



Look in the attic [*] for old ebuilds. Looks like 6.4.7.0 is not 
available, so maybe you will download 6.4.8.3 which is the nearest 
version. Put the ebuild into your overlay, create a manifest (like ebuild 
/usr/local/portage/media-gfx/imagemagick/imagemagick-6.4.8.3.ebuild 
manifest), and try to emerge =media-gfx/imagemagick-6.4.8.3. This might 
work, but maybe there is other software you have installed that needs a 
newer version - then it would not work so easily.


Why do you need it anyway? You could also just fetch the tarball from 
imagemagick.org, build it in a local directory, and install to 
/usr/local/.


Wonko

[*] http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-
gfx/imagemagick/?hideattic=0


  

Thank you, I will check all this ;)

Laurent



Re: [gentoo-user] emerge older version

2010-02-09 Thread Laurent Kappler

Alex Schuster a écrit :

Laurent Kappler writes:

  

I'm tryin to emerge ImageMagick version 6.4.7.0 while current in
 portage is 6.5.7.

How could I do that??



Look in the attic [*] for old ebuilds. Looks like 6.4.7.0 is not 
available, so maybe you will download 6.4.8.3 which is the nearest 
version. Put the ebuild into your overlay, create a manifest (like ebuild 
/usr/local/portage/media-gfx/imagemagick/imagemagick-6.4.8.3.ebuild 
manifest), and try to emerge =media-gfx/imagemagick-6.4.8.3. This might 
work, but maybe there is other software you have installed that needs a 
newer version - then it would not work so easily.


Why do you need it anyway? You could also just fetch the tarball from 
imagemagick.org, build it in a local directory, and install to 
/usr/local/.


Wonko

[*] http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-
gfx/imagemagick/?hideattic=0


  
I'm using Haxe/Neko and we have a wrapper for ImageMagick, but as no one 
did really use it often the last version is made for IM 6.4.7.
So I might download the ebuild 6.4.5 in a hurry, then we will update the 
Haxe library.


Laurent



[gentoo-user] htpasswd works only for valid-user

2010-03-08 Thread Laurent Kappler

Hi

I'm using htpasswd to write the user password form my htaccess.

It works only if I put require valid-user not if I put require 
specificuser


any idea?

thx
Laurent



Re: [gentoo-user] htpasswd works only for valid-user

2010-03-09 Thread Laurent Kappler

Mick a écrit :

On Monday 08 March 2010 19:48:12 Laurent Kappler wrote:
  

Hi

I'm using htpasswd to write the user password form my htaccess.

It works only if I put require valid-user not if I put require
specificuser

any idea?



Have you tried:

AuthType Basic (or Digest)
AuthUserFile /usr/local/apache/passwd/htpasswords
Require user specificuser

Make sure that the path to the htpasswords file is outside your webroot - you 
don't want visitors to be able to access it!
  

;) ok got it

it was Require user not Require user.

Still my question about Limit GET POST ... it seems risky...

thank you!!
Laurent



Re: [gentoo-user] htpasswd works only for valid-user

2010-03-09 Thread Laurent Kappler

Mick a écrit :

On Monday 08 March 2010 19:48:12 Laurent Kappler wrote:
  

Hi

I'm using htpasswd to write the user password form my htaccess.

It works only if I put require valid-user not if I put require
specificuser

any idea?



Have you tried:

AuthType Basic (or Digest)
AuthUserFile /usr/local/apache/passwd/htpasswords
Require user specificuser

Make sure that the path to the htpasswords file is outside your webroot - you 
don't want visitors to be able to access it!
  

I check the log file here is the line:
77.54.124.11 - specificuser [09/Mar/2010:16:46:35 +0100] GET /admin 
HTTP/1.1 401 472


it does not auth.
My .htaccess:

AuthUserFile /so/secret/path/.htpasswd
AuthGroupFile /dev/null
AuthName Shoot the password
AuthType Basic
Limit GET POST
   require specificuser
/limit

FilesMatch ^([_a-z0-9A-Z])+$
   RewriteEngine On
   RewriteRule (.*) /admin/index.n
/FilesMatch

so I shall avoir this Limit keyword...? Actually I don't get why just 
specify that for GET and POST if someone arrive with a PUT does it mean 
it will let it pass??


Laurent






Re: [gentoo-user] htpasswd works only for valid-user

2010-03-09 Thread Laurent Kappler

Mick a écrit :

On Monday 08 March 2010 19:48:12 Laurent Kappler wrote:
  

Hi

I'm using htpasswd to write the user password form my htaccess.

It works only if I put require valid-user not if I put require
specificuser

any idea?



Have you tried:

AuthType Basic (or Digest)
AuthUserFile /usr/local/apache/passwd/htpasswords
Require user specificuser

Make sure that the path to the htpasswords file is outside your webroot - you 
don't want visitors to be able to access it!
  

it works with require valid-user, like it finds the htpasswd file.




[gentoo-user] trouble emerging x11-libs/gtk+

2010-09-27 Thread Laurent Kappler

 Hi,

I'm updating my system and compiling  x11-libs/gtk+-2.20.1-r1 fail:

 ERROR: x11-libs/gtk+-2.20.1-r1 failed:
 *   emake failed
 *
 * Call stack:
 * ebuild.sh, line   54:  Called src_compile
 *   environment, line 3075:  Called _eapi2_src_compile
 * ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *  emake || die emake failed


I looked on internet but did not find any solution appropriate to my 
problem.


Here is the emerge --info output:

System uname: 
linux-2.6.24.5-grsec--grs-ipv4-64-x86_64-intel-r-_core-tm-2_duo_cpu_e72...@_2.53ghz-with-gentoo-1.12.13

Timestamp of tree: Mon, 27 Sep 2010 12:30:19 +
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p37
dev-lang/python: 2.6.4-r1
dev-util/ccache: 2.4-r7
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -...@eula
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -pipe -march=k8
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo

CXXFLAGS=-O2 -pipe -march=k8
DISTDIR=/home/var/ftp/distfiles
FEATURES=assume-digests ccache collision-protect distlocks fixpackages 
news parallel-fetch protect-owned sfperms strict unmerge-logs 
unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/ 
ftp://mirror.ovh.net/gentoo-distfiles/;

LANG=fr...@euro
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages

PORTAGE_TMPDIR=/home/portage
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage/layman/haxe 
/usr/local/portage/layman/php-4 /usr/local/portage 
/usr/local/php/testing /usr/local/php/experimental

SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri 
fortran gd gdbm gif gpm iconv imap jpeg jpg ldap libwww maildir mmx 
modules mudflap multilib mysql ncurses netboot nls nptl nptlonly openmp 
pam pcre perl png pppd python readline reflection sasl session snmp sse 
sse2 ssl sysfs tcpd truetype unicode xml xml2 xorg zlib 
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw 
multi null plug rate route share shm softvol APACHE2_MODULES=actions 
alias auth_basic authn_alias authn_anon authn_dbm authn_default 
authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 
deflate dir disk_cache env expires ext_filter file_cache filter headers 
include info log_config logio mem_cache mime mime_magic negotiation 
rewrite setenvif speling status unique_id userdir usertrack vhost_alias 
ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver 
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate 
tnt ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 
ncurses text RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=fbdev 
glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx 
trident vesa via vmware voodoo XTABLES_ADDONS=quota2 psd pknock lscan 
length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit 
sysrq steal rawnat logmark ipmark dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, 
LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS



Thank you for any help

Laurent


Re: [gentoo-user] trouble emerging x11-libs/gtk+

2010-09-29 Thread Laurent Kappler

 Le 27/09/2010 21:25, Paul Hartman a écrit :

That being said, here is generic advice for any failing to compile:)

lafilefixer --justfixit
revdep-rebuild

This fixes it ;)
Thank you

Laurent



[gentoo-user] how to emerge with EXTRA_CFLAGS

2010-10-25 Thread Laurent Kappler

Hi,

I'm trying to emerge apache withe EXTRA_CFLAGS+=-g to be able to use 
the Core Dump behaviour as recommended here:

http://httpd.apache.org/dev/debugging.html

How should I do that?

thx
Laurent



Re: [gentoo-user] msmtp vs. nullmailer

2015-06-08 Thread Guy-Laurent Subri

Hi, I like to use msmtp. I actually never tried nullmailer, but msmtp
seemd a great choice. For the queue issue I can redirect you to a
document created by a Gentoo dev on mutt [0].

Guy-Laurent Subri

[0] https://dev.gentoo.org/~tomka/mail.html
On Mon, Jun 08, 2015 at 11:47:04AM +0200, Marc Joliet wrote:

Hi list,

As part of removing now superfluous server functionality on my desktop, I
replaced postfix with msmtp (and removed a bunch of other software).  However,
the portage default for virtual/mta is nullmailer.  (I also switched my laptop
from ssmtp to msmtp since ssmtp upstream has long been dead and has thus fallen
out of favour with Gentoo devs [0].)

Now, my reasoning for choosing msmtp was that development seemed more active.
The last release of nullmailer was in 2013, while msmtp has had a release or
two this year already.  However, the nullmailer repository [1] has shown a bit
of activity since the last release, though it looks fairly minor to me.

However, the one thing that annoys me is that msmtp does not seem to have any
sort of queue [2], so if it can't deliver an email, it must be resent, which is
annoying for system emails.  Now, I read that nullmailer has a queue (at both
[2] and [3]).

So my question is: what is your preference, nullmailer or msmtp (or neither?),
and why?  Is there anything that speaks against nullmailer, other than its
(seemingly) slow development?

[0] https://bugs.gentoo.org/show_bug.cgi?id=450812
[1] https://github.com/bruceg/nullmailer/commits/master
[2] http://sourceforge.net/p/msmtp/mailman/message/649420/
[3] http://www.troubleshooters.com/linux/nullmailer/

--
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup






Re: [gentoo-user] recommended applications

2015-05-25 Thread Guy-Laurent Subri

I also use zathura and feh.
For RSS and podcasts, I use newsbeuter (and podbeuter that comes with
it). Also, I'm a big fan of vim, so my browser is vimb (luakit is also a
good choice IMO).

BTW, Emanuele, what kind of issues do you have with zathura ? I don't
have any.

--
Guy-Laurent Subri
On Mon, May 25, 2015 at 11:08:07AM +0200, Emanuele Rusconi wrote:

On 25 May 2015 at 10:01, Franz Fellner alpine.art...@gmail.com wrote:

* llpp for pdfs


I didn't know it. I seems great!
I use qpdfview. And zathura on mupdf as an alternative but it has some
issues.

+1 for feh.

-- Emanuele Rusconi





Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-27 Thread Guy-Laurent Subri

Hi,
I'm using 'simple terminal', better known as st.

Here's the link to the website: http://st.suckless.org/
And here's also a link if you want other terminals that support
truecolors : https://gist.github.com/XVilka/8346728

Have a nice day!

--
glsubri