Hello Gurus !
I'm playing to be a mail-administrator :-(
Situation:
I need to masquerade the senders address only for outgoing mails. As in the
FAQs (A1003) told, i set up a secondary exim daemon listening on port 26.
It's working great ... but i dont see any deliver-log from my second exim
(port 26).
The (maybe) related FAQ 0516 "The Exim log records the arrival of a message,
and then "Completed", without logging any deliveries. What's going on?" do
not help (i even don't see any "Completed")
The LOGs are as follows:
The "Port25" exim:
2000-07-18 14:00:28 exim 3.13 daemon started: pid=10468, -q1h, listening for
SMTP on port 25
2000-07-18 14:00:28 Start queue run: pid=10469
2000-07-18 14:00:28 End queue run: pid=10469
2000-07-18 14:00:50 13EW3O-0002j0-00 <= root@local U=root P=local S=293
2000-07-18 14:00:50 13EW3O-0002j0-00 => gbhauck@??? R=pass_remotes
T=internal_smtp H=localhost [127.0.0.1]
2000-07-18 14:00:50 13EW3O-0002j0-00 Completed
The "external" exim:
2000-07-18 14:00:28 exim 3.13 daemon started: pid=10473, -q10m, listening
for SMTP on port 26
2000-07-18 14:00:50 13EW3O-0002j2-00 <= root@??? H=localhost
(server1.local) [127.0.0.1] P=esmtp S=477 id=E13EW3O-0002j0-00@???
for gbhauck@???
THE MAIL IS TRANSFERRED !!!!!
starting the 2. exim in a console with "exim -C ... -d9 ..." i see all the
nice information:
------snip
LOG: 0 MAIN
=> adr@....
-----snap
Second (other) Problem:
Exim is working/transfering and so i installed (in my outgoing/port 26 exim)
a system-wide filter (as in FAQ 9810/11) for saving outgoing mails in a
file. My filter-File:
# Exim filter <<====== diese Zeile NICHT AENDERN ODER LOESCHEN !
if error_message then finish endif
if
first_delivery and
$h_from: contains lmt-berlin.de
then
unseen save
/tmp/georg-test-${substr_0_7:$tod_log}
endif
It works ONLY IF I DON'T CHANGE THE USER (in the transport-definition). The
file is owned by mail.mail - but i would like to put it in the
"sekretary"-Homefolder :-|
If i change the user, no file is written (if the file already exists, no
data is appended)...
Every idea, help ... is welcome !
Thank you
G.-B. Hauck
------------------------------------------
artebit Gesellschaft für Datenverarbeitung
und Bildende Kunst mbH
Alt-Tempelhof 16 * 12099 Berlin