Hi,
I am having problems getting forwarding to a off-site email address
working on a Debian system.
Help please
My .forward file is
# Exim filter
unseen deliver you at offsite.email.address
finish
My 600_exim4-config_userforward file
userforward:
debug_print = "R: userforward for $local_part@$domain"
driver = redirect
domains = +local_domains
check_local_user
file = $home/.forward
require_files = $local_part:$home/.forward
no_verify
no_expn
check_ancestor
allow_filter
forbid_smtp_code = true
directory_transport = address_directory
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
skip_syntax_errors
syntax_errors_to = real-$local_part@$domain
syntax_errors_text = \
This is an automatically generated message. An error has\n\
I suspect that I do not have the correct transport in my
600_exim4-config_userforward file but do not know what to put in
Thanks
Peter
Peter Sparkes <peter at didm.co.uk> wrote:> Hi,> I am having problems getting forwarding to a off-site email address > working on a Debian system.> Help please> My .forward file is> # Exim filter > unseen deliver you at offsite.email.address > finish> My 600_exim4-config_userforward file[unchanged from the one we ship]> I suspect that I do not have the correct transport in my > 600_exim4-config_userforward file but do not know what to put inCould you please tell us what the actual error is (log file entries, error messages, etc.)? This should just work. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.'' `I sew his ears on from time to time, sure''
On 2009-05-25 Peter Sparkes <peter at didm.co.uk> wrote:>> Peter Sparkes <peter at didm.co.uk> wrote: >>> I am having problems getting forwarding to a off-site email address >>> working on a Debian system.>>> Help please>>> My .forward file is>>> # Exim filter >>> unseen deliver you at offsite.email.address >>> finish>>> My 600_exim4-config_userforward file>> [unchanged from the one we ship]>>> I suspect that I do not have the correct transport in my >>> 600_exim4-config_userforward file but do not know what to put in>> Could you please tell us what the actual error is (log file entries, >> error messages, etc.)? This should just work.> I get nothing in the /var/log/exim4 mainlog, paniclog or rejectlog and > no email is even delivered to the original addressee. When I remove the > .forward file from the user''s home directory the email is delivered to > the original addressee and there are the appropriate entries in the > mainlog.Please check the output of echo blah | exim4 -d whateverthelocal at adressis cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.'' `I sew his ears on from time to time, sure''
Hi Andreas, Following your advice I ran echo blah | exim4 -d whateverthelocal at adressis and found the following line errno=-1 more_errno=0 bad owner for /home/tom/.forward After I changed the owner to tom everything worked fine Thank you for helping me find my stupid error Peter Sparkes Andreas Metzler wrote:> On 2009-05-25 Peter Sparkes <peter at didm.co.uk> wrote: > >>> Peter Sparkes <peter at didm.co.uk> wrote: >>> >>>> I am having problems getting forwarding to a off-site email address >>>> working on a Debian system. >>>> > > >>>> Help please >>>> > > >>>> My .forward file is >>>> > > >>>> # Exim filter >>>> unseen deliver you at offsite.email.address >>>> finish >>>> > > >>>> My 600_exim4-config_userforward file >>>> > > >>> [unchanged from the one we ship] >>> > > >>>> I suspect that I do not have the correct transport in my >>>> 600_exim4-config_userforward file but do not know what to put in >>>> > > >>> Could you please tell us what the actual error is (log file entries, >>> error messages, etc.)? This should just work. >>> > > >> I get nothing in the /var/log/exim4 mainlog, paniclog or rejectlog and >> no email is even delivered to the original addressee. When I remove the >> .forward file from the user''s home directory the email is delivered to >> the original addressee and there are the appropriate entries in the >> mainlog. >> > > Please check the output of > echo blah | exim4 -d whateverthelocal at adressis > > cu andreas >