fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]fetchmail forwarding to exim directly

2002-04-16 22:36:45
Hi 
Thanks for your response. 

I understand the part about it going to the postmaster, but evan if i leave out 
the 
postmaster section it will send it to root. I also do not want to add 
useraccounts for each 
user as the mailserver its being forwarded to will handle the users and
aliases.
Im not quite sure what you mean about addressing the localhost?

As for telling fetchmail to deliver to exim as an mda it would work  but for 
some reason it 
adds an Envelope-to: root(_at_)localhost to the message. I used
mda "/usr/sbin/exim -oem -f %F %T"
if i could somehow tell it to not add the envelope-to and just read from the to 
line?

Thanks

J-P Human


15/04/2002 09:38:03, Lugh(_at_)HotPOP(_dot_)com wrote:

At 05:35 PM 15/04/02 +0200, you wrote:
Hi
I'm running fetchmail 5.9.0 on a Linux box.

What I am trying to do is:
I have a dialup box running fetchmail and exim.
The box polls a multidrop pop3 account at the isp for a specific domain
(say for 
company.co.za).
I then want fetchmail to deliver all received email directly to exim (I do
not want it to try 
any local deliveries). I have told exim to treat any mail with
company.co.za as remote and 
all mail in this domain will be forwarded to another mail server on the
network. All I want is 
for the email to be sent through exims filter and then forwarded directly
to the other mail 
server.

The problem I am having is it seems fetchmail is fetching all the mail but
its then sending it 
to the postmaster because it is not finding a local match.

Below is one of the .fetchmailrc files iv tried.

Poll some.machine.co.za with proto pop3 nodns localdomains localhost:
User "testacc" with pass "apasswd" to postmaster here
and here is where one of your issues starts.. in the fetchmailrc it seems
all mail is only going to postmaster, and is set to do so, if you change
the to(recipient) here line to match for a user/ident on the linux box it
should clarify the problem, though you may want to also address the
localhost as well, fetchmail doesn't actually send mail anywhere, it just
fetches it from elsewhere and stores it on the local disk to be sent via an
mda or lda.. telling it which to hand off to would also be an option to
try, letting it know that exim is the mda you wish it to pass to and from
there onto wherever (exim handles the whatever part) that clarify anything
for you?



-------- End of forwarded message --------





<Prev in Thread] Current Thread [Next in Thread>