It seems that my attachment got lost!? Here once again, inline:
--- amavisd.dist 2008-04-23 20:50:05.000000000 +0200
+++ amavisd 2008-05-16 17:16:34.000000000 +0200
@@ -274,6 +274,7 @@
[qw(
$policy_bank_name $protocol @inet_acl
$myhostname $syslog_ident $syslog_facility $syslog_priority
+ $myproduct_name
$log_level $log_templ $log_recip_templ
$forward_method $notify_method $resend_method
$release_method $requeue_method $release_format $report_format
@@ -3264,13 +3265,14 @@
$client_ip = 'IPv6:' . $client_ip; # rfc2821, section 4.1.3
}
my($tls) = $msginfo->tls_cipher;
- my($s) = sprintf("from %s%s%s\n by %s%s (amavisd-new, %s)",
+ my($s) = sprintf("from %s%s%s\n by %s%s (%s, %s)",
$conn->smtp_helo eq '' ? 'unknown' : $conn->smtp_helo,
$client_ip eq '' ? '' : " ([$client_ip])",
!defined $tls ? '' : " (using TLS with cipher $tls)",
c('localhost_name'),
$conn->socket_ip eq '' ? ''
: sprintf(" (%s [%s])", c('myhostname'), $conn->socket_ip),
+ c('myproduct_name'),
$conn->socket_port eq '' ? 'unix socket' : "port
".$conn->socket_port);
$s .= "\n with $smtp_proto" if $smtp_proto=~/^(ES|S|L)MTPS?A?\z/i;
# rfc3848
$s .= "\n id $id" if $id ne '';
Cheers,
Thomas
Thomas Gelf schrieb:
> Thomas Gelf schrieb:
>> ...
>> Attached to this mail there is a little patch using $product_name in
>> the received header lines. In my old installation I've used a hard-
>> coded string, but $myproduct_name should do the job. I'll test it
>> within the next hours to let you know, if it works.
>
> As expected it didn't work ;-) Attached to this mail you can find a
> new and clean version of the patch - seems to be running fine.
>
> Cheers,
> Thomas Gelf
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/