Hi,

Did you try sending the spam manually, as in

# su dspam
dspam$  cat spammail.txt | /usr/bin/dspam --user
[EMAIL PROTECTED] --source=error

What's the output ?

 - shashi

On 9/30/07, Jani Partanen <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I try to setup global ham/spam alias but can't get it work..
>
> what I have done is I have setup to postfix master.cf this:
> dspam-retrain   unix    -       n       n       -       10      pipe
>   flags=Ru user=dspam argv=/usr/bin/dspam --user ${sender}
> --class=${nexthop} --source=error
>
> and into transport I have put this:
> [EMAIL PROTECTED]    dspam-retrain:spam
> [EMAIL PROTECTED]     dspam-retrain:innocent
>
> okey so this all seems to be good, system accept both address as valid and
> accept mail, but when I forward message to spam address, I get into maillog
> this:
> Sep 30 17:09:59 rottelo postfix/cleanup[29289]: 2C6DC1E8088: message-id=<
> [EMAIL PROTECTED]>
> Sep 30 17:09:59 rottelo postfix/qmgr[29283]: 2C6DC1E8088: from=<
> [EMAIL PROTECTED]>, size=15350, nrcpt=1 (queue active)
> Sep 30 17:09:59 rottelo dspam[29291]: Unable to find a valid signature.
> Aborting.
> Sep 30 17:09:59 rottelo dspam[29291]: process_message returned error
> -5.  dropping message.
> Sep 30 17:09:59 rottelo postfix/pipe[29290]: 2C6DC1E8088: to=<
> [EMAIL PROTECTED]>, relay=dspam-retrain, delay=0.61, delays=0.59/0.01/0
> /0.01, dsn=2.0.0, status=sent (delivered via dspam-retrain service)
> Sep 30 17:09:59 rottelo postfix/qmgr[29283]: 2C6DC1E8088: removed
>
> and into dspam.debug log I see this:
> 29291: [09/30/2007 17:09:59] DSPAM Instance Startup
> 29291: [09/30/2007 17:09:59] input args: /usr/bin/dspam --user
> [EMAIL PROTECTED] --class=spam --source=error
> 29291: [09/30/2007 17:09:59] pass-thru args:
> 29291: [09/30/2007 17:09:59] processing user [EMAIL PROTECTED]
> 29291: [09/30/2007 17:09:59] uid = 1003, euid = 1003, gid = 1003, egid = 0
> 29291: [09/30/2007 17:09:59] loading preferences for user
> [EMAIL PROTECTED]
> 29291: [09/30/2007 17:09:59] Loading preferences for uid 6
> 29291: [09/30/2007 17:09:59] Loading preferences for uid 0
> 29291: [09/30/2007 17:09:59] loaded default preferences externally
> 29291: [09/30/2007 17:09:59] using /var/dspam/opt-
> in/[EMAIL PROTECTED] as path
> 29291: [09/30/2007 17:09:59] using /var/dspam/opt-
> out/[EMAIL PROTECTED] as path
> 29291: [09/30/2007 17:09:59] sedation level set to: 5
> 29291: [09/30/2007 17:09:59] message is signed.  retaining original text
> for reassembly
> 29291: [09/30/2007 17:09:59] message is signed.  retaining original text
> for reassembly
> 29291: [09/30/2007 17:09:59] DSPAM Instance Shutdown.  Exit Code: 0
>
> So does anyone have idea what I am doing wrong?
>
> Mail does have signature and it's in header, I have setup my outlook to
> forward messages as attachment so everything should be fine I think..
>
>
> Pelikaista / Mediatraffic Oy
> Jani Partanen
> System administrator
> tel. +358 505 817 817
> e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED]
>
>
>


-- 
- Shashishekhar S

Reply via email to