On Wed, Dec 05, 2001 at 10:47:23AM +0530, H.S.Rai wrote: > On Tue, 4 Dec 2001, USM Bish wrote: > > | What is your MTA ? You need to rewrite your aliases > > Mine MTA is sendmail. > > | of /etc/mail/aliases file: > | > | # trap decode to catch security attacks > | decode: root > | bish: [EMAIL PROTECTED] > | hsrai: [EMAIL PROTECTED] > > What I find is that this is not happening. If hsrai ( as > in example above ) send mail to bish, it goes to his vsnl > account. But when Bish send mail it goes as sender > bish@my_pc_name_domain , inspite of having any thing in > "From:" field. >
This is possible if nde.vsnl.net.in is not there in your mailertable. The file mailertable.db needs to have this. Your mailertable should have entries like this, and then re-compiled to make mailertable.db: nde.vsnl.net.in smtp:nde.vsnl.net.in iitr.ernet.in smtp:smtp.iitr.ernet.in ..... ..... similar entries for other smtps to be used ..... from your server, and lastly local mail. ..... localhost local:localhost In case it still does not work, please send me the foll- owing files in personal mail for study: a) /etc/mail/aliases b) /etc/mail/mailertable c) /etc/mail/domaintable d) /etc/mail/sendmail.mc > > >>> RCPT To:<[EMAIL PROTECTED]> > 553 <[EMAIL PROTECTED]>... Sender domain <rai.iitr.ernet.in> does not exist > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This indicates that rai.iitr.ernet.is not a valid SMTP address. The rai (prefix) is erroneously being sent. HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Contents of .deb file [#1] LOST #044 To know the contents of a deb file, if you have dpkg installed fire Midnight Commander (mc) ... Just press enter on the .deb file in mc and you have all the contents of the .deb file ... Then you can copy all the stuff from one pane to another in some directory. Same thing applies to .tar.gz and rpm files .. provided rpm, tar and gzip are installed. ####<[EMAIL PROTECTED]>################################## : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help