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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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 email@example.com 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 'firstname.lastname@example.org' 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 'email@example.com' is to add 'crewtech.co.za' to /etc/mail/local-host-names which makes Sendmail responsible for this domain