hi
m facing a similar problem. i download mails from my isp using fetchmail,
and the mail is trapped by a catchall account which, then delivers mail to
respective users locally. but when, i set forwarding for the users strange
behaviors occur:
(1) when a local user sends mail locally, the forwarding works perfect with
the sender marked in the "From:"
(2) but, when an external mail is fetched, it is trapped by 'catchall' and
when forwarded thru .forward, the sender is marked as
'[EMAIL PROTECTED]' instead of the original sender. also note that
the local server name is taken despite masquerading. so the mail relay host
then bounces this message saying "sender domain must exist"!!
why? and how to get around this?
-@bhi
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Suresh Ramasubramanian
Sent: Wednesday, January 10, 2001 09:06
To: [EMAIL PROTECTED]
Subject: Re: [LIH] .forward & procmail
[EMAIL PROTECTED] rearranged electrons thusly:
> I receive mails with fetchmail (from ISP) as root and deliver to different
> users on my network through a procmail recipes in the /root directory.
While
> an address in the .forward file always works for local mails (i.e. when
one
> sends a mail locally and the receiver sets a forwarding address), when a
mail
> gets downloaded (through fetchmail), it does not get forwarded to the
address
> given at tyhe .forward file.
take a look at /var/log/maillog and post one such entry (and also run
fetchmail
-v - verbose mode). That should give you some idea.
I have a feeling envelope-sender is not being set properly on your machine,
causing bounces.
> I shall Appreciate any suggestion from you guys. Actually I want my users
to
> be able to give a forwarding address, even over a dial-up connection.
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH