On Wed, 1 Jun 2005, Bonar wrote:
----- Transcript of session follows -----
... while talking to [127.0.0.1]:
MAIL From:<[EMAIL PROTECTED]> SIZE=609
[EMAIL PROTECTED]
<<< 553 5.5.4 <[EMAIL PROTECTED]>... Real domain name required
for sender
address
501 5.6.0 Data format error
Just a guess, but did you comment out the following line in your
/etc/mail/sendmail.mc ?
LOCAL_DOMAIN(`localhost.localdomain')dnl
You shouldn't have.... [You should never change defaults unless you're
sure of what you're doing (and save backup copies of the originals).]
My question is, how to change '[EMAIL PROTECTED]' to
'[EMAIL PROTECTED]'. I'm using sendmail on Fedora Core 3 box.
All my user account will get [EMAIL PROTECTED]
You can do so by adding a line like this to your sendmail.mc:
MASQUERADE_AS(`mydomain.com')dnl
I strongly suggest reading the comments in that file.. there's lots of
information there. Also read /usr/share/sendmail-cf/README sometime.
Other question is, how to change 'while talking to [127.0.0.1]' to 'while
talking to [192.168.1.1]'...
You could modify your submit.mc, and it might have that effect. But
you should be asking yourself *why* you would want to do such a thing.
That functionality is useful if you have a client that needs to submit
mail to a remote mailserver. It doesn't make much sense to avoid the
loopback interface when talking to localhost.
Damian Menscher
--
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html