[exim-dev] [Bug 2351] New: Exim doensn't log messages with e…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumptes nous: [exim-dev] [Bug 2351] Exim doensn't log messages with empty "To:" header
Assumpte: [exim-dev] [Bug 2351] New: Exim doensn't log messages with empty "To:" header
https://bugs.exim.org/show_bug.cgi?id=2351

            Bug ID: 2351
           Summary: Exim doensn't log messages with empty "To:" header
           Product: Exim
           Version: N/A
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Logging
          Assignee: nigel@???
          Reporter: corochoone@???
                CC: exim-dev@???


While EXIM received letter with empty To: header, It logging bounced message
only, but doesn't log bad original message.

how to reproduce the bug:

1. Create 1.php file with following content:

<?php

$email = "email@???"; //senders e-mail adress
$recipient = ""; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "Subject for reviever"; //subject
$header = "From: ". " <" . $email . ">\r\n"; //optional headerfields

mail($recipient, $subject, $mail_body, $header); //mail command :)

?>

2. Execute it with php 1.php
3. See main.log. You can see something following:

2018-12-16 11:11:26 1gYRWI-0003ss-8T <= <> R=1gYRWI-0003sq-7V U=exim P=local
S=770

This is bounced message.

4. Try to find original message with ID 1gYRWI-0003sq-7V, entering command:

grep '1gYRWI-0003sq-7V' /var/log/exim/main.log

and you can see again:

2018-12-16 11:11:26 1gYRWI-0003ss-8T <= <> R=1gYRWI-0003sq-7V U=exim P=local
S=770

No log records about original message 1gYRWI-0003sq-7V found as expectly.

--
You are receiving this mail because:
You are on the CC list for the bug.