From: Payal R. <pay...@sc...> - 2007-03-06 15:02:34
|
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 Any ideas please? With warm regards, -Payal |
From: Rob M. <rob...@gm...> - 2007-03-07 08:17:42
|
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. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
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 |
From: Matthias A. <mat...@gm...> - 2007-03-12 23:44:41
|
Payal Rathod schrieb am 2007-03-08: > 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 Well, ... > 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 ...... ...you aren't forwarding to server Y :-) There are several options to change behavior, not the least of which one of the --smtp options. -- Matthias 'qmail ought to be replaced by something fresh' Andree |
From: Payal R. <pay...@sc...> - 2007-03-14 16:05:16
|
On Mon, Mar 12, 2007 at 11:42:58PM +0100, Matthias Andree wrote: > > 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 ...... > > ...you aren't forwarding to server Y :-) > > There are several options to change behavior, not the least of which > one of the --smtp options. Well, I found it out -D domain is what I need. Thanks anyways. And Matthias, qmail rocks ;) With warm regards, -Payal |
From: Matthias A. <mat...@gm...> - 2007-03-14 22:49:54
|
Payal Rathod schrieb am 2007-03-14: > Well, I found it out -D domain is what I need. Thanks anyways. > And Matthias, qmail rocks ;) And Earth is a disc and the Moon is made of green cheese. SCNR -- Matthias Andree |