On Tue, 4 Dec 2001, USM Bish wrote:
| > | Only thing is you need to take out all the addresses from
| > | the pine addressbook first ...
| >
| > This seems to be complex task!!! :-(
| Quite simple really. This small script will extract all
Oh! yes dear. But yiu made it simple, what seems to me ( and
perhaps afew more on list ) a difficult task.
Thank you
| > problem. This process submit mail in queue as sender
| > [EMAIL PROTECTED] , this makes mail
| > to be rejected by most server with reason that
| > my_pc_name.valid_domain does not exist.
| > How to change this sender.
| 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.
Here is the screenshot, which shows rejection of mail:
==================================
# sendmail -vt <<- -EndOfMail-
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Test for From field and sender's domain
>
> Message body: Nil
>
> Rai
> -EndOfMail-
[EMAIL PROTECTED] Connecting to grex.cyberspace.org. via esmtp...
220 firewall.rurkiu.ernet.in Generic SMTP handler
>>> EHLO rai.iitr.ernet.in
500 Command unrecognized
>>> HELO rai.iitr.ernet.in
250 firewall.rurkiu.ernet.in talking to RAI ([192.168.106.203])
>>> MAIL From:<[EMAIL PROTECTED]>
250 <[EMAIL PROTECTED]>... Sender ok
>>> RCPT To:<[EMAIL PROTECTED]>
553 <[EMAIL PROTECTED]>... Sender domain <rai.iitr.ernet.in> does not exist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> RSET
250 Reset state
/root/dead.letter... Saved message in /root/dead.letter
Closing connection to grex.cyberspace.org.
=========================================
H.S.Rai
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help