RE: what am I missing, getting SMTP to work
by Cowles, Steve
Mike Rambour wrote:
> I am configuring a new machine and I can't get it to work. I am
> using Core1, all the patches and Postfix. I am trying to use my
> Linux box as a outgoing mail server from home and not use my ISP's
> SMTP, I can send mail from the Linux machine but not from my home
> machines (another Linux for me and Windows for my wife and daughter).
>
See my inserts below...
> the output of nmap is (From work to home not the same net) says
> smtp is Closed but I cant figure out why:
> PORT STATE SERVICE
> 21/tcp open ftp
> 22/tcp open ssh
> 25/tcp closed smtp
> 80/tcp open http
>
> my iptables looks like this
> ACCEPT all -- anywhere anywhere state
> RELATED,ESTABLISHED
> ACCEPT tcp -- anywhere anywhere state NEW
> tcp dpt:smtp
> ACCEPT tcp -- anywhere anywhere state NEW
> tcp dpt:http
> ACCEPT tcp -- anywhere anywhere state NEW
> tcp dpt:ftp
> ACCEPT tcp -- anywhere anywhere state NEW
> tcp dpt:ssh
> REJECT all -- anywhere anywhere
> reject-with icmp-host-prohibi
>
> I am using postfix and ps output says
> root 1735 0.0 0.4 7140 620 ? S Apr14 0:00
> sendmail: accepting connections
> smmsp 1744 0.0 0.3 7316 412 ? S Apr14 0:00
> sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
Based on the above ps output, your running sendmail, not postfix. Sendmail,
by default, is configured to only listen on localhost. If your wanting to
use postfix as your MTA, then please run "redhat-switch-mail" to configure
the proper links in /etc/alternatives.
>
> I am guessing my problem is smtp being closed according to nmap. I
> did not install telnetd. On the linux machine, I can do telnet
> localhost 25 and get into mail but I can not do telnet external_ip 25
> gives me a connection refused as well as from the Windows machines.
>
> Those of you who are regulars on this list know I am a newbie but
> I have looked everywhere I can think of and even purchased "Postfix,
> the definitive guide" with no luck.
Actually having postfix running on your box should help with the above. :-)
>
> This is the killer for me, I even did "service iptables stop" and
> it still did not work with the firewall turned off. I am not sure
> where to look now. At my work machine as was suggested by someone
> here on this list, I installed shorewall and I was going to do that
> here at home but since iptables stop didnt help, I dont think
> shorewall would help either.
>
> My configuration by the way is that the linux box is behind a
> Linksys router so the machine has a 192.168.1.30 address and is on my
> network. I have tried removing the Linksys and putting the Linux box
> directly on the net and on the linksys with the Linux IP in the DMZ
> and also just forwarding the ports...all 3 configurations gave the
> same result, port 25 closed.
You will still need to configure your linksys box to forward port 25 to your
linux box after you fix the above problems.
Steve Cowles
20 years
Lib Version
by Chalonec Roger
I am trying to install some commercial software and it is has a
requirement for a certain Lib Version. Does any one know how to tell
what version is loaded?
Thanks,
Roger
20 years
Help > nVidia on FC 2, test 3
by Doug Robson
Kind helpers,
I just upgraded to Fedora Core 2, Test 3 and then
tried the nVidia
installer using the --add-this-kernel, followed by
*custom.run.
Everything seemed to run to completion without error.
But when I booted up to run level 5 (graphic mode), as
soon
as the optical mouse light lit, normally the time when
I get the
nVidia splash screen alerting the successful starting
of X and the gdm,
all I get is a black screen. The computer is hung at
this point.
Ctl-Alt-Backspace will not yield a text login prompt.
Only a
hardware reset will unfreeze the CPU.
Looking in my /var/log/Xorg0.log tells me that:
Failed to initialize the NVIDIA kernel module.
Any Fedora users having made it successfully to Test
3, just released,
please advise what I may have overlooked.
All help appreciated.
Doug
P.S. Please carbon copy my e-mail address cdrobsonjr(a)hotmail.com
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
20 years
[OT] Laptops with Linux
by Henry Hartley
I know this is off topic but I'm not sure who else to turn to. I'm looking
to buy a bunch of low-cost laptop/notebook computers and would rather not
pay for MS software that I'm not going to use. I don't care if they don't
have Linux already installed. In fact, as long as I know they will work
with FC1/2, I'd rather get one set up and clone it to all the others.
The big name brands don't seem to be much help. Even IBM, with all their
Linux talk, puts Windows on all their ThinkPads, as far as I can tell. Of
course, if I won't save anything, I might as well just bite the bullet and
get what I get. It rankles, that's all and I *SHOULD* be able to save
something.
--
Henry Hartley
20 years
RE: LVM-Howto [Was : what are the restrictionsonbootablepartitions?]
by Ow Mun Heng
> -----Original Message-----
> From: neil [mailto:neilcuk@aol.com]
> Sent: Friday, April 30, 2004 5:43 PM
> To: For users of Fedora Core releases
> Subject: Re: LVM-Howto [Was : what are the
> restrictionsonbootablepartitions?]
>
> >did I mention i was using 2.6 kernel??
> >The 2.6 kernel compiled it as dm-mod
> >
> >Oh well.. I'll try again..
> >
> >
> >
> >
> ahh - just read through the thread again :-) sorry - I have no
> experience with the test release as of yet - i've been using wget to
> fetch the dvd.iso but there's a two gig limit bug which
> caught me out a
> few times. I'm still dling FCt3 -- maybe once I have it running I han
> help further. Let me know how you get on in the meantime.
>
> neil
> P.S. It's Friday at least :-D
Thanks though...
Yay.. it's Friday Night and we here my side of the world. we have 4 days of
hols..
Labor Day + Wesak Day + someone's b'day ++??
20 years
Problem with death windows smbfs mounts
by Doncho N. Gunchev
Hello,
I have some windows machines in my lan at home and wanted to mount
their shares. This works fine untill the windows machine is rebooted or
crashes. I can not kill processes that make use of the share 'cause they
are in 'D' state (ps xaw) and AFAIK such processes can not be killed
even with kill -9. Can someone suggest a workaround/fix for this? I know
I can use kde/gnome to browse the windows network directly, but this is
too slow and not all programs can make use of it. Will automount fix
the problem and if so, can someone give example configuration please.
(FC1 fully updated till today).
I also want to ask will cifs solve this problem and will it work
with Win9x?
--
Regards,
Doncho N. Gunchev Registered Linux User #291323 at counter.li.org
GPG-Key-ID: 1024D/DA454F79
Key fingerprint = 684F 688B C508 C609 0371 5E0F A089 CB15 DA45 4F79
20 years
RE: LVM-Howto [Was : what are the restrictions onbootablepartitions?]
by Ow Mun Heng
> -----Original Message-----
> From: neil [mailto:neilcuk@aol.com]
> Sent: Friday, April 30, 2004 5:26 PM
> To: For users of Fedora Core releases
> Subject: Re: LVM-Howto [Was : what are the restrictions
> onbootablepartitions?]
>
>
>
>
> ow.mun.heng(a)wdc.com wrote:
>
> >
> >
> >>-----Original Message-----
> >>From: neil [mailto:neilcuk@aol.com]
> >>
> >>
> >>mr700(a)globalnet.bg wrote:
> >>
> >>
> >>
> >>>On Friday 30 April 2004 05:11, Ow Mun Heng wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>>-----Original Message-----
> >>>>>From: neil [mailto:neilcuk@aol.com]
> >>>>>Sent: Thursday, April 29, 2004 10:35 PM
> >>>>>To: For users of Fedora Core releases
> >>>>>Subject: Re: what are the restrictions on bootable partitions?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>rpjday(a)mindspring.com wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>what are the restrictions on where i can install another
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>linux distro
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>onto my fedora core (actually, FC2-t3) system so that grub
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>can find it?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>(even though this is a test version of fedora, this
> >>>>>>
> >>>>>>
> >>question actually
> >>
> >>
> >>>>>>refers to FC distros in general.)
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>There are no restrictions other than the boot loader (grub)
> >>>>>must be able
> >>>>>to read the boot partition.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>typically, for historical reasons, even when i use LVM, i
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>create a small
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>primary, ext3 filesystem for /boot, and use LVM for the rest
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>of the drive.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>is there any compelling reason for doing this anymore?
> >>>>>>
> >>>>>>
> >>what's the
> >>
> >>
> >>>>>>recommended strategy for LVM? and need for a non-LVM
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>filesystem on newer
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>machines?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>It really depends on what the system will be used for.
> >>>>>
> >>>>>
> >>Check out the
> >>
> >>
> >>>>>howto here: http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>I've actually looked through the howto but am still unable
> >>>>
> >>>>
> >>to determine
> >>
> >>
> >>>>how to actually create a lvm system. I've recompiled my kernel to
> >>>>have the devive mapper as a module and modprobe'ed it.
> >>>>
> >>>>When I try to do vgscan it states that the kernel modules
> >>>>
> >>>>
> >>are not loaded.
> >>
> >>
> >>>>
> >>>>
> >>>>
> >>>>
> >>> I don't remember how I did this with RH9 to make it
> >>>
> >>>
> >>work, but I remember
> >>
> >>
> >>>I played a bit whth modprobe, the LVM tools and the man pages :)
> >>>
> >>>
> >>>
> >>>
> >>>>Please help.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/s
> >>>
> >>>
> >>ysadmin-guide/ch-lvm.html
> >>
> >>
> >>>http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/s
> >>>
> >>>
> >>ysadmin-guide/ch-lvm-intro.html
> >>
> >>
> >>>http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custo
> >>>
> >>>
> >>m-guide/ch-lvm.html
> >>
> >>
> >>>http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custo
> >>>
> >>>
> >>m-guide/ch-lvm-intro.html
> >>
> >>
> >>>http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-
> >>>
> >>>
> >>guide/ch-lvm-intro.html
> >>
> >>
> >>>...
> >>> I did install FC1 with Software Raid 5 and LVM on top of
> >>>
> >>>
> >>it, but doing so on less
> >>
> >>
> >>>than three physical disks results to up to 5 times slower
> >>>
> >>>
> >>transfer (because of the
> >>
> >>
> >>>raid). If you have 3 disks read speed increases and the
> >>>
> >>>
> >>write speed is almost the
> >>
> >>
> >>>same. Using ReiserFS I was able to resize 61G LV to 64G LV
> >>>
> >>>
> >>without errors. With
> >>
> >>
> >>>ext3 it worked, but fsck.ext3 had a lot of work to do (the
> >>>
> >>>
> >>partition was ~50G full).
> >>
> >>
> >>>I hope one day online resize will work with bouth and
> >>>
> >>>
> >>reiserfs will get more stable
> >>
> >>
> >>>with acl and SELinux support.
> >>> http://www.aplawrence.com/Linux/lvm.html
> >>> ps: putting the /boot partiton ouside the LVM worked
> fine for me.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>okay - there are a few steps one needs to take to get their
> >>system using
> >>LVM. It can be tricky to get your brain around at first but
> >>it will slot
> >>into place. The steps are quite straight forward - even when
> >>setting up
> >>post install. Here's a brief overview. I'm assuming you can
> >>follow the
> >>man pages of each of the commands specified - there are a number of
> >>options which will be up to you:
> >>
> >>as root
> >>One(a): Make sure you have backed up any important data
> >>before trashing
> >>your system ;-)
> >>One: make sure your kernel supports LVM (By default this is
> >>supported in
> >>FC1)
> >>Two: create some LVM partitions (of type 8e under fdisk)
> >>Three: reboot or execute partprobe
> >>Four: execute vgscan
> >>Five: use pvcreate to assign your newly typed disks as use
> >>within the LVM
> >>(actually, four and five might be back to front)
> >>Six: use vgcreate to generate a new volume group (and add
> >>some physical
> >>volumes tro it)
> >>Seven: use lvcreate to make your logical volume
> >>Eight: format your new logical volume
> >>
> >>then it's up to you - mount as you like
> >>
> >>use e2fsadm to extend and reduce the size of the volume
> >>
> >>There is a huge amount of documentation and you should
> really get to
> >>grips with resizing, adding new PVs etc. Before you start
> >>putting useful
> >>data on your new LV!
> >>
> >>
> >
> >
> >Thanks for the info Neil. I think I do have a hang of it..
> sort of anyway.
> >So, what you're saying is that I have to create the LVM
> partition using
> >fdisk
> >1st before I can get to execute vgscan??
> >
> >Currently I just type vgscan and then it complains
> >vgscan -- LVM driver/module not loaded??
> >
> >(it's loaded. The module is named dm-mod.ko right??)
> >
> >
> >
> >
> >
> >
> you've got me there. It should be 'lvm-mod' that gets loaded. try a
> manual 'modprobe lvm-mod'. If that works try running 'depmod'
> to setup
> the module dependancies again. Sounds like something is missing the
> mark. Create one or two partitions using fdisk and try vgscan again.
did I mention i was using 2.6 kernel??
The 2.6 kernel compiled it as dm-mod
Oh well.. I'll try again..
20 years
RE: How to configure T-online DSL connecting?
by Ow Mun Heng
> -----Original Message-----
> From: M. Heinelt [mailto:M.Heinelt@fbe.de]
> Sent: Friday, April 30, 2004 6:41 PM
> To: For users of Fedora Core releases
> Subject: AW: How to configure T-online DSL connecting?
>
>
> Hi, I did ADSL Setup an when I checked ifconfig, it shows my
> ADSL connecting
> including the IP.
> So my DSL connecting is active.
> When I want to use mozilla, or opera now, I cannot get
> connecting to the
> internet.
Can you try ping??
Ping www.yahoo.com
Do you get any results??
if you do a route -n do you see this sort of line??
0.0.0.0 gateway_ip 0.0.0.0
Can you like maybe ping your ISP??
>
> -----Ursprüngliche Nachricht-----
> Von: fedora-list-bounces(a)redhat.com
> [mailto:fedora-list-bounces@redhat.com]Im Auftrag von Ow Mun Heng
> Gesendet: Freitag, 30. April 2004 10:22
> An: For users of Fedora Core releases
> Betreff: RE: How to configure T-online DSL connecting?
>
>
>
>
> > -----Original Message-----
> > From: M. Heinelt [mailto:M.Heinelt@fbe.de]
> > Sent: Friday, April 30, 2004 4:44 PM
> > To: For users of Fedora Core releases
> > Subject: How to configure T-online DSL connecting?
> > Importance: High
> >
> >
> > Hi,
> > I use Fedora since two weeks. It is an interesting operting system.
> > But till now, I don´t kno how to use my T-online DSL connecting.
> > Okay, there it is possible to configure the t-online connecting,
> > but if I write my password and username, I cannot get a connecting
> > with mozilla or other browsers.
> >
> > My friend sayed, I´ve to route the internet connecting to localhost,
> > but how I can do it?
> >
> > Can someone help?
>
> Dude..
>
> try setting it up using
>
> adsl-setup
>
> you should only need to follow the instructions..
>
> let me know if you need more help..
>
>
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
20 years
RE: LVM-Howto [Was : what are the restrictions on bootablepartitions?]
by Ow Mun Heng
> -----Original Message-----
> From: neil [mailto:neilcuk@aol.com]
>
>
> mr700(a)globalnet.bg wrote:
>
> >On Friday 30 April 2004 05:11, Ow Mun Heng wrote:
> >
> >
> >>>-----Original Message-----
> >>>From: neil [mailto:neilcuk@aol.com]
> >>>Sent: Thursday, April 29, 2004 10:35 PM
> >>>To: For users of Fedora Core releases
> >>>Subject: Re: what are the restrictions on bootable partitions?
> >>>
> >>>
> >>>
> >>>
> >>>rpjday(a)mindspring.com wrote:
> >>>
> >>>
> >>>
> >>>> what are the restrictions on where i can install another
> >>>>
> >>>>
> >>>linux distro
> >>>
> >>>
> >>>>onto my fedora core (actually, FC2-t3) system so that grub
> >>>>
> >>>>
> >>>can find it?
> >>>
> >>>
> >>>>(even though this is a test version of fedora, this
> question actually
> >>>>refers to FC distros in general.)
> >>>>
> >>>>
> >>>>
> >>>>
> >>>There are no restrictions other than the boot loader (grub)
> >>>must be able
> >>>to read the boot partition.
> >>>
> >>>
> >>>
> >>>> typically, for historical reasons, even when i use LVM, i
> >>>>
> >>>>
> >>>create a small
> >>>
> >>>
> >>>>primary, ext3 filesystem for /boot, and use LVM for the rest
> >>>>
> >>>>
> >>>of the drive.
> >>>
> >>>
> >>>>is there any compelling reason for doing this anymore?
> what's the
> >>>>recommended strategy for LVM? and need for a non-LVM
> >>>>
> >>>>
> >>>filesystem on newer
> >>>
> >>>
> >>>>machines?
> >>>>
> >>>>
> >>>>
> >>>It really depends on what the system will be used for.
> Check out the
> >>>howto here: http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
> >>>
> >>>
> >>I've actually looked through the howto but am still unable
> to determine
> >>how to actually create a lvm system. I've recompiled my kernel to
> >>have the devive mapper as a module and modprobe'ed it.
> >>
> >>When I try to do vgscan it states that the kernel modules
> are not loaded.
> >>
> >>
> > I don't remember how I did this with RH9 to make it
> work, but I remember
> >I played a bit whth modprobe, the LVM tools and the man pages :)
> >
> >
> >>Please help.
> >>
> >>
> >http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/s
> ysadmin-guide/ch-lvm.html
> >http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/s
> ysadmin-guide/ch-lvm-intro.html
> >http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custo
> m-guide/ch-lvm.html
> >http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custo
> m-guide/ch-lvm-intro.html
> >http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-
> guide/ch-lvm-intro.html
> >...
> > I did install FC1 with Software Raid 5 and LVM on top of
> it, but doing so on less
> >than three physical disks results to up to 5 times slower
> transfer (because of the
> >raid). If you have 3 disks read speed increases and the
> write speed is almost the
> >same. Using ReiserFS I was able to resize 61G LV to 64G LV
> without errors. With
> >ext3 it worked, but fsck.ext3 had a lot of work to do (the
> partition was ~50G full).
> >I hope one day online resize will work with bouth and
> reiserfs will get more stable
> >with acl and SELinux support.
> > http://www.aplawrence.com/Linux/lvm.html
> > ps: putting the /boot partiton ouside the LVM worked fine for me.
> >
> >
> >
> okay - there are a few steps one needs to take to get their
> system using
> LVM. It can be tricky to get your brain around at first but
> it will slot
> into place. The steps are quite straight forward - even when
> setting up
> post install. Here's a brief overview. I'm assuming you can
> follow the
> man pages of each of the commands specified - there are a number of
> options which will be up to you:
>
> as root
> One(a): Make sure you have backed up any important data
> before trashing
> your system ;-)
> One: make sure your kernel supports LVM (By default this is
> supported in
> FC1)
> Two: create some LVM partitions (of type 8e under fdisk)
> Three: reboot or execute partprobe
> Four: execute vgscan
> Five: use pvcreate to assign your newly typed disks as use
> within the LVM
> (actually, four and five might be back to front)
> Six: use vgcreate to generate a new volume group (and add
> some physical
> volumes tro it)
> Seven: use lvcreate to make your logical volume
> Eight: format your new logical volume
>
> then it's up to you - mount as you like
>
> use e2fsadm to extend and reduce the size of the volume
>
> There is a huge amount of documentation and you should really get to
> grips with resizing, adding new PVs etc. Before you start
> putting useful
> data on your new LV!
Thanks for the info Neil. I think I do have a hang of it.. sort of anyway.
So, what you're saying is that I have to create the LVM partition using
fdisk
1st before I can get to execute vgscan??
Currently I just type vgscan and then it complains
vgscan -- LVM driver/module not loaded??
(it's loaded. The module is named dm-mod.ko right??)
20 years