Converting a sendmail rule for anti spamming to Qmail

2000-03-04 Thread Yusuf Goolamabbas

I came across this. Can I get similar functionality in Qmail. If so, how
Comments on whether this is appropiate or not is also welcome


http://www.harker.com/sendmail/local-msg-id-ruleset.html

-- 
Yusuf Goolamabbas
[EMAIL PROTECTED]



Re: vpopmail, virtual users and procmail - possible?

2000-03-04 Thread Robert Sander

On Sat, Mar 04, 2000 at 12:30:00AM +0100, Peter Bieringer wrote:
 Now procmail should sort out all e-mails from maillists and forward them to
 "list4peter". At the moment, this works well on a sendmail-based system,
 but I want to move it to qmail.

Just subscribe to all list with adresses like [EMAIL PROTECTED]
You do not need procmail for mailinglists with qmail.

Greetings
-- 
Robert Sander www.gurubert.de



qmail Digest 4 Mar 2000 11:00:01 -0000 Issue 930

2000-03-04 Thread qmail-digest-help


qmail Digest 4 Mar 2000 11:00:01 - Issue 930

Topics (messages 38158 through 38208):

Problems with adresses with hypens
38158 by: Bernat Ginard
38161 by: iv0

SMTP email blocking
38159 by: TAG
38160 by: Petr Novotny

qmail-pop3 spins
38162 by: Uncle George
38163 by: Chris Johnson
38164 by: Uncle George

Re: Qmail List Digest?
38165 by: Fred Lindberg
38205 by: Walt Mankowski

Re: SPAMCONTROL patch
38166 by: Russell Nelson
38181 by: Erwin Hoffmann
38182 by: Chris Johnson
38184 by: Soffen, Matthew
38186 by: Russell Nelson
38200 by: Vincent Schonau

removing a list
38167 by: Dan Barber
38168 by: Chris Johnson
38169 by: Russell Nelson

Maildir imap and vpopmail
38170 by: Derek Smith
38171 by: Paul Schinder
38172 by: iv0
38183 by: Derek Smith

Re: New to Qmail: Questions
38173 by: Vincent Danen
38174 by: Dave Sill
38175 by: Vincent Danen
38177 by: Steve Wolfe
38178 by: Chris Johnson

Re: Unix as it should be (OT)
38176 by: Chris Garrigues

Trailer for every message
38179 by: Jay Moore

More qmail training?
38180 by: Russell Nelson

DNS checks on sending address
38185 by: Jon Rust

help for a newbie
38187 by: Joel Dudley
38189 by: Dave Sill
38202 by: Peter Avalos

Odd mail headers
38188 by: John P. Looney
38190 by: RaTao von J
38192 by: Dave Sill

Re: daemontools
38191 by: vogelke.c17mis.region2.wpafb.af.mil

autorespond
38193 by: Joel Dudley

Re: Encryption and t-shirts
38194 by: Rogerio Brito

More RBL
38195 by: Mark Tippetts
38196 by: Timothy L. Mayo
38199 by: Uwe Ohse

startup script
38197 by: Joel Dudley
38198 by: Steve Wolfe

vpopmail, virtual users and procmail - possible?
38201 by: Peter Bieringer
38208 by: Robert Sander

missing pieces during install
38203 by: MicroSense Computer Works
38204 by: Kai MacTane

Re: can't stop qmail (supervise-scripts)
38206 by: Bruce Guenter

Converting a sendmail rule for anti spamming to Qmail
38207 by: Yusuf Goolamabbas

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



Hi all,

We have a mail server with qmail and vpopmail and all is working right
except that we have an address which is [EMAIL PROTECTED] and another one
which is [EMAIL PROTECTED] and the mails sent to the second address go to
the first. The rest of addresses works right. We have addresses with
hypens, dots and all them work right

What can be the problem?

-- 
Bernat Ginard Lladó
mailto:[EMAIL PROTECTED]   http://www.kaos.es




