Re: [exim] ACL / callout / bug with use of postmaster addres…

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Heiko Schlittermann
CC: exim-users
Assunto: Re: [exim] ACL / callout / bug with use of postmaster address?
On Sat, 11 Jun 2005, Heiko Schlittermann wrote:

> But now: It seems as if exim forgot that postmaster settings and tries
> the address to be tested with emtpy mail_from:


The patch below should fix this problem.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.




*** exim-4.51/src/verify.c  Wed May  4 12:35:39 2005
--- verify.c    Fri Jun 17 11:20:30 2005
***************
*** 536,542 ****
            smtp_read_response(&inblock, responsebuffer, sizeof(responsebuffer),
              '2', callout) &&


!           smtp_write_command(&outblock, FALSE, "MAIL FROM:<>\r\n") >= 0 &&
            smtp_read_response(&inblock, responsebuffer, sizeof(responsebuffer),
              '2', callout);
          }
--- 537,544 ----
            smtp_read_response(&inblock, responsebuffer, sizeof(responsebuffer),
              '2', callout) &&


!           smtp_write_command(&outblock, FALSE, "MAIL FROM:<%s>\r\n",
!             from_address) >= 0 &&
            smtp_read_response(&inblock, responsebuffer, sizeof(responsebuffer),
              '2', callout);
          }