smtp vrfy

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


On 05/11/2007, Simon Jones <simon at saq.co.uk> 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 main.cf and it works great BUT it works for
> ALL addresses on the destination server, i.e. I get
>
> 550 5.1.1 <valid at domain.co.uk>: Recipient address rejected:
> undeliverable addres
> s: host xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx] 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 domain.co.uk
> 250 ok its for <valid at domain.co.uk>
> vrfy rubbish at domain.co.uk
> 550 unknown user <rubbish at domain.co.uk>
>
> 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 @domain.co.uk rather than user at domain.co.uk, 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:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html
... or use relay_recipient_maps as described in the MailScanner wiki.

> Thanks in advance
You're wellcome;-)

> Simon

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


More information about the MailScanner mailing list