Re: [exim] Exim, Vacation and Horde

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Mike Jones
Datum:  
To: 'exim-users@exim.org'
Betreff: Re: [exim] Exim, Vacation and Horde
Thanks for that,
Now getting somewhere.

However, now have a new problem.

This is how we're set up here

Fred Jones has a log in account of fjones for his email.
The mail server has the domain name of mail.example.com
Freds email is delivered to fred.jones@???

So we have a virtual domain of hisoffice.co.uk and in it we have

fred.jones: fjones

Now, both vacation and horde produce the line

\fjones, "|/usr/local/bin/vacation fjones"

This works fine, but the vacation email that gets returned has the return address of : fjones@??? instead of fred.jones@???

I've tried \fjones, "|/usr/local/bin/vacation -a fred.jones@??? fjones" and also putting a From: line in the .vacation.msg file - same thing happens.

Our forward router and transport are:

userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
allow_filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

Address_Pipe gets used

address_pipe:
driver = pipe
return_output

Any more thoughts anyone ?

Mike

-----Original Message-----
From: Tony Finch [mailto:fanf2@hermes.cam.ac.uk] On Behalf Of Tony Finch
Sent: 08 May 2008 13:01
To: Mike Jones
Cc: 'exim-users@???'
Subject: Re: [exim] Exim, Vacation and Horde

On Thu, 8 May 2008, Mike Jones wrote:

> Everything works fine, except for the vacation module of Horde which
> generates a .forward file of
>
> \user, "|/usr/local/bin/vacation user"
>
> Apart from the fact that the .forward file is missing the line # Exim
> filter,


It shouldn't have a # Exim filter line because it isn't a filter file, it's a traditional .forward file which Exim treats as a redirection list.
See the three sections starting at
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html#toc0208

> Exim doesn't seem to like that command (in fact no reply is sent, and
> emails don't get delivered).


What do the logs say?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}