On Wed, Dec 11, 2002 at 04:19:09PM +0000, Anil wrote:
> Dear All,
>    I have one domain say "abc.com" which have one e-mail id i.e cache all id
>    name [EMAIL PROTECTED] all the mail to specific users goes to that e-mail box only.

That's called a multidrop mailbox. Why don't you find some literature
dealing with them? Start with the fetchmail man page, which has a section
on multidrops.

> it is hosted in USA server. I have installed one linux PC in my office for
> mailing thing i have also installed qmail with vpopmail on that linux. also
> installed fetchmail to retrieve mail from server and push it to qmail mail
> server. my qmail server is running on 26 port and not 25 port.  i don't know
> how to write script to fetch mail from single user a/c and transfer it to
> qmail on port 26 in the users respective e-mail a/c. I also have some

poll yourusaserver.com username something pass somethingelse is * here;

is good enough to handle multidrop mailboxes. Customise as per your needs.

To use port 26, run fetchmail with the -S localhost/26 option.

> users like [EMAIL PROTECTED] and [EMAIL PROTECTED] but they are real POP3 A/c on
> server. so i don't want to fetch mail from that a/c as they are not local.

Hmm. I don't understand this. If they are separate mailboxes on your
server, then don't poll them, simple.

> one more thing is required in my setup is that at the time of sending mail
> from outlook/eudora to [EMAIL PROTECTED] and [EMAIL PROTECTED] via qmail should go
> to my USA Server and others being local a/c should be kept to respective a/c.

That, unfortunately, is not possible (at least, in an easy way, using
only the MTA). You are better off subdomaining abc.com to delhi.abc.com,
chennai.abc.com etc.

A simple kludge would be:

Have these accounts local. Run fetchmail for these accounts, to push the mails
to the remote server.

poll localhost user delhi pass somepass smtpname [EMAIL PROTECTED];

Run fetchmail with -S yourusaserver.com option.

Putting both pieces together, you have a fetchmail.conf file like this:

poll usaserver.com user abc pass abcpass smtphost localhost/26 is * here;
poll localhost interval 5 user delhi pass delhipass smtphost usaserver.com smtpname 
[EMAIL PROTECTED];

> Please advice me how to plan for this situation. Also suggest some good
> anti-virus for qmail mail server who can take of virus.

Qmail is not an MTA that I'd recommend for use on production systems - it
is meant only for its fanatics IMO. If you are averse to using the de facto
MTA sendmail, try one of the more actively developed alternatives like
Exim, Postfix or Courier. They all have tailor made anti-virus software
available, or an easy way to hook into Linux AV products.

Binand

-- 
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to