Bernat Ginard wrote:
 
 Hi all,
 
 We have a mail server with qmail and vpopmail and all is working right
 except that we have an address which is [EMAIL PROTECTED] and another one
 which is [EMAIL PROTECTED] and the mails sent to the second address go to
 the first. The rest of addresses works right. We have addresses with
 hypens, dots and all them work right
 
 What can be the problem?
 
 --
 Bernat Ginard Lladó
 mailto:[EMAIL PROTECTED]   http://www.kaos.es

That's interesting. This is the third report of people having
problem with this. Basicly vpopmail is thinking that abc-def is
an exension of abc. It's easy to tweak the code. Perhaps the
next version of vpopmail should be more clear on the subject
or be configurable to turn it off. 

To fix:
Edit vdelivermail.c
Comment out lines 157 to 165 and replace with a single line:

pw_data = vauth_getpw(user, host);

Ken Jones




Hi,

Is there a way of stopping my users from sending to a particular
email???

Thanks ALL

Tonino




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3 Mar 00, at 14:37, TAG wrote:

 Is there a way of stopping my users from sending to a particular
 email???

You mean particular (outside) address [EMAIL PROTECTED]? 
Simply put
[EMAIL PROTECTED]:alias-forbidden
in virtualdomains,
|bouncesaying "Don't send anything to that address!"
in ~alias/.qmail-forbidden-default and HUP qmail-send to reread 
virtualdomains file.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOL+jWFMwP8g7qbw/EQKoawCgvuoOWzLwcx32N6tBnIH9anEYeM0An0AM
23V1a8U/yBYwoIEAl/dV0tJA
=OJZg
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]




using the 

qmail as a outgoing mail server

2000-03-04 Thread Bufnea Darius


I have a private network who use a server called myhost.mydomain, connected
to internet to a ppp line. The server is use as mail server, proxy, gateway
and so on for the private netowork... The problem is that the MUA that runs
on the windows machines from the private network can't use my server as
outgoing mail server. They receive an error massege that the domian is not
in the list of allowed rcpt hosts. I put the hosts from the private network
in /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts
look somethig like this:

192.168.80.2   winmachine1.myhosts.mydomain   winmachine1
192.168.80.3   winmachine2.myhosts.mydomain   winmachine2
and so on...

In /var/qmail/control/rcpthosts i put:

myhosts.mydomain
winmachine1.myhosts.mydomain
winmachine2.myhosts.mydomain

What I have to do that the MUA from winmachines to work? (my users now use
pine to sent their mail)

  Thanks, and please excuse this stupid question...

__
Get Your Private, Free Email at http://www.hotmail.com



Re: qmail as a outgoing mail server

2000-03-04 Thread Chris Johnson

On Sat, Mar 04, 2000 at 04:21:44PM +0200, Bufnea Darius wrote:
 
 I have a private network who use a server called myhost.mydomain, connected
 to internet to a ppp line. The server is use as mail server, proxy, gateway
 and so on for the private netowork... The problem is that the MUA that runs
 on the windows machines from the private network can't use my server as
 outgoing mail server. They receive an error massege that the domian is not in
 the list of allowed rcpt hosts. I put the hosts from the private network in
 /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts look
 somethig like this:

http://www.palomine.net/qmail/selectiverelay.html


Chris



Re: Re: qmail as a outgoing mail server

2000-03-04 Thread Bufnea Darius

  I have a private network who use a server called myhost.mydomain, 
connected
  to internet to a ppp line. The server is use as mail server, proxy, 
gateway
  and so on for the private netowork... The problem is that the MUA that 
runs
  on the windows machines from the private network can't use my server as
  outgoing mail server. They receive an error massege that the domian is 
not in
  the list of allowed rcpt hosts. I put the hosts from the private network 
in
  /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts 
look
  somethig like this:

http://www.palomine.net/qmail/selectiverelay.html


Chris

  I try to change sendmail with qmail step by step. I steel use inet.
Chris's soltion helps with tcpserver... I need something like this for 
inet...

__
Get Your Private, Free Email at http://www.hotmail.com



Re: qmail as a outgoing mail server

2000-03-04 Thread Chris Johnson

