Alan Milligan writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sam Varshavchik writes:
| Try to do some more testing, and be sure to try the following command:
| RCPT TO:<postmaster@[>
| and then see what happens&
Dec 24 00:52:21 mistress courierd: newmsg,id=000402CB.3FE8E345.00005D5B:
dns; localhost (localhost [127.0.0.1])Dec 24 00:52:21 mistress courierd:
started,id=000402CB.3FE8E345.00005D5B,from=<ro...@balclutha.org>,module=esmtp,host=[,addr=<postmaster@[>
Dec 24 00:52:21 mistress courierd: Waiting. shutdown time=none, wakeup
time=none, queuedelivering=1, inprogress=1
Dec 24 00:52:21 mistress courieresmtp:
id=000402CB.3FE8E345.00005D5B,from=<ro...@balclutha.org>,addr=<postmaster@[>:
No such domain.
Looks OK to me ....
Then you managed to get away with a NULL pointer dereference:
- else if (s->token == '[')
- {
- // doing dot-quad check ie bla@[x.x.x.x] …
- int buflen = strlen(s->next->ptr) -1;
-
s->next may be NULL, at this point.