On Mon, 2003-03-31 at 20:19, nilesh vaghela wrote:
> Let me know what is your exact problem.
> 
> although I am sending the fetchmailrc file which was used by me.
> 
> poll yourmailservername :
> localdomains YOURLOCALNAME
> proto pop3 user [EMAIL PROTECTED] with pass ****** to "*"
> 
> My script is
> 
> poll mail.dineshmills.com:
> localdomains dineshmills.com
> proto pop3 user [EMAIL PROTECTED] with pass ****** to "*"
> 
> 
> -----------------
> Now how it will work.
> 
> It will fetch all the mail from my mail.dineshmills.com server with 
> protocall pop3 and the one pop3 mailbox with user dinesh and password 
> ******. Now the magic line for me was localdomains dineshmills.com, it is my 
> local domain. So any mail which will be like [EMAIL PROTECTED], or 
> [EMAIL PROTECTED] arrived, first it will check if user1 or user2 are 
> local user ? if yes then mail will be delivered to their account if not then 
> it will by default go to dinesh user.
> 
> I think this will help you if not let me know.
> 
> Let me thanx to Binand he gave me the idea for wildcard entry "*" and which 
> is working fine.
> 
> Nilesh VAghela

Problem with defining "yourdomain" as local is that if you have any users outside the 
current server (say another office in another city) you cannot send them mail as the 
server setup as defined will always take any mail for "youdomain" as local.
We have tried to over come this by defining local domain as non-FQD and thus we are 
able to send messages to our other offices. Flip side is that if a local user sends 
mail to another local user with "youdomain" address instead of "localdomain" address 
the mail goes to internet server and then is picked up for local delivery by fetchmail 
in the next cycle.
Any comments of how to make this system more efficient so that local users always get 
their mail delivered locally?
Sudev



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to