Hi All,
Geraint, thanks for your reply. Apologies for the nasty lack of
line-wrapping below.
On Wed, May 28, 2003 at 07:28:57AM +0100, Geraint A Edwards wrote:
> Try running in debug address-testing mode, on a local address, similar to:
Here's an example of one of my tests:
exim -d -bfl test -f lucas@??? -bf ./mail-filter.pl < test-emai.txt
(where ~/.forward -> mail-filter.pl)
output:
-----------------------------------------------------------------------
Exim version 3.35 debug level 1 uid=0 gid=0
Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
Condition is true: $original_local_part is test
Sender = lucas@???
Recipient = test@???
Testing Exim filter file mail-filter.pl
Logfile /home/cms3mail/filter-log.txt
Mail to: <lucas@???>
from: cms3mail@???
subject: Test Email Received
text: Thankyou,\n\nYour test email has been received and recorded
by our booking system. Do not reply to this address, it is not
monitored regularly, for support queries, contact Quicknowledge
Support <support@???>.\n\nQuicknowledge
Save message to: /var/mail/cms3mail/cur/ 0664
Logwrite "2003-05-28 16:46:30 19Kuhi-0005cI-00 => original_local_part =
test\n"
Filter processing ended:
Filtering set up at least one significant delivery or other action.
No other deliveries will occur.
-----------------------------------------------------------------------
So I'm pretty sure the filter itself works (as I mentioned it was
working _before_ I implemented the current virtual domain
configuration).
> Also, what is logged when the e-mails are delivered?
Here's an example:
------------------------------------------------------------------------------------------------------------------------------------
2003-05-28 16:53:33 19KuoX-0005hC-00 <= lucas@??? H=juno [10.0.0.79] U=mail P=esmtp S=1466 id=20030528065333.GA7173@???
2003-05-28 16:53:35 19KuoZ-0005hP-00 <= lucas@??? U=amavis P=scanned-ok S=1657 id=20030528065333.GA7173@???
2003-05-28 16:53:35 19KuoX-0005hC-00 => test <test@???> D=amavis_director T=amavis
2003-05-28 16:53:35 19KuoX-0005hC-00 Completed
2003-05-28 16:53:36 19KuoZ-0005hP-00 => cms3mail <test@???> D=virtual_localuser T=virtual_localdelivery
2003-05-28 16:53:36 19KuoZ-0005hP-00 Completed
------------------------------------------------------------------------------------------------------------------------------------
Which doesn't mention using any fowardfile directors or transports,
which is why I suspect it's a problem with the exim.conf file (attached
to my first post). Any further ideas?
Regards,
Lucas