sendmail on a laptop
by Trevor Smith
I run FC2 on a laptop and I'm playing with sendmail for various reasons.
Currently I send through one of two ISPs' SMTP servers: either my web/email
hosting provider's, mail.haligonian.com, when I'm at school or my local
ISP's, smtp1.ns.sympatico.ca, when I'm at home.
I can not use the home server when I'm at school (and not on sympatico's
network), nor can I use my haligonian.com server when I'm at home (don't know
why, it just fails). This is a pain in the butt, naturally, that I have to
manually switch SMTP servers every time I move the laptop between locations.
I finally figured out how to get sendmail to send mail -- at home -- using
define(`SMART_HOST',`smtp1.ns.sympatico.ca')dnl
and
MASQUERADE_AS(ns.sympatico.ca)dnl
I haven't tried this at school yet, when I have traditionially had to use
mail.haligonian.com but I'm guessing that when I'm there, sympatico will deny
me use to their servers.
Does anyone have any advice on a simple, no manual intervention way to send
email from a laptop regardless of network that I'm attached to?
--
Trevor Smith // trevor(a)haligonian.com
19 years, 6 months
RE: FC3 stable enough for production web server?
by Jeff McKeon
> -----Original Message-----
> From: fedora-list-bounces(a)redhat.com
> [mailto:fedora-list-bounces@redhat.com] On Behalf Of Sean
> Sent: Wednesday, December 01, 2004 9:00 AM
> To: For users of Fedora Core releases
> Subject: Re: FC3 stable enough for production web server?
>
>
> On Wed, December 1, 2004 8:39 am, Jeff McKeon said:
>
> > Have a need for a new linux/appache web server at work and was
> > considering using Fedora Core 3.
> >
> > We need to run Apache,PHP,MySQL,Qmail on it. I've never
> played with
> > the Fedora line before, just RH9 and RHES2.1.
> >
> > Is FC3 stable enough to run a php website in a production site?
>
> Jeff,
>
> FC3 should run everything you list just fine. However, you
> must ask yourself if the short life cycle of each Fedora
> release is adequate? For most serious business applications
> the answer is, it isn't.
>
> Red Hat has some products that are more appropriate for
> business use. You might also want to look at SUSE since they
> have some well supported products in the lower price range.
>
> Good Luck,
> Sean
>
Sean, yes I'm aware of the shorter lifecycle. How is the reliability of
upgrading Fedora systems when a new core comes out? Fairly painless or
a lot of reconfiguring?
We're a startup company with a very tight budget. If I can avoid
spending money on an OS it helps a lot.
Also, I currently have one server with RHES2.1 and the PHP release level
I need is not officially supported for it and there are no RPM's for it.
Upgrading this server would mean upgrading a lot of dependencies.
Thanks,
Jeff
19 years, 6 months
FC3: Nautilus opening new windows
by Frank
I've been looking for a way to stop Nautilus from opening a new windo
for each subdirectory that I descend into, thus far without success. A
coworker is running an older version with a checkbox controlling this
behaviour in the preferences behaviour tab. The current version does
not have this option. Is there another way?
If not, can anybody suggest a more efficient graphical file browser?
Frank.
19 years, 6 months
Iptables and logging to the console
by Robert Spangler
Hi,
How can I stop Iptables logging to the console? I don't know where else to
look. Below are my sysctl.conf and syslog.conf files
Thanks for your help
###########################################
Here's my sysctl.conf:
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Stop logging to the console
kernel.printk = 3 4 1 7
###########################################
###########################################
Here's my syslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
#kern.* /var/log/messages
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
#*.emerg *
*.emerg /var/log/messages
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
#
# INN
#
news.=crit /var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice
###########################################
--
Regards
Robert
Smile... it increases your face value
19 years, 6 months
where is the network "profile" script?
by Trevor Smith
I have network "profiles" set up, one for "Home" and one for "Dal" (Dal is an
abbreviation of the name of the university I attend), since there are
different wireless networks at both places and ... well, I can't really
remember why I set them up. But they work so I have left them set up.
Anyway, I noticed that when I select a network profile, one of the results is
that the /etc/hosts file gets replaced with a link to either:
/etc/sysconfig/networking/profiles/Home/hosts
or
/etc/sysconfig/networking/profiles/Dal/hosts
That seems sensible. This would imply, though, that somewhere on my system, a
script is run when I "change profiles" that replaces the hosts file with the
version in the other profile's directory. Can anyone tell me where that
script is?
What I would *like* to do is modify the script so that it also copies a new
sendmail.cf file and then restarts sendmail. Why? Because this would allow me
to send my emails through sendmail on *my* machine, which would send through
the correct SMTP server (my ISP's when I'm at home; my web hosting provider's
when I'm at school) whenever I selected one of the different profiles.
Why the heck would I want to bother? Mostly just curiousity now to see if it
can be done.
--
Trevor Smith // trevor(a)haligonian.com
19 years, 6 months
unable to run the GUI program from the remote Linux server
by Ting-Yuan Liu
Hi,
I upgraded to the Fedora 3 several days ago, and I found that there is a
problem when I try to use any GUI programs from a Linux server.
What I did is:
1) ssh to the server under the terminal
2) run the GUI programs, e.g xdvi
3) get the error message: Error: Can't open display:
This is funny because the program will show up when I was using Fedora 2.
I try the same thing under Knoppix, and it works.
Therefore, it is not the problem in the Linux server.
It means that there is some bugs (?) in Fedora 3, or we have to change the
setting.
Can anyone help me to solve this problem please? Thanks.
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
19 years, 6 months
FC3 Install Issue
by Usman S. Ansari
Regarding my first post
http://www.redhat.com/archives/fedora-list/2004-November/msg08668.html
For first time since installing FC3, I booted into Fedora Core 3-up
(2.6.9-1.667). This is UP kernel, my network, sound and mouse are all
working.
I have dual processor machine. P III 1 GHz with 512 MB RAM.
I booted into Fedora Core 3 (2.6.9-1.667smp) back again (to check),
mouse, network and sound stop working. Is there any known issue with
Fedora Core 3 (2.6.9-1.667smp) ?
19 years, 6 months
Help with FreeNX
by Jorge Escobar
Hi,
I'm having trouble getting FreeNX to work so I wanted
to completely uninstall it to try and reinstall all
new. When I try to remove the rpm I get this
[root@fireball lib]# rpm -e freenx
grep: /usr/bin/nxserver: No such file or directory
export DISPLAY="localhost:10.0"
export G_BROKEN_FILENAMES="1"
export HISTSIZE="1000"
export HOME="/root"
export HOSTNAME="fireball.jescobar.net"
export INPUTRC="/etc/inputrc"
export KDEDIR="/usr"
export KDE_IS_PRELINKED="1"
export LANG="en_US.UTF-8"
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
export LOGNAME="jorge"
export
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:"
export MAIL="/var/spool/mail/jorge"
export NXDIR="/usr/NX"
export OLDPWD
export
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
export PWD="/"
export QTDIR="/usr/lib/qt-3.3"
export SHELL="/bin/bash"
export SHLVL="3"
export
SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
export SSH_CLIENT="::ffff:128.115.19.74 4545 22"
export SSH_CONNECTION="::ffff:128.115.19.74 4545
::ffff:192.168.0.104 22"
export SSH_TTY="/dev/pts/1"
export TERM="vt100"
export TVHOME="/home/jorge/TerraVision"
export USER="jorge"
export XAUTHORITY="/root/.xauthW1gZTt"
error: %preun(freenx-0.2.7-0.fdr.1) scriptlet failed,
exit status 6
Any help on how i can uninstall this rpm?
I'm using FC2 and followed
http://fedoranews.org/contributors/rick_stout/freenx/
to install.
Thanks,
Jorge
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
19 years, 6 months
RE: Newbie Alert :) Network Problems
by davide Richmond
Aha! After more pondering, I realized FC3 was trying to load a 3c59x when I
have a 3c55b cardbus installed. Okay...but under adapter I'm not seeing a
3Com 3c556b driver...was there an addition Network driver set I could have
installed off the cd, or time to go driver hunting?
Davide
19 years, 6 months