Re: [Exim] problem with exim 3.16 and SMTP expn

Top Page
Delete this message
Reply to this message
Author: Marc MERLIN
Date:  
To: Philip Hazel
CC: exim-users
Old-Topics: Re: [Exim] problem with exim 3.16 and SMTP vrfy
Subject: Re: [Exim] problem with exim 3.16 and SMTP expn
On Wed, Aug 23, 2000 at 09:53:12AM +0100, Philip Hazel wrote:
> On Tue, 22 Aug 2000, Marc MERLIN wrote:
>
> > expn merlin@??? (in /etc/mail/othervadomains)
> > Connection closed by foreign host.
>
> Er, that's expn, but
>
> > I tried to run:
> > exim -d10 -bd -oX 27
> >
> > and then:
> > kenny:~# telnet kenny 27
> > Trying 10.1.3.166...
> > Connected to kenny.su.valinux.com.
>
> > vrfy merlin@???
> > 250 <merlin@???> is deliverable
>
> that's vrfy. They are different. What happens if you try expn in this
> case?


Doh! (that's a case of not enough sleep)

> > What info would you need?
>
> You should be able to get debugging info by running
>
> exim -d10 -bh 1.2.3.4


Well that worked (after I changed the IP to one that was allowed to do
expn). So did exim -d10 -bd -oX 27 with:
stan:~# telnet kenny 27
Trying 10.1.3.166...
Connected to kenny.su.valinux.com.
Escape character is '^]'.
220 mail.valinux.com ESMTP Exim 3.16 #1 Wed, 23 Aug 2000 11:24:38 -0700 - VA mm1
expn merlin@???
250 <merlin@???>
quit
221 mail.valinux.com closing connection
Connection closed by foreign host.
stan:~# telnet kenny 25
Trying 10.1.3.166...
Connected to kenny.su.valinux.com.
Escape character is '^]'.
220 mail.valinux.com ESMTP Exim 3.16 #1 Wed, 23 Aug 2000 11:28:19 -0700 - VA mm1
expn merlin@???
Connection closed by foreign host.

strace shows:
"expn merlin@???\r\n", 8192) = 28
alarm(0)                                = 286
_llseek(1, 0, [0], SEEK_SET)            = 0
read(1, "# Version 1.0\n# Increment the ve"..., 4096) = 1264
geteuid()                               = 8
getegid()                               = 8
time(NULL)                              = 967055411
--- SIGSEGV (Segmentation fault) ---


gdb says:
Program received signal SIGSEGV, Segmentation fault.
0x2abea41b in vfprintf () from /lib/libc.so.6
(gdb) where
#0 0x2abea41b in vfprintf () from /lib/libc.so.6
#1 0x2abf1d2d in fprintf () from /lib/libc.so.6
#2 0x8080039 in log_write ()
#3 0x808b3b0 in rewrite_one ()
#4 0x808b572 in rewrite_address ()
#5 0x8097957 in verify_address ()
#6 0x8091135 in smtp_setup_msg ()
#7 0x80654da in handle_smtp_call ()
#8 0x8066935 in daemon_go ()
#9 0x80747d7 in main ()
#10 0x2abc6a42 in __libc_start_main () from /lib/libc.so.6

There you go :-)

Marc
--
Microsoft is to software what McDonalds is to gourmet cooking

Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f@??? for PGP key and other contact information