smtp vrfy

Glenn Steen glenn.steen at
Mon Nov 5 19:25:47 GMT 2007

On 05/11/2007, Simon Jones <simon at> wrote:
> Hi, I'm trying to get my mailscanner box to check with the destination
> server that the recipient address is valid using smtp vrfy.
> I have implemented this in and it works great BUT it works for
> ALL addresses on the destination server, i.e. I get
> 550 5.1.1 <valid at>: Recipient address rejected:
> undeliverable addres
> s: host[] said: 501 unacceptable mail
> address (in rep
> ly to MAIL FROM command)
> when telnetting to the box on 25, however if I telnet to the destination
> server and do the same I get:
> vrfy valid at
> 250 ok its for <valid at>
> vrfy rubbish at
> 550 unknown user <rubbish at>
> If the destination server is working correctly how comes the mailscanner
> box is telling me it's an invalid user?
> I suspect the mailscanner box is checking locally? In which case it will
> only allow to rather than user at, but I'm not
> sure yet :)

Hi Simon

What you want to do is either to follow the instructions for
(recipient) verification as specified here:
... or use relay_recipient_maps as described in the MailScanner wiki.

> Thanks in advance
You're wellcome;-)

> Simon

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list