[Exim] "relay" of confirmations

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Hans Morten Kind
Dátum:  
Címzett: exim-users
CC: edphk
Tárgy: [Exim] "relay" of confirmations
On campus most people use Eudora and such - and they all
seem to love confirmations and recipient notifications.
From anywhere on our 16-bits network we allow uqualified
senders and receipients. However we cannot accept relay
as there still is lots of stupid workstations using this
host as the "smarthost".

When returning these confirmations Eudora is using the
empty sender (<>) and exim rejects to relay them. People
dont understand why they receive Eudora-popups telling that
their mails were rejected, as they dont know that Eudora
automatically is sending some notification.

Would this be dangerous or a patch to consider? (exim-3.12)

Hans Morten Kind
Univ of Bergen
Norway


*** smtp_in.c.orig      Thu Jan 27 14:26:47 2000
--- smtp_in.c   Thu Jan 27 14:28:21 2000
***************
*** 2697,2703 ****


          /* Forbidden relaying. */


!         if (!permitted)
            {
            smtp_send_prohibition_message((msg1[0] == '5')? 550 : 450,
              relay_need_either? "sender+host_accept_relay" :
--- 2697,2712 ----


          /* Forbidden relaying. */


!         if (allow_unqualified_sender && sender_address[0] == NULL) {
!           /* let the message through */
!           log_write(1, LOG_MAIN|LOG_REJECT,
!            "confirmation accepted from <%s>%s%s to %s",
!            sender_address,
!            (sender_fullhost != NULL)? " H=" : "",
!            (sender_fullhost != NULL)? host_and_ident() : "",
!            orig_receiver);
!         }
!         else if (!permitted)
            {
            smtp_send_prohibition_message((msg1[0] == '5')? 550 : 450,
              relay_need_either? "sender+host_accept_relay" :