On Sat, Mar 04, 2000 at 05:09:10PM +0200, Bufnea Darius wrote:
 I try to change sendmail with qmail step by step. I steel use inet.  Chris's
 soltion helps with tcpserver... I need something like this for inet...

If you're making the change to qmail, you're going to want to use tcpserver.
inetd is no longer officially supported, and I think you'll find that most
people on this list won't answer questions about it because they don't use it
(at least not for their qmail stuff). 

It's not at all difficult to set up, and you can run tcpserver and inetd at the
same time, as long as you don't try to listen to the same ports with both. Just
be sure that for every service you use tcpserver for, you comment out the inetd
lines for that service.

Chris



problems with qmail-pop3d

2000-03-04 Thread Vincent Danen

I have a few problems with qmail-pop3d that I'm not sure how to solve.  I
followed the instructions to the letter, and when I start it with
/etc/rc.d/init.d/qmail-pop3d.init it starts but says "hard error" before
it starts.  Any idea what this might be?

Also, I switched to using maildir and followed those instructions
properly, but when I use fetchmail to attempt to retrieve those messages I
get a "user doesn't have a $HOME/Maildir" error and no mail is
retrieved.  There is a ~/Maildir directory, I ran maildirmake and added
"./Maildir/" to the ~/.qmail file.  Any idea what I'm doing wrong?

Thank you in advance.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org



Re: New to Qmail: Questions

2000-03-04 Thread Vincent Danen

On Fri, 3 Mar 2000, Chris Johnson wrote:

 On Fri, Mar 03, 2000 at 08:47:52AM -0700, Vincent Danen wrote:
  But that means I have to leave the list open for anybody to send to,
  right?  It can't be a members-only list then?  I'd prefer not to do that,
  but if I don't have a choice then I don't have a choice.  Or perhaps
  there's an accept/deny rule for unsubscribed people attempting to send
  mail to the list (I don't want other robots/spammers able to send mail to
  the list, only legitimate subscribers), so I can deny all except for one
  specific email address (the robot) and allow all members...  is something
  like this possible?
 
 There have been a number of suggestions, but I think the easiest and most
 correct way of doing this is to subscribe the robot's e-mail address to
 dir/allow. Look at the -u option in the ezmlm-make man page.

Ok, I was thinking of that.  The problem is I want messages from the
mailing list sent to the robot, all except for the messages the robot
itself sends.  Basically what I'm doing is turning a message area on my
BBS into a mailing list and don't want the messages from the BBS going
*back* to the message area on the BBS because ezmlm sends the poster his
message back.  I want to avoid duplicate messages in the BBS message area.

 This may require ezmlm-idx; I don't know because I don't have the vanilla ezmlm
 installed.

Yeah, I installed ezmlm-idx so that isn't the problem.  Nice added
features it provides... =)

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org



Re: qmail as a outgoing mail server

2000-03-04 Thread Vincent Danen

On Sat, 4 Mar 2000, Bufnea Darius wrote:

 I have a private network who use a server called myhost.mydomain, connected
 to internet to a ppp line. The server is use as mail server, proxy, gateway
 and so on for the private netowork... The problem is that the MUA that runs
 on the windows machines from the private network can't use my server as
 outgoing mail server. They receive an error massege that the domian is not
 in the list of allowed rcpt hosts. I put the hosts from the private network
 in /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts
 look somethig like this:
 
 192.168.80.2   winmachine1.myhosts.mydomain   winmachine1
 192.168.80.3   winmachine2.myhosts.mydomain   winmachine2
 and so on...

I think you need to add those IP addresses to /etc/tcprules.d/qmail-smtpd
or /etc/tcprules.d/rblsmtpd (depending on which you use).  There should be
a RELAY rule in there which (by default) only allows the machine's IP and
the localhost IP to use it to relay mail for outgoing mail.  If you edit
that and use tcprules to make a new cdb file it should work (I
believe).  You might have to restart qmail-smtpd to get the changes
recognized, I'm not sure.  This is a guess, I'm new to qmail too.  =)

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org



Re: New to Qmail: Questions

