Leider finde ich keine Lösung. Trotzdem schon mal Danke für die Hilfe!
Hier sind mal die Variablen die man verwenden kann:
von
clamsmtpd(8)
CLIENT The network address of the SMTP client connected.
EMAIL When the Quarantine option is enabled, this specifies the
file that the virus was saved to.
RECIPIENTS The email addresses of the email recipients. These are speci-
fied one per line, in standard address format.
REMOTE If clamsmtpd is being used to filter email between SMTP
servers, then this is the IP address of the original client.
In order for this information to be present (a) the SMTP
client (sending server) must an send an XFORWARD command and
(b) the SMTP server (receiving server) must accept that XFOR-
WARD command without error.
REMOTE_HELO
If clamsmtpd is being used to filter email between SMTP
servers, then this is the HELO/EHLO banner of the original
client. In order for this information to be present (a) the
SMTP client (sending server) must an send an XFORWARD command
and (b) the SMTP server (receiving server) must accept that
XFORWARD command without error.
SENDER The email address for the sender of the email.
SERVER The network address of the SMTP server we're connected to.
TMPDIR The path to the temp directory in use. This is the same as
the TempDirectory option.
VIRUS The name of the virus found.
Ich benutze als Betriebssystem übrigens FreeBSD.
Gruß
Bluemle