[vchkpw] Parse with spamassassin, then honour smtproutes?

2003-05-28 Thread Michael Bellears
I have multiple domains running on one server, and have been asked to
accept mail for a domain, parse it with spamassassin, then forward to
remote mail server.

I have tried adding the domain(eg example.com via vqadmin), adding an
smtproutes entry, then creating an .qmail-default:

|/usr/bin/spamc -f -u spamd |forward $DEFAULT@example.com

But the message fails (loops):

2003-05-28 16:33:10.422753500 delivery 10263: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)


Regards,
MB



[vchkpw] bounce bounce messages

2003-05-28 Thread Geoff Sweet
Perhaps I missed something in the documentation, but in my install I am
having bounced bounce messages returning to 
[EMAIL PROTECTED]  So if I have a machine called mail.bob.com
and I host a dozen or so domains, all the bounced bounce messages are
coming to [EMAIL PROTECTED]

Shouldn't those messages be going to [EMAIL PROTECTED] Maybe I
have something misconfigured?

Any insight would be helpful.

Geoff




Re: [vchkpw] bounce bounce messages

2003-05-28 Thread Michael Bowe
This is a qmail issue

If you want to override the standard qmail behaviour and have all the
double-bounces to go to [EMAIL PROTECTED], then you can do this :

echo 'someone'  /var/qmail/control/doublebounceto
echo 'somedomain.com'  /var/qmail/control/doublebouncehost

I dont believe it is possible to dynamically send the doublebounce to the
postmaster of the domain of the original recipient (if that makes sense!!)

Michael.

- Original Message - 
From: Geoff Sweet [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 5:30 PM
Subject: [vchkpw] bounce bounce messages


 Perhaps I missed something in the documentation, but in my install I am
 having bounced bounce messages returning to
 [EMAIL PROTECTED]  So if I have a machine called mail.bob.com
 and I host a dozen or so domains, all the bounced bounce messages are
 coming to [EMAIL PROTECTED]

 Shouldn't those messages be going to [EMAIL PROTECTED] Maybe I
 have something misconfigured?

 Any insight would be helpful.

 Geoff







Re: [vchkpw] SpamAssassin, Vpopmail, conditional handling on SpamScore?

2003-05-28 Thread Peter Palmreuther
Hi Dave,

On Tue, 27 May 2003 16:42:33 -0500 Dave Richardson - Lists wrote:

 I'm running the QMAILQUEUE patch with SpamAssassin into Vpopmail with 
 Mysql and Courier.
 
 I'm running SpamAssassin with spam threashold required_hits = 8.
 
 I allow direct delivery to the mailbox, but it is subject prefixed 
 [SPAM]  (thus it is Spam Tagged)
 
 What I'd like to do is add another threashold (probably in SA?) where 
 the spam score of 15 is sent to /dev/null.  Scores from 7-14.99 are 
 spam tagged (and delivered) and scores less than 7 are not spam tagged. 

Once there was a second threshold in SA that discarded mails with more
than score XX. But IIRC it's gone now and also sent an autoreply
instead of simply discarding the mail.
Additionally this would be of much use for you.

Qmail-scanner pushes a message to spamd. Even if spamd would decide to
discard the mail and return nothing to qmail-scanner QS would handle
this either as an error and pass the unaltered mail through or if it
would get back an empty message pass the empty message through.

So what you need as a modification to qmail-scanner that discards mails
with a score above a defined threshold by itself.

I'm using the fast-spamd method of qmail-scanner therefore it's easy
to figure out the score the message got. Modifying QS shouldn't be that
hard.
If you're using the method where QS passes the mesasge to spamd and
expectes the altered message back (instead of just the score) it could
be more difficulty.

As QS is pure Perl I'd suggest: go ahead, open a text editor of your
choice and modify QS according to your needs.
Pass the patch to the QS developer(s) and chances are it's included
somewhere in the next release and more people will benefit from your
idea and work.

P.S.: For future mails to this list you really should disable Reply-To.
  1.) It's superfluous. It contains the same address as From and
  therefore is absolutely useless.
  2.) It makes it impossible to easily reply to the list for those MUAs
  capable of List-Reply by evaluating 'List-Post' header.
  'Reply-To' takes, for obvious reasons, precedence over
  'List-Post'.
 Thank you.
-- 
Ciao,
 Pit



Re: [vchkpw] Spam filter

2003-05-28 Thread Peter Palmreuther
Hi Rick,

