I am trying to setup sendmail on my PC. Now whenever I try mailing ilug I get following error :
----- The following addresses had permanent fatal errors ----- linuxers@mm.ilug-bom.org.in (reason: 553 5.1.8 nikhil@joshi.home... Domain of sender address nikhil@joshi.home does not exist)
Why sendmail is giving my address as nikhil@joshi.home to ilug? (my login name is nikhil and my hostname is joshi.home)
My real email address is nikhiljoshy@yahoo.com
I have used option MASQUERADE_AS('yahoo.com') in the file /etc/mail/sendmail.mc and re-generated /etc/sendmail.cf
I made /etc/userdb.db file using the file /etc/userdb having following contents: nikhil:mailname nikhiljoshy@yahoo.com nikhiljoshy:maildrop nikhil
Please help me.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Thu, 26 Jul 2001, Nikhil Joshi wrote:
----- The following addresses had permanent fatal errors ----- linuxers@mm.ilug-bom.org.in (reason: 553 5.1.8 nikhil@joshi.home... Domain of sender address nikhil@joshi.home does not exist)
Why sendmail is giving my address as nikhil@joshi.home to ilug? (my login name is nikhil and my hostname is joshi.home)
My real email address is nikhiljoshy@yahoo.com
If you use pine then set role names in pine setup. Read philip's pine tutorials. Or if you permanently want to set only this emailid you cat set it in /etc/email-addresses
Regards --------------------------------------- Pankaj Jangid National Centre for Software Technology ---------------------------------------
On Thu, 26 Jul 2001, Nikhil Joshi wrote:
(reason: 553 5.1.8 nikhil@joshi.home... Domain of sender address nikhil@joshi.home does not exist)
Why sendmail is giving my address as nikhil@joshi.home to ilug? (my login name is nikhil and my hostname is joshi.home)
That's why it gives you the error. Is your hostname joshi.home in your /etc/hosts file? It should be there. You should also disable dns lookups in sendmail.
My real email address is nikhiljoshy@yahoo.com
I have used option MASQUERADE_AS('yahoo.com') in the file /etc/mail/sendmail.mc and re-generated /etc/sendmail.cf
Don't do this. Instead, do a per user alias in sendmail.
I made /etc/userdb.db file using the file /etc/userdb having following contents: nikhil:mailname nikhiljoshy@yahoo.com nikhiljoshy:maildrop nikhil
Don't do this either.
At the end of sendmail.cf, add these lines:
# Masquerading rules S1 Rnikhil<@joshi.home> $@ nikhiljoshy < @ yahoo.com> Rnikhil<@joshi.home.> $@ nikhiljoshy < @ yahoo.com.>
NOTE there are tabs before and after the $@, not spaces.
Philip
Sorry but the problem is not solved. I receive the same error.
On Thursday 26 July 2001 02:15 pm, Philip S Tellis wrote:
That's why it gives you the error. Is your hostname joshi.home in your /etc/hosts file? It should be there. You should also disable dns lookups in sendmail.
Yes joshi.home is in /etc/hosts I tried to disable dns lookups by giving define('confBIND_OPTS', '-DNSRCH-DEFNAMES') { PCQ JULY 2001 page no. 111} The sendmail however tells me that there is error in the above line.
My real email address is nikhiljoshy@yahoo.com
I have used option MASQUERADE_AS('yahoo.com') in the file /etc/mail/sendmail.mc and re-generated /etc/sendmail.cf
Don't do this. Instead, do a per user alias in sendmail.
I don't know how to do this. Please explain in detail.
At the end of sendmail.cf, add these lines:
# Masquerading rules S1 Rnikhil<@joshi.home> $@ nikhiljoshy < @ yahoo.com> Rnikhil<@joshi.home.> $@ nikhiljoshy < @ yahoo.com.>
I did this.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On 7/26/01 at 12:23 PM Nikhil Joshi wrote:-
Why sendmail is giving my address as nikhil@joshi.home to ilug? (my login name is nikhil and my hostname is joshi.home)
My real email address is nikhiljoshy@yahoo.com
Use the genericstable and genericsdomain features More info in the mini-HOWTO on configuring sendmail for offline use [ http://www.moongroup.com/docs/offline/sendmail-offline.html ]
- Shrikant