VaibhaV Sharma saw fit to inform LI that:
>The problem is that we have a linux server in our office, being used as a
>mail / samba / ftp / etc. server and we connect to the Internet through
>dialup. Our main mailserver for our domain is on the internet with seperate
>pop3 accounts for all the users.
Vaibhav ... for internal office mails, create a subdomain
intranet.yourdomain.com and add it to your hosts file locally. No need to
advertise an MX / A record or other DNS for it. When sending interoffice
mail, just send mail from user1@intranet to user2@intranet
Or else ... forget all that, I see your point on reading para 2.
>When a user goes out of office, i.e. out of station, I simply remove his
>mail download command from the fetchmailrc file. So the user can check his
>mails directly from the web. but the internal mails are distributed
>internally, so we want these internal mails for the user to be sent to the
>mail server on the Internet.
Set up a procmail recipe :
:0
^TO: [EMAIL PROTECTED]
{
:0c
|/usr/sbin/sendmail -bm -f [EMAIL PROTECTED]
:0
$USER_MAILDIR
}
This way, you can forward a copy to the guy's yahoo account, and retain a
copy in his maildir as well.
Or better still, install a simple webmail product on your external server,
on a secured port - http://webmail.yourcompany.com:something and comment
out the guy's fetchmail entry. Lots of these at
http://scriptsearch.internet.com
--
Suresh Ramasubramanian + [EMAIL PROTECTED]
"But what we need to know is, do people want nasally-insertable computers?"
-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting. The site is
at http://botsie.tripod.com/beforeposting/