On Tue, 27 May 2003 20:48:27 -0400 Rick Macdougall wrote:

 I haven't tested this but setting the ENV variable within the smtp/run 
 file and then over-riding it for specific IP's in the tcp.smtp file 
 should work as well.

It does. And IMHO it's the best approach. If I want mail to be passed
through QS I define this as the default by setting appropriate ENV
before starting qmail-smtpd, respectively tcpserver that starts
qmail-smtpd.

I than define in tcp.smtp.cdb what IPs are allowed to 'bypass' QS by
setting QMAILQUEUE to '.../qmail-queue'.
-- 
Ciao,
 Pit



Re: [vchkpw] SpamAssassin, Vpopmail, conditional handling on SpamScore?

2003-05-28 Thread Peter Palmreuther
Hi Peter,

On Wed, 28 May 2003 10:26:17 +0200 Peter Palmreuther wrote:

 Additionally this would be of much use for you.

s/would/wouldn't/
-- 
Ciao,
 Pit



Re: [vchkpw] mail robot

2003-05-28 Thread Manish Jain
Dear Masood

The mail robot is used for sending automatic response to the sender.
When a sender will send a mail to the mail robot a auto generated mail
will be sent in reply to the sender and the message for the same u can
type.
If u have any further query mail me back..

Regards..

Manish Jain

On Tue, 2003-05-27 at 20:04, Ahmad Masood Shah wrote:
 I'm seening here in qmailadmin new mail robot option. I'm not able to
 understand what does mean by mail robot.
 Can someone please describe in detail what is mail robot and for what
 purpose I can use it.
 
 Thank's for help :)
 
 
 -- 
 
 Best Regs,
 Masood Ahmad Shah
 
-- 
Manish Jain
ISP Division
Centre for Development of Advanced Computing
C-56/1, Sector-62, 
Noida (UP)
Phone: 0120-2402551 to 60 [Extn-803/718]
FAX: 0120-2402569
[EMAIL PROTECTED]




Re: [vchkpw] interface for vpopmail

2003-05-28 Thread Manish Jain

Hi Payal,

How r u?
U didn't mail me back..
When u came from home?

YEs u r right there is no GUI for adding up domains.

Mail me Back..

Manish Jain



On Mon, 2003-05-26 at 10:57, Payal Rathod wrote:
 Hi,
 Do we have an GUI based interface for vpopmail to add domains and delete
 domains? I guess qmailadmin does not do this.
 
 Thanks a lot and bye.
 With warm regards,
 -Payal
 
 
 -- 
 Visit GNU/Linux Success Stories
 http://payal.staticky.com
 Guest-Book Section Updated.
-- 
Manish Jain
ISP Division
Centre for Development of Advanced Computing
C-56/1, Sector-62, 
Noida (UP)
Phone: 0120-2402551 to 60 [Extn-803/718]
FAX: 0120-2402569
-- 
Manish Jain
ISP Division
Centre for Development of Advanced Computing
C-56/1, Sector-62, 
Noida (UP)
Phone: 0120-2402551 to 60 [Extn-803/718]
FAX: 0120-2402569




Re: [vchkpw] Parse with spamassassin, then honour smtproutes?

2003-05-28 Thread Rick Romero
On Wed, 2003-05-28 at 07:05, Rick Macdougall wrote:
 Hi,
 
 You can not do it that way.
 
 The only way I can see to do it is to set up a dummy sub-domain and 
 forward the mail to that sub-domain...
 
 ie - domain.com mx = your server, mail2.domain.com mx = real server
 
 .qmail-default =
 |/usr/bin/spamc -f -u spamd |forward $DEFAULT@mail2.domain.com
 
 Regards,

 Rick

I Recently setup a 'forward to existing domain  save locally' config
for a domain that used a second qmail installtion, and use the 'forward'
from that qmail.
.qmail-default:
| /var/qmail2/bin/forward $DEFAULT@thatdomain.com

where /var/qmail2/control/smtproutes:
thatdomain.com:205.62.123.123

That'll work...For me, that domain is scanned by SpamAssassin before
it's forwarded.

Rick



 
 Michael Bellears wrote:
 
  I have multiple domains running on one server, and have been asked to
  accept mail for a domain, parse it with spamassassin, then forward to
  remote mail server.
  
  I have tried adding the domain(eg example.com via vqadmin), adding an
  smtproutes entry, then creating an .qmail-default:
  
  |/usr/bin/spamc -f -u spamd |forward $DEFAULT@example.com
  
  But the message fails (loops):
  
  2003-05-28 16:33:10.422753500 delivery 10263: failure:
  This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)
  
  
  Regards,
  MB