Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
This is not a server setting, rather a setting of your e-mail client software. Set your e-mail address to firstname.lastname@example.org in your e-mail client.
And configure sendmail to accept e-mail sent to crewtech.co.za for local delivery (I'm not a sendmail expert, don't know how).
Personally, I don't use webmin. Nothing against it, but it has never supported setting all the sendmail specific parameters to "properly" configure the MTA.
If webmin supports setting "masquerade_as", then this would be the setting to change. If not... then adding:
to your sendmail.mc file will fix your problem. Note: You must rebuild your sendmail.cf file after editing sendmail.mc using m4 or whatever tools your linux distro supplies (you never stated that in your post).
Add crewtech.co.za to /etc/mail/local-host-names like this
# local-host-names - include all aliases for your machine here.
Restart Sendmail, should be good to go
Funny how the wording of ones post can be interpreted differently. I interpreted the OP question as referring to how to configure sendmail to change the mail from address for non fully qualified e-mail address i.e. masquerade - you the recipient address. i.e. what domains sendmail considers local (hand off to procmail)
From Wynand1's first post I assumed from the email address 'email@example.com' that 'crew-ex' is the hostname of his machine and 'crewtech.co.za' his FQDN, which does in fact resolve via DNS, so the easiest way to send mail as 'firstname.lastname@example.org' is to add 'crewtech.co.za' to /etc/mail/local-host-names which makes Sendmail responsible for this domain