2000-03-04 Thread Steve Wolfe

 Ok, I was thinking of that.  The problem is I want messages from the
 mailing list sent to the robot, all except for the messages the robot
 itself sends.

  Why not just have the robot program look at the "from:" line in the
message, and if it's from itself, it discards it?  That takes care of the
looping...

steve



Help on tcpserver

2000-03-04 Thread lemonlainey

Hi All,

I have this in my /etc/init.d folder on a Solaris 2.6

/usr/local/bin/tcpserver -x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 
100 0 smtp /var/qmail/bin/qmail-smtpd  

Each time I check my email, the server executes another instance of this, 
see below :

   alias   320 1  0 20:45:38 ?0:00 /usr/local/bin/tcpserver 
-x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 100 0 s
   alias   477   320  0 20:54:02 ?0:00 /usr/local/bin/tcpserver 
-x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 100 0 s

Why is this as is this normal?



Re: Qmail Majordomo

2000-03-04 Thread Andrew Scott

At 10:46 AM 2000/02/15 +0100, [EMAIL PROTECTED] wrote:

I think djb's mess822 lib could help out a lot here...

Sorry, but what is "djb's mess822 lib" ?




Re: Linux services

2000-03-04 Thread Rogerio Brito

On Feb 21 2000, Robert wrote:
 I once saw a post on this list on how to remove a linux service and
 keep it from starting on boot.  It's been a while since the post,
 and I've since forgotten what the command was.  Can anyone help to
 refresh my memory??

Well, if we're talking about the same thing, I remember that
Harald was upgrading his Solaris machine and told the list
that it automatically installed sendmail. Then, in one of the
start up scripts someone else suggested that the disabled the
sendmail binary and made the appropriate links to qmail.

But my memory is also not that clear (and I'm not on-line
right now).


Hope this helps, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: Qmail Majordomo

2000-03-04 Thread cmikk


On Sat, 04 Mar 2000 21:57:32 -0500 , "Andrew Scott" writes:
 At 10:46 AM 2000/02/15 +0100, [EMAIL PROTECTED] wrote:
 
 I think djb's mess822 lib could help out a lot here...
 
 Sorry, but what is "djb's mess822 lib" ?
 
It's available from his "available software" page.  It
is a pretty nice library and set of programs for slicing
and dicing rfc-822ish e-mail headers.
 
-- 
Chris Mikkelson  | ... a pet peeve of mine is people who directly edit 
[EMAIL PROTECTED] | the .cf file instead of using the m4 configuration
 | files ... I treat the .cf file as a binary file
 | - you should too.  --- Eric Allman



problems with qmail-pop3d (fwd)

2000-03-04 Thread Vincent Danen

Not sure if anyone got this, but as an update I re-created the Maildir's
for all of my users.  I think I had originally done "maildirmake
~/Maildir" which might have been the problem... did it this time as
"maildirmake $HOME/Maildir" and now when I connect with fetchmail it tells
me it is unable to scan $HOME/Maildir as opposed to the other error
message.  One step in the right direction, I think, but now I'm really
stumped.  Why would it be unable to scan?

I also edited /var/qmail/rc and changed ./Mailbox to ./Maildir/ but that
doesn't seem to have made a difference as far as the POP3 daemon is
concerned.

Help!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org
-- Forwarded message --
Date: Sat, 4 Mar 2000 10:50:10 -0700 (MST)
From: Vincent Danen [EMAIL PROTECTED]
To: Qmail Mailing List [EMAIL PROTECTED]
Subject: problems with qmail-pop3d

I have a few problems with qmail-pop3d that I'm not sure how to solve.  I
followed the instructions to the letter, and when I start it with
/etc/rc.d/init.d/qmail-pop3d.init it starts but says "hard error" before
it starts.  Any idea what this might be?

Also, I switched to using maildir and followed those instructions
properly, but when I use fetchmail to attempt to retrieve those messages I
get a "user doesn't have a $HOME/Maildir" error and no mail is
retrieved.  There is a ~/Maildir directory, I ran maildirmake and added
"./Maildir/" to the ~/.qmail file.  Any idea what I'm doing wrong?

Thank you in advance.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org