Anton Aylward wrote:
The stuff I see on the net assumes mail is coming in via SMTP into Postfix whihc has - or maybe not - a like to spamd and then loops abck to the dovecot LDA and somehow .... somehow ... somehow ... to the sieve. But the sieve examples I see aren't as flexible as Procmail.
Please read that again.
Please also go back though this thread and look at other exchanges about K.I.S.S and not making use of Postfix when running fetchmail
Yes, I remember all of that, but if you want to use dovecot local delivery, I don't think there is a way around it.
sieve is invoked by dovecot as part of delivery. For instance, here's a bit of my dovecot.conf:
protocol lmtp { mail_plugins = sieve quota }
And how is that relevant ? I see what it does but how is it relevant to what I'm faced with?
I took your "but HOW?" to mean you were having difficulties getting sieve to work in/with dovecot.
My current procmail does whitelisting and delivery (for example of this list), blacklist, handling of known spam - BEFORE passing to SpamAssassin.
I'm not sure you'll be able to run spamassassin as part of a sieve script.
Then what use is it to me?
Sorry, I didn't realise that running spamassassin from sieve was a hard requirement. That's your show-stopper.
I would recommend running that under the control of postfix,
So I now do fetchmail from @antonaylward.com which is off site and push that into Postfix
which promptly delivers it back to my off site address..
WTF!
Bad postfix configuration. If postfix attempts to relay mail sent to @antonaylward.com instead of delivering it locally, antonaylward.com has probably not been configured as a virtual domain?
My home site is distinct from the domains I own (and those are implemented at various ISP). No doubt other people are in this situation.
Very typical situation.
My cable provider will not let me run a 'server', be it SMTP or HTTP. and they run scans. So all my mail is delivered off site. That includes the mailboxes at my cable provider's address. Which is why I use fetchmail.
Yup, makes sense.
And to be able to test, I need to be able to send from home to those addresses, so Postfix doesn't see them as local delivery.
For testing, use an external webmail instead. (yahoo et al). BTW, regarding my comments on SA performance, I neglected to emphasize that there is a big performance difference between running a spamc/spamd setup and running SA via 'spamassassin'. -- Per Jessen, Zürich (12.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org