From: Payal R. <pay...@sc...> - 2007-03-09 04:26:06
|
On Wed, Mar 07, 2007 at 07:16:02AM +0000, Rob MacGregor wrote: > On 3/6/07, Payal Rathod <pay...@sc...> wrote: > > Hi, > > I have read the docs and faq but am quite confused with "header rewrite" > > option. I want to download mails from server X (sendmail) for my domain > > example.com, by fetchmail and inject in my localhost (qmail) - clean it > > for viruses and spam and forward it to server Y (which can be anything). > > qmail will route the messages through control/smtproutes files. What are > > the options I require for fetchmail, do I need to play with headers? > > Server Y is not in my control (it may be exchange server or MDaemon) and > > is set to receive mails for example.com > > "It depends" - there is far too little real information to be certain. > However, you shouldn't *have* to rewrite the headers. Certainly the > approach you've outlined is how I use fetchmail and I don't rewrite > headers. It is not working. My local qmail's box is showing that when I am using fetchmail to download mails from my remote server and injecting it in my local SMTP, it is rewritting my recipent from pa...@ex... to payal@localhost I am simple running fetchmail as, fetchmail -v -f /path/to/rcfile Any ideas on what is wrong? The rc file is just a simple 2 line test file like below, poll domain with proto pop3, nodns : user payal with pass word to payal here ...... With warm regards, -Payal |