Content-Type: text/plain
debian-user-digest Digest Volume 2007 : Issue 2994
Today's Topics:
Re: vim syntax line [ Jerome BENOIT ]
lost sources.list file during atempt [ "Dave" ]
Re: backup script partly fails when [ Haines Brown ]
Re: Kernel (Enable PAE) [ Jochen Schulz ]
Re: Network is unreachable email err [ Mihira Fernando <mihiratheace@gmail ]
Date: Wed, 12 Dec 2007 12:34:59 +0800
From: Jerome BENOIT <jgmbenoit@mailsnare.net>
To: debian-user@lists.debian.org
Subject: Re: vim syntax line
Message-ID: <475F64F3.4090702@mailsnare.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
there is an explanation in the `debian.vim' .
Jerome
Lucas Prado Melo wrote:
> I don't know why... but when it happens I (re-(?))install vim...
>
> On Dec 11, 2007 8:00 PM, Jerome BENOIT <jgmbenoit@mailsnare.net
> <mailto:jgmbenoit@mailsnare.net>> wrote:
>
> You get the point.
>
> Thanks,
> Jerome
>
> Magnus Therning wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Dec 10, 2007 6:16 PM, Jerome BENOIT <jgmbenoit@mailsnare.net
> <mailto:jgmbenoit@mailsnare.net>> wrote:
> >> Hello List,
> >>
> >> I have just noticed on my Lenny box that the vim syntax line
> command in files
> >> does not work anymore whereas the syntax feature is on.
> >> May I set something in vimrc to make it works ? or is it a bug ?
> >
> > Are you talking about `modeline'?
> >
> > The relevant variables are `modeline' and `modelines'.
> >
> > /M
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> >
> > iD8DBQFHXmF6iMWTaatN+6QRAq4PAKCU4nFeDaZmZ+QmXIf7wsNaYm+HcwCfRb6m
> > LKmDnl1aK4DS1dEhsFxUgII=
> > =hE3K
> > -----END PGP SIGNATURE-----
> >
>
> --
> Jerome BENOIT
> jgmbenoit_at_mailsnare_dot_net
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> <mailto:debian-user-REQUEST@lists.debian.org>
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
>
>
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net
Date: Tue, 11 Dec 2007 21:36:21 -0800
From: Andrew Sackville-West <andrew@farwestbilliards.com>
To: debian-user@lists.debian.org
Subject: Re: How to start KDE from a console prompt?
Message-ID: <20071212053621.GA3266@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU"
Content-Disposition: inline
--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Dec 11, 2007 at 10:31:40PM -0600, Kent West wrote:
> Andrew Sackville-West wrote:
>> startx uses ~/.xinitrc to start up the X session. In case it doesn't
>> exist, then debian has some default stuff that starts whatever the
>> default window manager is. Look at `update-alternatives --config
>> x-window-manager` to set a different window manager as the default.=20
>> Or, write your own .xinitrc (this is what I do) to start up a session
>> the way you want the simplest is to use a one line .xinitrc with
>>
>> exec /usr/bin/startkde
>>
>>
>> =20
> I just put the bare "startkde" in my ~/.xinitrc. Of course, the method I=
=20
> use assumes I'm not doing other things in that file (which I'm not, other=
=20
> than switching between WMs via commented-out lines, as below).
>
> My ~.xinitrc file looks something like this:
>
> westk[@westk03]:/home/westk> cat .xinitrc
> #icewm
> #xterm
> #wmaker
> startkde
> #xfce
> #gnome-session
I always stick a
x-terminal-emulator at the end of that file so that if the WM bombs
for some reason, I'll get an xterm and at least know that X is
working...
also, I use `exec /path/to/WM` so that when the WM does work, it will
replace the current process so that upon exiting that xterm won't be
and keep the X session up. I think that's how it works
A
--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHX3NVaIeIEqwil4YRAs+JAJoCnoT30FxyhlaAP5yPrdL5mMt4sgCgxAgK
MB82M20fyoy00/APmnQdplA=
=JErI
-----END PGP SIGNATURE-----
--azLHFNyN32YCQGCU--
Date: Tue, 11 Dec 2007 23:59:47 -0800
From: Amit Uttamchandani <atu13439@csun.edu>
To: js <ebgssth@gmail.com>
Cc: "Daniel Burrows" <dburrows@debian.org>, debian-user@lists.debian.org
Subject: Re: Anyone using Debian on notebook?
Message-ID: <20071211235947.443a0831@debian.csun.edu>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 11 Dec 2007 00:56:10 +0900
js <ebgssth@gmail.com> wrote:
> I don't think debian works well on my ppc mac (iBook).
> I would buy thinkpad or something.
>
>
>
Really? I am running Debian Etch on a PowerBook G4 and have no problems at all. In fact, I really did not have to hack around or anything.
Date: Wed, 12 Dec 2007 09:16:32 +0100
From: Gebhardt Thomas <gebhardt@hrz.uni-marburg.de>
To: debian-user@lists.debian.org
Subject: Re: KDE doesn't connect to HAL
Message-Id: <200712120916.32897.gebhardt@hrz.uni-marburg.de>
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear Charlie,
On Tuesday 11 December 2007 22:55, Charlie wrote:
> You have installed hal?
>
> # apt-get install hal
yes, I did. And /usr/sbin/hald (which is part of the hal package)
is running.
Cheers, Thomas
Date: Wed, 12 Dec 2007 02:16:28 -0600
From: Andrew Varner <andrew.varner@marquette.edu>
To: <debian-user@lists.debian.org>
Subject: X server crashes everything
Message-ID: <1197447388.17241.4.camel@allium.tower.mu.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi
I have a problem with the X server. When I type 'X', the screen goes
black and everything stops. SysRq+b doesn't even work. Is it likely that
I am missing the driver?
Everything installed is the stable version. It's an HP laptop with a
GeForce Go video card.
Date: Wed, 12 Dec 2007 09:03:14 +0100
From: =?utf-8?B?QW5kcsOp?= Berger <andre.berger@web.de>
To: debian-user@lists.debian.org
Subject: Debian kernel with make uImage?
Message-ID: <20071212080314.GA838@hvk>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I have pulled the latest security fixed 2.6.18 sources and extracted
them with "dpkg-source -x *dsc", copied my .config, run "make
oldconfig".
Will "make uImage" result in a security fixed kernel now, or are
there any commands I would have to run manually if not using
"make-kpkg <options here> kernel_image"?
-Andr=C3=A9
--=20
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.o=
rg>
Date: Wed, 12 Dec 2007 08:45:17 +0000
From: Anthony Campbell <ac@acampbell.org.uk>
To: debian-user@lists.debian.org
Subject: Re: System Lockup
Message-ID: <20071212084517.GH17889@acampbell.org.uk>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On 11 Dec 2007, Michael Pobega wrote:
> On Tue, Dec 11, 2007 at 12:05:22PM -0500, Thomas H. George wrote:
> Were you by chance using flashplayer? When I used to use the flash
> package I got random crashes and lock ups...When I realized that flash
> was the cause of these lockups I stopped using it and haven't touched it
> since.
>
That's interesting. In the last couple of days I found that Iceweasel
was crashing when I tried to access my account on amazon.co.uk.
Eliminating flashplayer has prevented this behaviour.
Anthony
--
Anthony Campbell - ac@acampbell.org.uk
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews,
on-line books and sceptical articles)
Date: Wed, 12 Dec 2007 17:47:35 +0800
From: Bob <spam@homeurl.co.uk>
To: debian-user@lists.debian.org
Subject: Re: ntpd restart on IP address change the Debian way
Message-ID: <475FAE37.50704@homeurl.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Bob wrote:
> Is there such a thing?
>
> When my firewall / dhcp server / ntp server gets a fresh IP address
> from my ISP the ntp daemon stops responding to requests.
>
> This is a well know bug [0] and there are a lot of posts about it but
> no consensus on a work around.
>
> Any help?
>
> Thanks
>
> [0] it's so old a well known it's about to get rebranded as a 'feature'.
Is the silence because it's a stupid question or because there isn't a
preferred work around for this?
Thanks.
Date: Wed, 12 Dec 2007 05:05:34 -0500
From: "Dave" <dmehler26@woh.rr.com>
To: <debian-user@lists.debian.org>
Subject: lost sources.list file during atempted upgrade
Message-ID: <003601c83ca6$89544c60$0200a8c0@satellite>
Content-Type: text/plain;
format=flowed;
charset="Windows-1252";
reply-type=original
Content-Transfer-Encoding: 7bit
Hello,
I'm a newbie to Debian Etch but not new to Linux in general.
I was reading the Debian Reference doc section 5.2 going to upgrade from
i believe the terms are Etch Stable to testing. I did a
cp -f sources.list sources.list.old
and later discovered that both files were of zero length. I assume i have a
problem?
I was using an http retrieval method, the installer said http was less
prown to errors so i went with it. And the mirror i was using was
osuosl.org. During the initial install i was asked about what types of
software i'd like, i selected all of it, from memory that's contrib,
non-free, stable, security, there's probably more.
How can i regenerate my sources.list file and then proceed with my
upgrade to testing?
Thanks.
Dave.
Date: 12 Dec 2007 05:42:16 -0500
From: Haines Brown <brownh@hartford-hwp.com>
To: debian-user@lists.debian.org
Subject: Re: backup script partly fails when in cron.weekly
Message-ID: <87lk80chyv.fsf@teufel.hartford-hwp.com>
Content-Type: text/plain; charset=us-ascii
Andrew Sackville-West <andrew@farwestbilliards.com> writes:
> On Tue, Dec 11, 2007 at 08:24:07AM -0500, Haines Brown wrote:
> > Benjamin Schmidt <b.schmidt@t-p.com> writes:
> >
> > > But maybe you should not use this (in my opinion) unusual command "find
> > > / -print ...". Instead use tar, like:
> > >
> > > tar -zcvf /media/mirror/`date +%F`.tar.gz -C / --exclude=/media/*
> > > --exclude=/proc/* --exclude=/sys/* --exclude=/mnt/*
> >
> > Benjamin, thanks for the suggestion, but I had a problem with the
> > script:
> >
> > Cowardly refusing to create an empty archive
> >
> > I don't understand this error.
>
> It means that when tar followed all the instructions you gave it,
> there was nothing left to put in the archive, so it sanely refuses to
> create the archive. I looks like you're missing the final path on that
> line. man tar
Andrew, I appended a "\*" to the script and it seems now to
run OK. Thanks.
--
Haines Brown, KB1GRM
Date: Wed, 12 Dec 2007 08:44:30 -0200
From: =?ISO-8859-1?Q?M=E1rcio_Luciano_Donada?=
<mdonada@auroraalimentos.com.br>
To: debian-user@lists.debian.org
Subject: Kernel (Enable PAE)
Message-ID: <475FBB8E.1020709@auroraalimentos.com.br>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=20
Hi List
We have an HP server with 8Gb of memory, but the system is recognizing
just 4Gb. Baixei the sources of kernel to the compilation of the PAE
module, but when I install the new kernel I have the following message
system:
You are attempting to install a kernel image (version 2.6.18)
However, the directory /lib/modules/2.6.18/kernel still =20
exists. If this directory belongs to a previous linux-image-2.6.18
package, and if you have deselected some modules, =20
or installed standalone modules packages, this could be
bad. =20
=
=20
=20
=20
If /lib/modules/2.6.18/kernel belongs to a old install of
linux-image-2.6.18, then this is your last chance to abort =20
the installation of this kernel image (nothing has been changed
yet). =20
=
=20
=20
=20
If you know what you are doing, and if you feel that this image
should be installed despite this anomaly, Please =20
answer n to the
question. =
=20
=20
=20
=
=20
=20
=20
Otherwise, I suggest you move /lib/modules/2.6.18/kernel out of the
way, perhaps to /lib/modules/2.6.18.kernel.old or =20
something, and then try re-installing this
image. =
=20
=20
=
=20
=20
=20
Stop install since the kernel-image is already installed? =20
Some ideas?
- --
M=E1rcio Luciano Donada <mdonada at auroraalimentos dot com dot br>
Aurora Alimentos - Cooperativa Central Oeste Catarinense
Departamento de T.I.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
=20
iD4DBQFHX7uMbjyCr4Ixg0wRAie1AKCHekHZm7oRiThN9ujLuL1i5b7wDQCY1QcC
N7jpwkZyGfAXxBbn/GYA/g=3D=3D
=3DAWI9
-----END PGP SIGNATURE-----
Date: Wed, 12 Dec 2007 10:28:39 +0000
From: koffiejunkie <koffiejunkielistlurker@koffiejunkie.za.net>
To: debian-user@lists.debian.org
Subject: OT: Turion64 motherboard?
Message-ID: <475FB7D7.40107@koffiejunkie.za.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi guys,
My Turion64 notebook's motherboard is dying, and since replacing it
costs more than another notebook (which I already bought...), I'm hoping
to use the CPU in a little media-center/file-server box.
Does anyone have experience of using Turion64 CPUs on desktop boards?
I'd prefer Mini-ATX or smaller. From what I've read it's just a E6
stepping Socket-754 processor, so any board that supports that *should*
work, but I'm not finding any boards that list support for Turion64 CPUs?
Thanks
Date: Wed, 12 Dec 2007 21:58:54 +1100
From: hce <webmail.hce@gmail.com>
To: "Debian User" <debian-user@lists.debian.org>
Subject: Re: Network is unreachable email error
Message-ID: <95455e980712120258y7e7f3cai66b63338b743326c@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 12/12/07, Mihira Fernando <mihiratheace@gmail.com> wrote:
> hce wrote:
> >
> > $ /usr/sbin/postconf -n
> > alias_database = hash:/etc/aliases
> > alias_maps = hash:/etc/aliases
> > append_dot_mydomain = yes
> > biff = no
> > canonical_maps = hash:/etc/postfix/canonical
> > config_directory = /etc/postfix
> > inet_interfaces = loopback-only
> > inet_protocols = ipv4
> > mailbox_size_limit = 51200000
> > masquerade_domains = bizmail.com.au
> > mydestination = mail.bizmail.com.au
> > myhostname = debian
> > mynetworks = 127.0.0.0/8
> > myorigin = /etc/mailname
> > recipient_delimiter = +
> > relayhost =
> > smtp_sasl_auth_enable = yes
> > smtp_sasl_mechanism_filter = login
> > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> > smtp_sasl_security_options = noanonymous
> > smtp_sasl_type = cyrus
> > smtp_tls_CApath = /etc/ssl/certs
> > smtp_tls_security_level = may
> > smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
> > smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> > smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
> > smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
> > smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> > smtpd_use_tls = yes
> >
> > The bizmail.com.au is wrong, it was my old ISP, but I could not find
> > where the parameters get it from?
> Most likely this is in your main.cf
>
> >
> > I only use one file mailname and I have changed mailname to
> > smtp.gmail.com:587, but still got port 25:
> What is mailname ? are you referring to /etc/mailname ?
> Your postfix configuration doesnt seem to be using any file called mailname so
> changing that will not help you.
> >
> > Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
> > mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)
> Because you're not using a relayhost, Postfix is trying to send the mail
> directly to the recipient's mailserver and since your ISP is blocking port 25,
> Postfix cannot access it.
>
> >
> > That's correct. I've only got three files contains specific mail
> > information in postfix:
> >
> > 1. mailname: smtp.gmail.com:587
> Again, what is this file ? where is it located ?
> >
> > 2. canonical
> >
> > yh webmail.hce@gmail.com
> > root webmail.hce@gmail.com
> >
> > 3. sasl_passwd
> >
> > smtp.gmail.com webmail.hce@gmail.com:mypassword
> >
> > That was working fine to my previous ISP bizmail.com.au, or may be
> > because the postfix config set to:
> >
> > masquerade_domains = bizmail.com.au
> > mydestination = mail.bizmail.com.au
> >
> > I could not find postfix.conf, and where I can change those parameers?
> /etc/postfix/main.cf is the place to change these parameters.
>
> If your postfix version is > 2.3 you can use the postconf -e command to edit the
> main.cf like this:
> postconf -e parameter_name=value
>
> Try the following (as root) :
>
> # postconf -e relayhost=[smtp.gmail.com]:587
>
> To remove the masquerades :
> # postconf -e masquerade_domains=
>
> Since you're not mail.bizmail.com.au, change mydestination to either your FQDN
> and/or simply localhost.
>
> # postconf -e mydestination=localhost
>
> Now reload Postfix:
>
> # postfix reload
>
> That should get things moving.
Almost, but it has following error for certificates, it seems that was
a ssl proglem, but I don't know how to fix it:
Dec 12 21:50:42 debian postfix/master[2740]: reload configuration /etc/postfix
Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
from=<webmail.hce@gmail.com>, size=455, nrcpt=1 (queue active)
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.109]: no mechanism available
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
to=<webmail.hce@gmail.com>, relay=smtp.gmail.com[64.233.167.111]:587,
delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.111]: no mechanism available)
I should clarify that my main.cf was copied from a friend's Ubuntu
machine. Not sure if something was missing? I did check that
/etc/ssl/certs/ssl-cert-snakeoil.pem and
/etc/ssl/private/ssl-cert-snakeoil.key did exist.
$ sudo /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = loopback-only
inet_protocols = ipv4
mailbox_size_limit = 51200000
masquerade_domains = localhost
mydestination =
myhostname = debian
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = smtp.gmail.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = login
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
How can I fix it?
Thank you.
Jim
Date: Wed, 12 Dec 2007 12:23:07 +0100
From: Jochen Schulz <ml@well-adjusted.de>
To: debian-user@lists.debian.org
Subject: Re: Kernel (Enable PAE)
Message-ID: <20071212112306.GA27289@wasteland.homelinux.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc"
Content-Disposition: inline
--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
M=E1rcio Luciano Donada:
>
> We have an HP server with 8Gb of memory, but the system is recognizing
> just 4Gb. Baixei the sources of kernel to the compilation of the PAE
> module, but when I install the new kernel I have the following message
> system:
What part of the message don't you understand? You are trying to
install a kernel image in a version which you already have installed.
Overwriting the /lib/modules/<kernel version> directory might be a bad
idea and that's why you should probably move the existing directory out
of the way before installing the new one. Just do that and everything
will be fine.
J.
--=20
I wish I could achieve a 'just stepped out of the salon' look more
often. Or at least once.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHX8Sa+AfZydWK2zkRAuSxAJ9B1vhcQjQQiGzdnQTD6DCiM6oDyACeJW9Q
9GzN7VWDyQ6/ic7tKYRSa4A=
=mP0s
-----END PGP SIGNATURE-----
--C7zPtVaVf+AK4Oqc--
Date: Wed, 12 Dec 2007 18:29:57 +0000
From: Mihira Fernando <mihiratheace@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: Network is unreachable email error
Message-Id: <200712121829.58274.mihiratheace@gmail.com>
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Wed December 12 2007 10:58 am, hce wrote:
> Almost, but it has following error for certificates, it seems that was
> a ssl proglem, but I don't know how to fix it:
>
> Dec 12 21:50:42 debian postfix/master[2740]: reload configuration
> /etc/postfix Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
> from=<webmail.hce@gmail.com>, size=455, nrcpt=1 (queue active)
> Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=20:unable to get local issuer
> certificate
> Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=27:certificate not trusted
> Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=21:unable to verify the first
> certificate
> Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
> authentication failure: No worthy mechs found
> Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
> authentication failed; cannot authenticate to server
> smtp.gmail.com[64.233.167.109]: no mechanism available
> Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=20:unable to get local issuer
> certificate
> Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=27:certificate not trusted
> Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
> failed for smtp.gmail.com: num=21:unable to verify the first
> certificate
> Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
> authentication failure: No worthy mechs found
> Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
> to=<webmail.hce@gmail.com>, relay=smtp.gmail.com[64.233.167.111]:587,
> delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
> authentication failed; cannot authenticate to server
> smtp.gmail.com[64.233.167.111]: no mechanism available)
>
>
> I should clarify that my main.cf was copied from a friend's Ubuntu
> machine. Not sure if something was missing? I did check that
> /etc/ssl/certs/ssl-cert-snakeoil.pem and
> /etc/ssl/private/ssl-cert-snakeoil.key did exist.
Ubuntu may have its own customizations that Debian does not have. NEVER copy
and paste a main.cf from someone else!
>
> $ sudo /usr/sbin/postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = yes
> biff = no
> canonical_maps = hash:/etc/postfix/canonical
> config_directory = /etc/postfix
> inet_interfaces = loopback-only
> inet_protocols = ipv4
> mailbox_size_limit = 51200000
> masquerade_domains = localhost
> mydestination =
> myhostname = debian
> mynetworks = 127.0.0.0/8
> myorigin = /etc/mailname
> recipient_delimiter = +
> relayhost = smtp.gmail.com:587
> smtp_sasl_auth_enable = yes
> smtp_sasl_mechanism_filter = login
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous
> smtp_sasl_type = cyrus
> smtp_tls_CApath = /etc/ssl/certs
> smtp_tls_security_level = may
> smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
> smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> smtpd_use_tls = yes
>
>
> How can I fix it?
Asusming that above listed is your server's postconf output,
As root run :
Lets not use unknown variables here so :
# postconf -e smtpd_banner=$myhostname
Your forgot the square brackets for the relayhost. This is not a must but it
helps speed things up as square brackets stops postfix from doing MX lookups.
#postconf -e relayhost=[smtp.gmail.com]:587
AFAIK, no need to use CApaths for relaying with Gmail.
# postconf -e smtp_tls_CApath=
and reload Postfix.
Mihira.
--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been
approved.
End of debian-user-digest Digest V2007 Issue #2994
**************************************************
Received on Wed Dec 12 06:53:01 2007