Hello,

It seems like I'm missing something obvious here, but...

Is there any way to check the validity of an arbitrary address/username
from the command line, without having to telnet to port 25 and issue SMTP
commands, search the alias files, etc.?  I need something that'll spit out
the resolved address(es) for a given address.  Basically, I need exactly
what "/usr/lib/sendmail -bv addresstocheck" used to do for me.  Here's an
example for an address that happens to be a local alias:

# /usr/lib/sendmail -bv myalias
[EMAIL PROTECTED] deliverable: mailer SMTP, host
mail.userdomain.com, user [EMAIL PROTECTED]
[EMAIL PROTECTED] deliverable: mailer SMTP, host
mail.otherdomain.com, user [EMAIL PROTECTED]
localusername... deliverable: mailer local, user localusername


Another example for a local user:

# /usr/lib/sendmail -bv localname
localname... deliverable: mailer local, user localname


And so forth.  I was thinking maybe I could use authtest, but that will
just test authentication, so my various aliases don't show up.  Since I
sometimes have cascading aliases and so forth, it can be cumbersome to
grep through the alias files to see if a target address will indeed be
accepted (either as an alias, local UNIX user, virtual user in userdb,
etc.).


Thanks,
Dan




_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to