SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Forgive me if this has been asked a billion times before, but I did RTFM and search the forums but wasn't able to find anything relavant.
I've followed Shilo's guide (fantastic) and have set up a mail and web server. They are both working perfectly, but I have one question about sendmail.
As it currently stands when I send an email to someone, the from address shows up as "email@example.com" where "slackware" is my hostname and "domain" is my actual domain. I'd like to fix it so that it shows up as just "firstname.lastname@example.org". Could anyone point me in the right direction?
Thank you both for the suggestions. Unfortunately, neither of them worked. trickykid, here is my slackware-sendmail.mc that I used for my sendmail.mc. Is the option you mentioned not in the slackware-sendmail.mc? I have a feeling it's something I'm going to have to enter manually. Anyway, here it is.
Edit: Is it the option I've marked in red?
dnl# This is the default sendmail .mc file for Slackware. To generate
dnl# the sendmail.cf file from this (perhaps after making some changes),
dnl# use the m4 files in /usr/share/sendmail/cf like this:
dnl# cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
dnl# cd /usr/share/sendmail/cf
dnl# sh Build config.cf
dnl# You may then install the resulting .cf file:
dnl# cp config.cf /etc/mail/sendmail.cf
VERSIONID(`default setup for Slackware Linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
dnl# Uncomment the line below to send outgoing mail through an external server:
dnl# No timeout for ident:
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl# Also accept mail for localhost.localdomain:
The line in red looks rather interesting. What should I change that to?
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# By the way, Arnt Gulbrandsen <email@example.com> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
# For loopbacking.
127.0.0.1 slackware.domain.com slackware
# End of hosts.
OK. I changed the /etc/hosts file to look like how you said, and left the "domain.com" entry in the "local-host-names" file. I just tried sending something to my Gmail account and it still shows up as "firstname.lastname@example.org". Something you might be interested to know is that when I install SquirrelMail and tweak the config file, all mail send through SquirrelMail shows up as from @domain.com rather than the fully qualified domain name. Is this something having to do with Pine?