Ticket #18371: patch-spamd.raw.diff

File patch-spamd.raw.diff, 458 bytes (added by compconsultant@…, 16 years ago)

Fixes bug with virtual email addresses

  • spamd/spamd.raw

    old new  
    20752075  if ( $opt{'user-config'} ) {
    20762076    my $prefsfrom = $username;  # the one passed, NOT $opt{username}
    20772077
    2078     if ($prefsfrom eq $suidto) {
     2078    if ($prefsfrom eq $suidto || $opt{'vpopmail'}) {
    20792079      $userdir = $suiddir;      # reuse the already-looked-up info
    20802080    } else {
    20812081      $userdir = (getpwnam($prefsfrom))[7];