Primary and secondary sendmail servers
by Steve Searle
When configuring a primary and secondary sendmail server, how does the
secondary mail server know it should relay anythign to the primary one?
Is it just by the mailserver examining the DNS mx records, or is there
something else in either of the sendmail configurations?
Steve
--
Website: www.stevesearle.com
Twitter: @ReddishShift
Facebook: www.facebook.com/steve.searle
14:03:00 up 9 days, 58 min, 2 users, load average: 0.03, 0.04, 0.00
12 years, 8 months
Fedora 15 won't do automatic updates
by James Bridge
Using Fedora 15 with Gnome 3 I can only get updates manually, either
with Yum or Software Update. That works fine but it is supposed to check
for updates automatically and it doesn't. The options are set using
"Software Updates" (note the final s!) and I have it set to check daily,
for all updates. Nothing happens. Why not?
--
James Bridge <james(a)xmas.demon.co.uk>
12 years, 8 months
F14 hangs at the last second of shutting down
by Cricket Long
My F14 could not shutdown completely. I use command 'halt' in terminal to shutdown my F14, then a list a info would be listed on the screen, after "System halted" my machine hangs and leaves the info listed on the screen, no key works, I could only press the power key for a while to force it to shutdown. It is quit inconvenient though no damage to my data.
Any help would be appreciated!
12 years, 8 months
persoanlizing SPAM filters with dovecot's ldat delivery for virtual users
by Chris Kottaridis
I am running Fedora 14. I have a dovecot imap server running.
I am using MIMEDefang milter to do spam filtering via sendmail, haven't
got it to do virus filtering yet, but will. I have sendmail using
dovecot's lda for the local mail delivery. I have sieve enabled in lda
and the sieve filters in place. So, mail gets directly delivered to the
folders and not to INBOX if a filter matches. One filter looks for the
X-Spam-Score header created by MIMEDefang when it calls spamassassin.
Everything is working OK.
The issue is that some spam doesn't get tagged by spamassassin and ends
up in the INBOX. However, if I enable evolution to filter for junk
evolution finds it and moves it to the Junk folder. I believe evolution
finds it because in the past I had evolution doing all the filtering and
had marked various emails as junk. I believe evolution runs spamassassin
with a learning mode so when I mark an email as junk it learns that is
junk and modifies a private file for the user indicating that this user
considers this email to be junk and uses that info in future email
filtering. Here is a reference to the user specific spamassassin config
file from the spamassassin man page:
------------------------------------------------------
Individual user preferences are loaded from the location specified on
the "spamassassin", "sa-learn", or "spamd" command line (see
respective
manual page for details). If the location is not specified,
~/.spamassassin/user_prefs is used if it exists. SpamAssassin
will
create that file if it does not already exist, using
user_prefs.template as a template
-------------------------------------------------------
My question is whether there is anyway for the virtual mail users I now
have to do a similar kind of learning ?
I'd expect you'd need a way for ldap to run spamassassin with some
option to look in the virtual user's home directory for a virtual user
specific spam rule file and run spam on the mail again, even though
sendmail ran it through a milter already but without the user's spam
rule file, and tag the message as spam before running sieve that could
see the added header and file it accordingly. You'd only need to run it
on messages that MMEDefang didn't already identify as spam. I am not
sure how you'd be able to update that local spam learning file though.
Anyway, I thought I would ask if there is some way to allow my
configuration to do personalized spam learning for my virtual users.
I am assuming the answer is no, but there may be something out there I
haven't run across yet.
Thanks
Chris Kottaridis
12 years, 8 months
Unable to create a liveUSB from Fedora-15-i386-DVD.iso
by yudi v
I am unable to create a liveUSB install of Fedora-15-i386-DVD.iso.
first I tried
dd if=~/Download/F15-Server-i386-DVD.iso of=/dev/sdc
copies the files fine, but will not boot. not sure why?
something flashes by too quickly and then boots from the HDD.
/dev/sdc1 has the boot flag set.
As I do not have access to a Fedora system, what other method can I use to
create a liveUSB?
--
Kind regards,
Yudi
12 years, 8 months
Re: how do I test laptop internal hard drive from Knoppix DVD?
by Darlene Wallach
Michael,
On Thu, Jul 28, 2011 at 5:40 AM, Michael D. Setzer II
<mikes(a)kuentos.guam.net> wrote:
> On 28 Jul 2011 at 5:14, Darlene Wallach wrote:
>
> Date sent: Thu, 28 Jul 2011 05:14:02 +0000
> Subject: Re: how do I test laptop internal hard drive from
> Knoppix DVD?
> From: Darlene Wallach <freepalestin(a)dslextreme.com>
> To: Community support for Fedora users
> <users(a)lists.fedoraproject.org>
> Send reply to: Community support for Fedora users
> <users(a)lists.fedoraproject.org>
> <mailto:users-
> request(a)lists.fedoraproject.org?subject=unsubscribe>
> <mailto:users-
> request(a)lists.fedoraproject.org?subject=subscribe>
>
>> On Thu, Jul 28, 2011 at 1:30 AM, Joe Zeff <joe(a)zeff.us> wrote:
>> > On 07/27/2011 01:51 PM, Darlene Wallach wrote:
>> >> Is there a way for me to use the Knoppix DVD to test the internal hard
>> >> drive of my laptop?
>> >
>> > Wouldn't it be better to ask this on a Knoppix forum or list?
>> > --
>>
>> On my laptop I cannot boot into graphical mode nor text mode. I'm
>> using a Knoppix 6.5 I got in a Linux Magazine. I thought there might
>> be a tool I could use from the Knoppix live DVD to test the internal
>> drive on my laptop. I currently have Fedora 13 installed on my laptop.
>> I don't know how to check/test the internal drive on my laptop using
>> the Knoppix 6.5 live DVD. If someone can give me some advice, I would
>> greatly appreciate it.
>>
>> Thank you
>
> Questions.
> What happens when you try to boot from the internal disk?
I have Fedora 13 installed.
On the graphical boot it shows text that usually does not show then
the progressive bar at the bottom of the screen starts out blue ending
with Fedora 13. When it reaches Fedora 13 it turns white and thats it
- nothing happens after that.
When I edit the boot prompt editing the kernel line - I add a space
and 3, it still does not boot, I get the text that I have not seen
before and it halts, I think that last thing displayed is "killed"
> If it gives and error, what is the error?
I don't remember everything displayed and I don't know how to access
it from using the Knoppix live DVD. I guess I would have to get access
to /var/log/messages or dmesg
> What OS do you have one the internal disk?
GNU/Linux the Fedora 13 distribution
> Are you looking at it having a hardware error or a configuration
> error?
I'm thinking I'm having a problem with the internal hard drive. It
shutdown last night and the problem started when I tried to boot this
morning.
> What kind of video card (chip) does the laptop have?
nvidia
> I am assuming the Knoppix CD is booting in graphics mode?
Yes
>
> There are also some kernel options that might help. I recently had
> a compaq laptop that would not boot with the regular keneral
> options, but with some failsafe options it worked fine.
What do you suggest I try on the kernel options?
>
> If it is hardware, some live-cds include testdisk program, which
> can do things to check and possible repair issues.
The Knoppix 6.5 live DVD has testdisk but I'm not sure how to accesss
the internal hard drive of the laptop.
Thank you very much for taking the time to respond!
Darlene Wallach
--
equal justice under law
12 years, 8 months
SOLVED Re: how do I test laptop internal hard drive from Knoppix DVD?
by Darlene Wallach
Alan, Michael,
Thank you very much for responding! I am saving your feedback in my notes.
I used the graphical access on the Knoppix 6.5 DVD and finally saw the
internal hard drive then used a terminal window to use "ls" so I could
see that the hard drive appeared to be okay. I shutdown last night.
This morning when I booted it booted to where I had expected it would
have booted before - saying there was a problem and I then ran fsck -
then it successfully booted.
And I see from your response, that I should have done that when I
edited the boot prompt in the first place.
Thank you very much for taking the time to respond!
It is nice to have my laptop working again.
Darlene Wallach
On Thu, Jul 28, 2011 at 2:25 AM, Alan Cox <alan(a)lxorguk.ukuu.org.uk> wrote:
>> the progressive bar at the bottom of the screen starts out blue ending
>> with Fedora 13. When it reaches Fedora 13 it turns white and thats it
>> - nothing happens after that.
>
> Does it just go white or does it fade to white. A white screen sounds
> like the X server/graphics being the problem, so the '3' failure case is
> odd.
>
>> When I edit the boot prompt editing the kernel line - I add a space
>> and 3, it still does not boot, I get the text that I have not seen
>> before and it halts, I think that last thing displayed is "killed"
>
> The content of the text is somewhat important if you want anyone to be
> able to debug it.
>
>> I'm thinking I'm having a problem with the internal hard drive. It
>> shutdown last night and the problem started when I tried to boot this
>> morning.
>
> Boot with "init=/bin/sh"
>
> Then at the # prompt
>
> fsck -a /
> fsck -a /boot
> sync
> sync
> reboot
>
> This will bring up just the kernel itself and a shell (no init, no
> services), and you can then force a check of the file systems. If there
> is anything inconsistent on the Linux side that should show it up and
> probably fix it.
>
>
--
equal justice under law
12 years, 8 months
Ibus eating cntl-space key
by Stuart McGraw
In Emacs, the cntl-space key is important and
I use it frequently. Because it conflicts with
the use of cntl-space in Ibus to toggle Ibus
on/off, I remapped alt-space to that function in
Ibus. This worked well in Fedora-11 for several
years and in Fedora-15 after I first installed it.
It stopped working after an Ibus update but another
Ibus update that arrived shortly after fixed it
again. After yet another Ibus update it is broken
again. :-(
Currently (ibus-1.3.99.20110714-11), if cntl-space is
assigned "Enable or Disable" in Ibus prefs, it works
as expected. However, typing cntl-space in Emacs is
not seen by Emacs (unsurprisingly -- I assume it was
intercepted by Ibus).
When I delete cntl-space in Ibus prefs and assign
alt-space instead, alt-space then toggles the IME
on/off as expected and cntl-space has no effect in
Ibus (also as expected). However, cntl-space still
has no effect in Emacs (unexpected!).
Terminating Ibus results in cntl-space working in
Emacs again.
Is there some secret setting I am missing? Should I
report a bug?
12 years, 8 months
Fedora Live CD - NFS unsupported
by Franta Hanzlík
Know anyone, why is NFS support in Fedora desktop so poor?
Fedora 14 and 15 Live CD not support it (AFAIK), Nautilus and Gnome
desktop not support connection to NFS share. Why is lot of other
protocols supported, an native Unix network FS not?
Franta Hanzlik
12 years, 8 months
issues with valgrind in Fedora 15
by Ranjan Maitra
Hi,
I have been trying to use valgrind with Fedora 15 and I find that I am
not getting the complete backtrace information. Let me provide a simple
example:
/* file test.c */
#include <stdio.h>
int main(void) {
int i;
fprintf(stderr, "i = %d\n", i);
} /* main */
Compile with:
gcc -o -g test test.c
Then I run valgrind on Fedora 15, and here is what I get. (I also
provide the output for Ubuntu 10.04 for comparison.) How can I get more
complete backtrace information using Fedora?
(Not that I am not interested in debugging the above sample program, but
for finding out why valgrind for me does not provide more complete
backtrace information.)
Thanks a lot in advance!
Best wishes,
Ranjan
Output of valgrind on Fedora 15:
$ valgrind ./test
==31745== Memcheck, a memory error detector
==31745== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==31745== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==31745== Command: ./test
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x35: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x35: ???
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x3630: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x3630: ???
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x363136: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x363136: ???
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x36313732: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x36313732: ???
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x31373334: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x31373334: ???
==31745==
==31745== Use of uninitialised value of size 4
==31745== at 0x4692BA88: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x37333532: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692BA91: _itoa_word (in /lib/libc-2.14.so)
==31745== by 0x37333532: ???
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692D177: vfprintf (in /lib/libc-2.14.so)
==31745== by 0x46930D7A: buffered_vfprintf (in /lib/libc-2.14.so)
==31745== by 0x469367AE: fprintf (in /lib/libc-2.14.so)
==31745== by 0x46903412: (below main) (in /lib/libc-2.14.so)
==31745==
==31745== Conditional jump or move depends on uninitialised value(s)
==31745== at 0x4692CCD1: vfprintf (in /lib/libc-2.14.so)
==31745== by 0x46930D7A: buffered_vfprintf (in /lib/libc-2.14.so)
==31745== by 0x469367AE: fprintf (in /lib/libc-2.14.so)
==31745== by 0x46903412: (below main) (in /lib/libc-2.14.so)
==31745==
i = 1185353716
==31745==
==31745== HEAP SUMMARY:
==31745== in use at exit: 0 bytes in 0 blocks
==31745== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==31745==
==31745== All heap blocks were freed -- no leaks are possible
==31745==
==31745== For counts of detected and suppressed errors, rerun with: -v
==31745== Use --track-origins=yes to see where uninitialised values come from
==31745== ERROR SUMMARY: 22 errors from 16 contexts (suppressed: 12 from 8)
Output of valgrind on Ubuntu 10.04:
==29914== Memcheck, a memory error detector
==29914== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==29914== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==29914== Command: ./test
==29914==
==29914== Use of uninitialised value of size 8
==29914== at 0x4E71E4B: _itoa_word (_itoa.c:195)
==29914== by 0x4E73138: vfprintf (vfprintf.c:1613)
==29914== by 0x4E778DF: buffered_vfprintf (vfprintf.c:2254)
==29914== by 0x4E725AD: vfprintf (vfprintf.c:1306)
==29914== by 0x4E7D497: fprintf (fprintf.c:33)
==29914== by 0x40058A: main (test.c:5)
==29914==
==29914== Conditional jump or move depends on uninitialised value(s)
==29914== at 0x4E71E55: _itoa_word (_itoa.c:195)
==29914== by 0x4E73138: vfprintf (vfprintf.c:1613)
==29914== by 0x4E778DF: buffered_vfprintf (vfprintf.c:2254)
==29914== by 0x4E725AD: vfprintf (vfprintf.c:1306)
==29914== by 0x4E7D497: fprintf (fprintf.c:33)
==29914== by 0x40058A: main (test.c:5)
==29914==
==29914== Conditional jump or move depends on uninitialised value(s)
==29914== at 0x4E74FB1: vfprintf (vfprintf.c:1613)
==29914== by 0x4E778DF: buffered_vfprintf (vfprintf.c:2254)
==29914== by 0x4E725AD: vfprintf (vfprintf.c:1306)
==29914== by 0x4E7D497: fprintf (fprintf.c:33)
==29914== by 0x40058A: main (test.c:5)
==29914==
==29914== Conditional jump or move depends on uninitialised value(s)
==29914== at 0x4E73226: vfprintf (vfprintf.c:1613)
==29914== by 0x4E778DF: buffered_vfprintf (vfprintf.c:2254)
==29914== by 0x4E725AD: vfprintf (vfprintf.c:1306)
==29914== by 0x4E7D497: fprintf (fprintf.c:33)
==29914== by 0x40058A: main (test.c:5)
==29914==
i = 0
==29914==
==29914== HEAP SUMMARY:
==29914== in use at exit: 0 bytes in 0 blocks
==29914== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==29914==
==29914== All heap blocks were freed -- no leaks are possible
==29914==
==29914== For counts of detected and suppressed errors, rerun with: -v
==29914== Use --track-origins=yes to see where uninitialised values come from
==29914== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 4 from 4)
12 years, 8 months