Felipe,

> > > "FreeBSD + Qmail + Vpopmail"
> > > *Dec  1 10:40:46 mail spamd[67490]:
> > >   spamd: handle_user unable to find user: '[email protected]'*

> > A username '[email protected]' does not exist. Either you should not
> > pass the full recipient's e-mail address in the -u argument to spamc
> > but use a localpart only, or perhaps you are missing the --vpopmail
> > option in spamd.

> In case the mail there, I just modified to "[email protected]."
> 
> So if I enable the "-v", you should find the User?

I don't know, I'm not familiar with Qmail and Vpopmail setup.

All I know is that spamd has some extra code to deal with
Vpopmail virtual users, which is enabled by the --vpopmail
command line option to spamd. In absence of this option,
a lookup for a username goes to a system's getpwnam()
function, which obviously does not handle e-mail addresses
with domain part, but expects a plain username.

This can be dealt with by passing just a localpart of
a recipient address as a username in a spamc call.

It is unfortunate that spamd's logging does not distinguish
between four instances for a
  "spamd: handle_user unable to find user:"
message, so I can't tell from your posting which of these
four cases failed. I guess this should be improved for 3.4.

  Mark

Reply via email to