-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 09 April 2003 16:04, Evan Morris wrote:
Hi again all. Please bear with me as I am coming to Linux from an NT environment where everything is really designed for total idiots (and some would say *by* total idiots too :-))
I have "set up" sendmail in the sense that outgoing mail actually goes out, which is - at this stage - all that I want it to do. To get to this point I asked my ISP to point the MX record for a certain domain (say, mydomain.info) to a specific machine (say, a_machine.mydomain.info).
However, what is now happening is that many (not all, but many) mail servers are rejecting mail from this domain on one of two grounds:
1) It is a malformed send address (user@a_machine.mydomain.info) 2) The domain (a_machine.mydomain.info) does not exist You need to set this in /etc/mail/userdb maps incoming and outgoing email - in many cases it may work better if you use virtusertable and genericstable !
I looked at sendmail's web site and found the following FAQ which appears to address my problem:
------------------------------------------------------------------- Q: How do I change user@host.my.dom.ain to user@my.dom.ain? -------------------------------------------------------------------
This appears to be exactly what I want to do. If I can get the outgoing mail to come from user@mydomain.info instead of user@a_machine.mydomain.info, then I should have no problem. However, the explanation or answer that follows this is completely unfathomable to me. It is this:
------------------------------------------------------------------- A: Using the V8 configuration macros, use:
MASQUERADE_AS(my.dom.ain)
This will cause all addresses to be sent out as being from the indicated domain. If you're using version 8.7 sendmail, and you want to hide this information in the envelope as well as the headers, use:
FEATURE(masquerade_envelope)
If you also want to masquerade the recipients, use
FEATURE(allmasquerade)
But be careful and read cf/README about possible problems!
-----------------------------------------------------------------
Okay, I don't know how to do any of this. I also don't even know how to determine what version of sendmail I'm using. I just installed it off the SuSE 7.1 Professional CD.
to find the version look into the /etc/sendmail.conf file for the above masquerade using the m4 command look into the /var/mail directory there you will find a file called linux.mc edit that to your preferences then use m4. or use Yast -> mail to help you to configure it. Before you switch sendmail on I would advise you to update. A good book to read is O'Reilly`s "sendmail" Ian
If anyone is able to assist me in this regard, I would be most appreciative.
Thanks
Evan Morris evan@exclusivebooks.com +27 11 792 2777 (tel) +27 11 792 2711 (fax)
- -- A child of five would understand this. Send someone to fetch a child of five. Groucho Marx - ---------------------------------------------------- This mail has been scanned for virus by AntiVir for UNIX Copyright (C) 1994-2003 by H+BEDV Datentechnik GmbH. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+lDOkKiWi8VifhEkRAghRAKCAr5O3UGFxWuVSZB2oJkxpo0BRjACgpYOe dxPn+mymY9VZZ1PpF3YEAoM= =sAX7 -----END PGP SIGNATURE-----