tcpserver -p and smtpd and DNS

2001-05-14 Thread David Killingsworth

I have been running qmail for about 8 months, It works great.
So far I have not been able to resolve on problem.
When an smtp connection comes in we only want to connect
with servers who have forward and reverse DNS that match.

I managed to install a macro into sendmail (mail server we replaced)
in about 15 minutes that takes the IP of the incoming smtp request
looks up the name, then looks up the IP for the NAME. the IP 
should be the same as the connecting host. If this is not the case
the smtp connection should be dropped.

I use tcpserver to start smtpd.
I use the -p (paranoid) option, (added the option a few days ago)
which by my preliminary understanding was supposed to accomplish
this task of DNS cross-matching.

However I receieved an email recently whois headers are

Received: from unknown (HELO www.somang.or.kr) ([EMAIL PROTECTED])
I noticed that there isn't a hostname.
nslookup 211.38.3.100  will return no hostname.
So back to the drawing board.
http://cr.yp.to/ucspi-tcp/tcpserver.html   ( -- drawing board)

I notice -p: Paranoid. After looking up the remote host name in DNS, look up
the IP addresses in
DNS for that host name, and remove the environment variable
$TCPREMOTEHOST if none of the addresses match the client's IP address. 

upon re-reading this option I notice it did what it says it does,
It removed the $TCPREMOTEHOST, hence the Received: from unknown 

I still got the email. So now I figure that $TCPREMOTEHOST is
passed to smtpd in the environment variables. 
so somehow I need to tell smtpd to close
if condition is not met.
Oh.. I have read the man pages. I have installed qmail, vpopmail,
on more than a dozen
servers for nearly that many clients. I understand quite abit.
 David Killingsworth.



Slow start tcpserver

2001-05-14 Thread Andriy T. Yanko

Hi ALL!

I decided try tcpserver program for qmail services (smtpd  pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

When I used xinetd for starting qmail-smtpd  qmail-pop3d I never must wait
for starting it.

--- /etc/rc.d/rc.qmail ---
/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
/var/qmail/bin/qmail-smtpd \
2 /var/log/qmail-smtp.log 

/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
/var/qmail/bin/qmail-popup mserver \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2 /var/log/qmail-pop3.log 

--- end ---


What I do wrong?
Thx. 
-- 
Good Luck!  Andriy T. Yanko

+-+
| E-mail: [EMAIL PROTECTED]ICQ# 83047775 Powered by Linux |
+-+
   



Re: Slow start tcpserver

2001-05-14 Thread tonix (Antonio Nati)


Try to use the -l name parameter on tcpserver.

Tonino

At 14/05/2001 14/05/2001 +0300, Andriy T. Yanko wrote:
Hi ALL!

I decided try tcpserver program for qmail services (smtpd  pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

When I used xinetd for starting qmail-smtpd  qmail-pop3d I never must wait
for starting it.

--- /etc/rc.d/rc.qmail ---
/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
/var/qmail/bin/qmail-smtpd \
2 /var/log/qmail-smtp.log 

/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
/var/qmail/bin/qmail-popup mserver \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2 
/var/log/qmail-pop3.log 

--- end ---


What I do wrong?
Thx.
--
Good Luck!  Andriy T. Yanko

+-+
| E-mail: [EMAIL PROTECTED]ICQ# 83047775 Powered by 
Linux |
+-+





Re: tcpserver -p and smtpd and DNS

2001-05-14 Thread Gerrit Pape

On Mon, May 14, 2001 at 06:30:44AM -, David Killingsworth wrote:
 I have been running qmail for about 8 months, It works great.
 So far I have not been able to resolve on problem.
 When an smtp connection comes in we only want to connect
 with servers who have forward and reverse DNS that match.

I allready anwered your question in alt.comp.mail.qmail some days ago. What
is wrong with my answer?

Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



[Fwd: Administrivia: Move to EZMLM]

2001-05-14 Thread Andre Oppermann


Hehe, finally it worked out! :-)

First Aleph1 didn't like qmail/ezmlm at all... but appearently there
is nothing else out there which can do the job.

-- 
Andre


Good day,

  [ I apologize to those that will receive this message multiple times ]

  As undoubtedly you will have noticed by now we experienced some problem
with our mailing lists this past week. In short, LISTSERV finally croaked.
It simply could not handle the load. We hoped to perform the these changes
in a couple of months as part of our upgrade strategy but we were forced
to accelerate our scheduled plans.

  We have moved the mailing lists over to ezmlm-idx. This will require a
little getting used to but it should not be particularly challenging. 
ezmlm-idx offers most of the features LISTSERV does and a few of its own.
Performance wise it should give LISTSERV a good beating.

  To familiarize yourself with ezmlm-idx review the ezman manual at
http://www.ezmlm.org/ezman-0.32/index.html.

  If you were using the digest option under LISTSERV you will need
to unsubscribe from the list and resubscribe to the digest. This
can be easily accomplished by sending messages to the 
list[EMAIL PROTECTED] and 
list[EMAIL PROTECTED] addresses.

  Messages that had been received by LISTSERV but not yet processed,
including messages that had become stuck on its queue and appeared
to disappear last week, have been re-injected into the mail system.
List moderators may, or may not, approve them, as appropriate.

  Aside from the speed benefits of ezmlm, messages now include a
Precedence header which should cut down on the number of out-of-office
and similar messages people that post to the list get. This is a feature
L-Soft refused to provide. If you ever post to the list this should
make you very happy.

  People that send messages with strange Sender headers should have
no more problems either. Another quirk of LISTSERV L-Soft did not
believe to be a problem.

  If you have any questions or comments please feel free to contact me.
Cheers.

-- 
Elias Levy
SecurityFocus.com
http://www.securityfocus.com/
Si vis pacem, para bellum





Re: Slow start tcpserver

2001-05-14 Thread Patrick Starrenburg

Dear Andriy

I believe the -l switch should solve your problem as the other person 
mentioned. If you are getting into using tcpserver and the other services 
written by qmail's author you may wish to look at qmail-conf

http://www.din.or.jp/~ushijima/qmail-conf.html

as this does a nice job of setting up all configuration files and logging 
via multilog and you can look how the author sets up calling tcpserver. Read 
his docs though as the program does a complete setup which you may or may 
not wish to go with.

Good luck

Patrick

==
Hi ALL!

I decided try tcpserver program for qmail services (smtpd  pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

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




qmail Digest 14 May 2001 10:00:00 -0000 Issue 1364

2001-05-14 Thread qmail-digest-help


qmail Digest 14 May 2001 10:00:00 - Issue 1364

Topics (messages 62364 through 62397):

qmail-analog
62364 by: ross.pro-web.ie

Re: MASS mailing
62365 by: Mike Jackson
62370 by: Karsten W. Rohrbach

Re: qmail does not handle timezones properly?
62366 by: Adrian Ho
62368 by: Patrick Starrenburg
62369 by: Patrick Starrenburg
62374 by: Adrian Ho
62376 by: Mark Delany
62379 by: Antonio Dias

Re: Newbies vs. arrogant experts (was: Newbie with tcpserver)
62367 by: Karsten W. Rohrbach

Unsubscribe Doesn't Work
62371 by: Jim Darrough
62373 by: Brett Randall
62392 by: Andy Bradford

qmail does not handle timezones properly? - More Info
62372 by: Patrick Starrenburg
62375 by: Peter van Dijk
62377 by: Mark Delany
62378 by: Frank Tegtmeyer
62380 by: Mark Jefferys
62382 by: Felix von Leitner
62383 by: Peter van Dijk
62384 by: Patrick Starrenburg

Re: Handling high volume lists (was: Newbies vs. arrogant experts)
62381 by: Chris Garrigues

alias documentation
62385 by: Neil Grant
62386 by: Nick (Keith) Fish

How to resend individual message?
62387 by: Evelyn Huang

Default forward address for entire domain with non sytems account assign file
62388 by: Peter Janett
62390 by: Ryan Byrne

No mail arrival notice!
62389 by: Evelyn Huang

tcpserver -p and smtpd and DNS
62391 by: David Killingsworth
62395 by: Gerrit Pape

Slow start tcpserver
62393 by: Andriy T. Yanko
62394 by: tonix (Antonio Nati)
62397 by: Patrick Starrenburg

Re: Administrivia: Move to EZMLM]
62396 by: Andre Oppermann

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 List,

I have installed the qmail-analog software
(http://cr.yp.to/qmailanalog.html). This has been a great help as I can
now find out information on active users on my system.

Is there a simple command to identify a users details? I would like a
simple report which gives me information on a per domain or per user basis.

I would like one command which lists all the emails a certain user has
recievedis this possable?

For the benifit of the list here are the commands I use to extract data
from the logs:

To list general details:
awk '{$1=;$2=;$3=;$4=;$5=;print}' /var/log/maillog | cat |
/usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zoverall

To list the details of all the users ont he system:
awk '{$1=;$2=;$3=;$4=;$5=;print}' /var/log/maillog | cat |
/usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zrecipients

To list all the people who have sent emails to our customers:
awk '{$1=;$2=;$3=;$4=;$5=;print}' /var/log/maillog | cat |
/usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zsenders



Regards,

Ross Cooney
_
Technical Director
Cyber Sentry Ltd, 101 Johnstown Road, Dun Laoghaire, Co Dublin, Ireland.
 
Email:  [EMAIL PROTECTED]
Telephone:  + 353 1 2352546 (sales)
Telephone:  1550 927 017 (Technical Support Ireland)
Fax:+ 353 1 2847263
 
 
This communication contains information which is confidential and
may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s),
please note that any distribution, copying or use of this
communication or the information in it is strictly prohibited.
If you have received this communication in error, please notify
the sender immediately and then destroy any copies of it.
_
 
 






Charles Cazabon wrote:

 There's other tricks as well, but with the above list you should easily be
 able to handle 1M deliveries a day on decent hardware.  I'm afraid I'm not
 familiar with the Netra you mention.
 

Netra's are little 1U pizza box style 'servers'. They are meant for
telecom operators, etc. I use one for a qmail/courier imap server for a
few hundred users, and it's ok. I definitely would not consider it a
'high end' solution. Yes, Solaris is slow, but it's also stable. Sort of
like an old John Deere tractor ;-). I wouldn't use one of these for a
million message per day list, although a cluster of them might be ok.

Mike




Mike Jackson([EMAIL PROTECTED])@2001.05.13 13:46:29 +:
 Netra's are little 1U pizza box style 'servers'. They are meant for
 telecom operators, etc. I use one for a qmail/courier imap server for a
 few hundred users, and it's ok. I definitely would not consider 

Re: tcpserver -p and smtpd and DNS

2001-05-14 Thread David Killingsworth

I have narrowed this to one simple item. Could someone, possibly you Gerrit
I know you have answered one way to get around this I just wanna understand
why I have to get around it, explain to me why qmail has delivered an email
to me that contains the following header:

Received: from unknown (HELO dali.onevision.de) (@212.77.172.50)
 by mail.myweb.net with SMTP; 14 May 2001 08:59:56 -

I have tcpserver -DUvp wrapping smtpd for qmail. 

Shouldn't tcpserver drop the connection when $TCPREMOTEIP is DNS'd to 
a hostname and $TCPREMOTEHOST is DNS'd to an IP. if $TCPREMOTEIP can't 
be resolved or if $TCPREMOTEHOST can't be resolved, shouldn't this cause
a FATAL in tcpserver? and it will drop the incoming connection?

 David.

On Mon, 14 May 2001 10:51:33 +0200, Gerrit Pape [EMAIL PROTECTED]
wrote :

 On Mon, May 14, 2001 at 06:30:44AM -, David Killingsworth wrote:
  I have been running qmail for about 8 months, It works great.
  So far I have not been able to resolve on problem.
  When an smtp connection comes in we only want to connect
  with servers who have forward and reverse DNS that match.
 
 I allready anwered your question in alt.comp.mail.qmail some days ago.
What
 is wrong with my answer?
 
 Gerrit.
 
 -- 
 [EMAIL PROTECTED]
 innominate AG
  the linux architects
 tel: +49.30.308806-0  fax: -77  http://www.innominate.com
 
 
 



Re: [Fwd: Administrivia: Move to EZMLM]

2001-05-14 Thread Peter van Dijk

On Mon, May 14, 2001 at 11:08:54AM +0200, Andre Oppermann wrote:
 
 Hehe, finally it worked out! :-)
 
 First Aleph1 didn't like qmail/ezmlm at all... but appearently there
 is nothing else out there which can do the job.

Argh. Now I know why my bugtraq sublist was so quiet.

Greetz, Peter.



Fwd: email with - in it????

2001-05-14 Thread Lye On Siong Johnny


Date: Mon, 14 May 2001 14:03:27 +0800
To: [EMAIL PROTECTED]
From: Lye On Siong Johnny [EMAIL PROTECTED]
Subject: email with - in it

Hi,

I am pretty new to qmail, and current we just setup a new mail server.

The scenario is as such. We have man user, eg support, support-mac, 
support-linux etc ...
each of the mail account has it's own .qmail file.

However, the problem is as such. when someone send a mail to eg 
support-error whereby this user doesnt exist, the mail is being send to 
support instead. How can i configure qmail such that if the email account 
does not exist, it should bounce the mail instead of sending it to support??

Thanks

Johnny




queue life time

2001-05-14 Thread Walid Kassab

Dear All

I would like to modify failure notice time queuelifetime to be 14400 ( 4
hours) instead of 604800 ( 7 days)
should i just create a file named queuelifetime under /var/qmail/control
directory and restart qmail or is there any additional processors I should
follow

regards

Walid



--
Best Regards
Walid Kassab
Technical Department Manager
Palestinian Internet Services, Co., Ltd.
http://www.p-i-s.com
Tel. +9708-2843197
Fax  +9708-2843377



Re: Fwd: email with - in it????

2001-05-14 Thread Johan Almqvist

* Lye On Siong Johnny [EMAIL PROTECTED] [010514 12:40]:
 I am pretty new to qmail, and current we just setup a new mail server.
 The scenario is as such. We have man user, eg support, support-mac, 
 support-linux etc ...
 each of the mail account has it's own .qmail file.
 
 However, the problem is as such. when someone send a mail to eg 
 support-error whereby this user doesnt exist, the mail is being send to 
 support instead. How can i configure qmail such that if the email account 
 does not exist, it should bounce the mail instead of sending it to support??

Remove support's .qmail-default file...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


bare linefeed problem by worm?

2001-05-14 Thread Frank Tegtmeyer

After the last worm incident we got many complaints that mail is not 
going through to us.

A quick log check showed that many messages from affiliate companies 
are rejected because of bare linefeeds (we have a smtpd patch that 
logs this).

Because the same companies were able to send mail to us before the 
worm attack (and also after that) I doubt they changed anything in 
their setup. Secondaries at our site are not involved (we have none).

The sending systems are Microsoft Exchange 5.5 and Sendmail 8.11. It 
seems that they switch to bare linefeeds under load. Very mysterious.

Did anyone see this affect too?

Regards, Frank




alias to my self

2001-05-14 Thread Martín Marqués

In my times with sendmail I used to have an acount that had a .forward like 
this in my $HOME dir at domain1:

# CUT HERE ###
martin@domain1
martin@domain2
# CUT HERE ###

So all my mail staid on my acount on domain1, but I had a copy in domain2.

Now, how do I do this with qmail, because when I put a .qmail on my home with 
the 2 addresses (with the ), it delivers it to martin@domain2, but doesn't 
keep a copy in the local acount in domain1. It says it won't do it because it 
will loop. I understand the loop stuff, but why did it work on sendmail. Is 
there any workaround?

Saludos... :-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-



Re: bare linefeed problem by worm?

2001-05-14 Thread Markus Schaefer

Frank Tegtmeyer [EMAIL PROTECTED] writes:

 Did anyone see this affect too?
 
Ups, there is a typo :)
Frank means effect instead of affect.

Regards,
 Markus



Re: tcpserver -p and smtpd and DNS

2001-05-14 Thread Mark Delany

On Mon, May 14, 2001 at 10:10:21AM -, David Killingsworth wrote:
 I have narrowed this to one simple item. Could someone, possibly you Gerrit
 I know you have answered one way to get around this I just wanna understand
 why I have to get around it, explain to me why qmail has delivered an email
 to me that contains the following header:
 
 Received: from unknown (HELO dali.onevision.de) (@212.77.172.50)
  by mail.myweb.net with SMTP; 14 May 2001 08:59:56 -
 
 I have tcpserver -DUvp wrapping smtpd for qmail. 
 
 Shouldn't tcpserver drop the connection when $TCPREMOTEIP is DNS'd to 
 a hostname and $TCPREMOTEHOST is DNS'd to an IP. if $TCPREMOTEIP can't 
 be resolved or if $TCPREMOTEHOST can't be resolved, shouldn't this cause
 a FATAL in tcpserver? and it will drop the incoming connection?

tcpserver *only* rejects connections if told to do so by the rules
supplied with -x or -X. What rules have you tried?

You should be able to get tcpserver to drop connections that do not
have TCPREMOTEHOST set by putting these entries in your rules:

=.:allow
:deny


Regards.



 
  David.
 
 On Mon, 14 May 2001 10:51:33 +0200, Gerrit Pape [EMAIL PROTECTED]
 wrote :
 
  On Mon, May 14, 2001 at 06:30:44AM -, David Killingsworth wrote:
   I have been running qmail for about 8 months, It works great.
   So far I have not been able to resolve on problem.
   When an smtp connection comes in we only want to connect
   with servers who have forward and reverse DNS that match.
  
  I allready anwered your question in alt.comp.mail.qmail some days ago.
 What
  is wrong with my answer?
  
  Gerrit.
  
  -- 
  [EMAIL PROTECTED]
  innominate AG
   the linux architects
  tel: +49.30.308806-0  fax: -77  http://www.innominate.com
  
  
  



how to make pine works with maildir

2001-05-14 Thread andi


i try to make pine works with maildir..
and i use freebsd4.1.1 release , pine4.31
and  pine-4.31-maildir.patch .
i get the error below when my machine compile the command
./build bsf

cc: ../c-client/c-client.a: No such file or directory
*** Error code 1

Stop in /usr/local/pine4.31/pine.

Links to executables are in bin directory:
/usr/libexec/elf/size: bin/pine: No such file or directory
/usr/libexec/elf/size: bin/mtest: No such file or directory
/usr/libexec/elf/size: bin/imapd: No such file or directory
   textdata bss dec hex filename
 19077650846460  202320   31650 bin/pico
 18875249566460  200168   30de8 bin/pilot 

what can i do to seattle this problem,
thanks for advanced



andi hari




Re: queue life time

2001-05-14 Thread Mark Delany

On Mon, May 14, 2001 at 10:54:30AM +, Walid Kassab wrote:
 Dear All
 
 I would like to modify failure notice time queuelifetime to be 14400 ( 4
 hours) instead of 604800 ( 7 days)
 should i just create a file named queuelifetime under /var/qmail/control
 directory and restart qmail or is there any additional processors I should
 follow

The best way to understand what to do after creating or changing a
control file is to find out which commands are affected by the control
file. To do this, have a look at the qmail-control manpage. It has a
list of every control file and which command uses it.

Once you know which command uses queuelifetime it's a simple matter of
reading the man page for that command to find out the specifics
regarding when that particular command notices the control file. In
this particular case, the man page has a whole section called, oddly
enough, CONTROL FILES.


Regards.

 
 regards
 
 Walid
 
 
 
 --
 Best Regards
 Walid Kassab
 Technical Department Manager
 Palestinian Internet Services, Co., Ltd.
 http://www.p-i-s.com
 Tel. +9708-2843197
 Fax  +9708-2843377



slow start tcpserver

2001-05-14 Thread Andriy T. Yanko

Hi ALL!

I decided try tcpserver program for qmail services (smtpd  pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

When I used xinetd for starting qmail-smtpd  qmail-pop3d I never must wait
for starting it.

--- /etc/rc.d/rc.qmail ---
/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
/var/qmail/bin/qmail-smtpd \
2 /var/log/qmail-smtp.log 

/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
/var/qmail/bin/qmail-popup mserver \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2 /var/log/qmail-pop3.log 

--- end ---


What I do wrong?
Thx. 
-- 
Good Luck!  Andriy T. Yanko




Logging of qmail to console

2001-05-14 Thread David Litke

Hi all,
I am somewhat of a newbie to qmail but I was wondering if anyone could 
help me figure out how to get qmail and qpop3 to log to a file instead of 
to the console screen.  I know that this is an issue with tcpserver but I 
can't seem to find how to configure the logfile location.

Thanks in advance,
David Litke
[EMAIL PROTECTED]




Re: Logging of qmail to console

2001-05-14 Thread Eduardo Augusto Alvarenga

   I am somewhat of a newbie to qmail but I was wondering if anyone could 
 help me figure out how to get qmail and qpop3 to log to a file instead
 of 
 to the console screen.  I know that this is an issue with tcpserver but
 I 
 can\'t seem to find how to configure the logfile location.

Use multilog for this.
Read qmail manuals and www.lifewithqmail.org.


B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: How to resend individual message?

2001-05-14 Thread Charles Cazabon

Evelyn Huang [EMAIL PROTECTED] wrote:
 
 Besides, if I don't have a legitimate domain name, there is no way for me to
 test if the incoming messages from remote addresses work, right?  

No.  If you have a publicly routeable IP address, I can send mail to your host
by addressing it to postmaster@[1.2.3.4] or whatever.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Rebooting before sending mail

2001-05-14 Thread henrik . troeng

Hi. I have a problem: When my machine is rebooting/shutdown, I have set up a rc-script that sends a mailalert to the administrator that the machine has been rebooted. But the machine makes the reboot so fast that the mail never gets send. Any ideas to solve this little problem?

Re: Rebooting before sending mail

2001-05-14 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi. I have a problem: When my machine is rebooting/shutdown, I have set up 
 a rc-script that sends a mailalert to the administrator that the machine 
 has been rebooted. But the machine makes the reboot so fast that the mail 
 never gets send. Any ideas to solve this little problem?

Make it send the mail as the first action in executing the shutdown script
(before it kills any processes, switches runlevels, etc).  Then insert a
30-second delay in the script.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Rebooting before sending mail

2001-05-14 Thread Alex Pennace

On Mon, May 14, 2001 at 03:32:47PM +0200, [EMAIL PROTECTED] wrote:
 Hi. I have a problem: When my machine is rebooting/shutdown, I have set up 
 a rc-script that sends a mailalert to the administrator that the machine 
 has been rebooted. But the machine makes the reboot so fast that the mail 
 never gets send. Any ideas to solve this little problem?

Show us how you are sending mail from your boot scripts. While
gathering that, mull over the possibility that /var/qmail/queue is
mounted read only or unmounted, or /var/qmail/bin/qmail-queue is
unmounted -- both of these conditions are show stoppers.



R: Rebooting before sending mail

2001-05-14 Thread Andrea Cerrito



Instead of sending mail, write a file elsewhere, and 
look for that file at reboot: if file is present, send mail and delete the 
file.
Of 
course, you'll be warned of the reboot just after that.

Anyway, if qmail starts with the machine, why the alert isn't in the 
queue? 
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
S.p.A.P.zzale Bosco 3A05100 Terni ITTel. +39 744 5441330Fax. +39 
744 5441372 

  -Messaggio originale-Da: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Inviato: luned 14 maggio 2001 
  15.33A:Oggetto: 
  Rebooting before sending mailHi. I have a problem: When my machine is rebooting/shutdown, I have set 
  up a rc-script that sends a mailalert to the administrator that the machine 
  has been rebooted. But the machine makes the reboot so fast that the mail 
  never gets send. Any ideas to solve this little 
problem?


RE: Rebooting before sending mail

2001-05-14 Thread Lucas

 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Hi. I have a problem: When my machine is rebooting/shutdown, I have set
up
  a rc-script that sends a mailalert to the administrator that the machine
  has been rebooted. But the machine makes the reboot so fast that the
mail
  never gets send. Any ideas to solve this little problem?
I know you don't ask it but what about mailing when the machine start
up.


 Make it send the mail as the first action in executing the shutdown script
 (before it kills any processes, switches runlevels, etc).  Then insert a
 30-second delay in the script.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 Any opinions expressed are just that -- my opinions.
 ---





Re: [Fwd: Administrivia: Move to EZMLM]

2001-05-14 Thread Frank Tegtmeyer

Andre Oppermann [EMAIL PROTECTED] writes:

 First Aleph1 didn't like qmail/ezmlm at all...

Permanent lobbying works after some time :)

Regards, Frank



Who is List Manager

2001-05-14 Thread Jim Darrough

Hello.

Can the list manager for [EMAIL PROTECTED] please send me a direct 
email? Please? I cannot unsubscribe, even with all the help the fine 
members of this reflector have given me.

Thanks, Jim Darrough
[EMAIL PROTECTED]




Re: No mail arrival notice!

2001-05-14 Thread Frank Tegtmeyer

[EMAIL PROTECTED] [EMAIL PROTECTED] writes:

   There is no mail arrival notice while
 the message would show up in $HOME/Mailbox!  What seems to be the
 problem?  Thanks a lot!!

That depends on the shell you are using. For bash set MAIL or
MAILCHECK to $HOME/Mailbox.

Regards, Frank



Re: tcpserver -p and smtpd and DNS

2001-05-14 Thread Gerrit Pape

On Mon, May 14, 2001 at 10:10:21AM -, David Killingsworth wrote:
 
 Shouldn't tcpserver drop the connection when $TCPREMOTEIP is DNS'd to 
 a hostname and $TCPREMOTEHOST is DNS'd to an IP. if $TCPREMOTEIP can't 
 be resolved or if $TCPREMOTEHOST can't be resolved, shouldn't this cause
 a FATAL in tcpserver? and it will drop the incoming connection?

No. The docs say, tcpserver will remove $TCPREMOTEHOST in that case. it is
on You (your proc tcpserver is running) to decide to drop the connection.

Gerrit.
-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



Re: Rebooting before sending mail

2001-05-14 Thread Frank Tegtmeyer

[EMAIL PROTECTED] writes:

 But the machine makes the reboot
 so fast that the mail never gets send. Any ideas to solve this little problem?

Send the mail when the machine comes up or watch it with another
machine. Depending on the system type you may also delay the shutdown
process within your script. Ensure that qmail is still running at this stage.

Regards, Frank



Re: Logging of qmail to console

2001-05-14 Thread David Litke

Thanks for the help,

 How do I tell qmail's log-functions script what log program to 
use? I can see where it looks for defaults but I don't know where it reads 
them from.  I would be fine with just using syslog to dump everything to 
one mail file.  Am I missing something obvious?

 Thanks in advance.

At 08:40 AM 5/14/01 , Eduardo Augusto Alvarenga wrote:
I am somewhat of a newbie to qmail but I was wondering if anyone 
 could
  help me figure out how to get qmail and qpop3 to log to a file instead
  of
  to the console screen.  I know that this is an issue with tcpserver but
  I
  can\'t seem to find how to configure the logfile location.

Use multilog for this.
Read qmail manuals and www.lifewithqmail.org.


B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
 Blumenau - Santa Catarina. Tel. (47) 9102-3303
 http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





Re: Who is List Manager

2001-05-14 Thread Niles

Jim,

Try sending mail to [EMAIL PROTECTED]

Hope this helps..

Niles

- Original Message -
From: Jim Darrough [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 11:10 AM
Subject: Who is List Manager


 Hello.

 Can the list manager for [EMAIL PROTECTED] please send me a direct
 email? Please? I cannot unsubscribe, even with all the help the fine
 members of this reflector have given me.

 Thanks, Jim Darrough
 [EMAIL PROTECTED]





Re: Logging of qmail to console

2001-05-14 Thread Eduardo Augusto Alvarenga

  How do I tell qmail's log-functions script what log program to 
 use? I can see where it looks for defaults but I don't know where it
 reads them from.  

It's default read from stderr.

 I would be fine with just using syslog to dump 
 everything to one mail file.  Am I missing something obvious?

Avoid using syslog.
Multilog has many habilities that syslog can't handle.
Use multilog, it's secure, runs chrooted, and rotates automatically.

More info at: http://cr.yp.to/daemontools/multilog.html
You can find some useful init scripts and all info you may need at: 
http://www.lifewithqmail.org/lwq.html#start-qmail


Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: Handling high volume lists (was: Newbies vs. arrogant experts)

2001-05-14 Thread Bruno Wolff III

On Sun, May 13, 2001 at 10:18:45AM +0200,
  Robin S. Socha [EMAIL PROTECTED] wrote:
 
 · dupes (like, I am on this list and only a complete retard would send
   me a Cc: (which makes approx. 31 retards per month which, in return,
   makes me wonder when the prices for anti-personnel ammo will finally
   drop)).

Maybe I missed it, but I didn't see a Mail-Followup-To header in your
message. Are people supposed to guess whether or not you are on the
list or whether or not you want a cc header listing your address so
that your mail filter can handle the message differently.

Since you made a point about not wanting cc's I manually removed it
from this message.



OT - Problems with daemontools 0.70

2001-05-14 Thread Michael Geier

I had no problems with installing this package until today...

in make:
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a
cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

does anyone know why this might be crashing???  Thanks for the help.

Michael Geier
CDM Sports Systems Administrator
email: [EMAIL PROTECTED]
phone: 314.991.1511 x 6505




Re: Logging of qmail to console

2001-05-14 Thread Peter van Dijk

On Mon, May 14, 2001 at 02:05:07PM -0300, Eduardo Augusto Alvarenga wrote:
   How do I tell qmail's log-functions script what log program to 
  use? I can see where it looks for defaults but I don't know where it
  reads them from.  
 
 It's default read from stderr.
 
  I would be fine with just using syslog to dump 
  everything to one mail file.  Am I missing something obvious?
 
 Avoid using syslog.
 Multilog has many habilities that syslog can't handle.
 Use multilog, it's secure, runs chrooted, and rotates automatically.

multilog doesn't run chrooted.

Greetz, Peter.



Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Charles Cazabon

Michael Geier [EMAIL PROTECTED] wrote:

   tai64nlocal.c:56: dereferencing pointer to incomplete type

Change
#include sys/time.h
to
#include time.h

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Frank Tegtmeyer

Michael Geier [EMAIL PROTECTED] writes:

   tai64nlocal.c:55: dereferencing pointer to incomplete type

Time to include it in the sig?



Re: Logging of qmail to console

2001-05-14 Thread Joerg Lenneis


David Litke:

 Thanks for the help,
  How do I tell qmail's log-functions script what log program to 
 use? I can see where it looks for defaults but I don't know where it reads 
 them from.  I would be fine with just using syslog to dump everything to 
 one mail file.  Am I missing something obvious?

  Thanks in advance.

Qmail has a very different concept for logging and management of
processes in general. The basic idea is to use traditional Unix
mechanisms as much as possible and to be as modular as possible which
means, for instance, that qmail-start starts four processes, all of
which perform a very specific task and, more pertaining to your
question, all log to stdout. The idea is to use a special logging
program that reads all their log messages from stdin and then does the
actual logging. You give this programm plus its arguments as the
second argument to qmail-start. Possible choices are splogger, a
program that takes the messages and hands them over to syslog or
multilog, which adds features like log rotation, maximal logsize and,
most importantly, stability to the logging process. If you have an
urgent desire to do something unusual (and highly desireable), like
having all log messages show up as SMS messages on your mobile phone,
no problem, just write a script/program that reads the messages from
stdin and sends them on their way. Use this as the second argument to
qmail-send ...

Try reading up on it on http://Web.InfoAve.Net/~dsill/lwq.html (Life
with Qmail), look at the manual page of qmail-start and also have a
look at the example startup scripts in /var/qmail/boot. 


regards,

-- 

Joerg Lenneis

email: [EMAIL PROTECTED]



Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Vincent Schonau

On Mon, May 14, 2001 at 11:38:54AM -0500, Michael Geier wrote:
 I had no problems with installing this package until today...
 
 in make:
   ./compile tai64nlocal.c
   tai64nlocal.c: In function `main':
   tai64nlocal.c:54: warning: assignment makes pointer from integer without a

 
 does anyone know why this might be crashing???

Many people know. See, for example:
   URL:http://marc.theaimsgroup.com/?l=logm=98874659608501w=2
or URL:http://marc.theaimsgroup.com/?l=logm=98868025514431w=2
or URL:http://marc.theaimsgroup.com/?l=logm=98756905027969w=2

(they're all the same answer).

Vince.



Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Peter van Dijk

On Mon, May 14, 2001 at 07:28:32PM +0200, Frank Tegtmeyer wrote:
 Michael Geier [EMAIL PROTECTED] writes:
 
  tai64nlocal.c:55: dereferencing pointer to incomplete type
 
 Time to include it in the sig?

Time for a release that fixes it.

Greetz, Peter.



RE: OT - Problems with daemontools 0.70

2001-05-14 Thread Michael Geier

thanks to everyone who replied...worked great!
next time I will check the archives a little better.

'preciate that no one flamed...

-Original Message-
From: Tim Holzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 1:23 PM
To: Michael Geier
Subject: Re: OT - Problems with daemontools 0.70


I had the same problem, change the include file #include sys/time.h to
#include time.h

- Original Message -
From: Michael Geier [EMAIL PROTECTED]
To: Qmail Mailing List [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 11:38 AM
Subject: OT - Problems with daemontools 0.70


 I had no problems with installing this package until today...

 in make:
 ./compile tai64nlocal.c
 tai64nlocal.c: In function `main':
 tai64nlocal.c:54: warning: assignment makes pointer from integer without a
 cast
 tai64nlocal.c:55: dereferencing pointer to incomplete type
 tai64nlocal.c:56: dereferencing pointer to incomplete type
 tai64nlocal.c:57: dereferencing pointer to incomplete type
 tai64nlocal.c:58: dereferencing pointer to incomplete type
 tai64nlocal.c:59: dereferencing pointer to incomplete type
 tai64nlocal.c:60: dereferencing pointer to incomplete type
 make: *** [tai64nlocal.o] Error 1

 does anyone know why this might be crashing???  Thanks for the help.

 Michael Geier
 CDM Sports Systems Administrator
 email: [EMAIL PROTECTED]
 phone: 314.991.1511 x 6505






Re: No mail arrival notice!

2001-05-14 Thread Ruprecht Helms


Hi Evelyne,

   There is no mail arrival notice while
the message would show up in $HOME/Mailbox!  What seems to be the
problem?

check /var/qmail/control/defaultdelivery if the right deliveryform is set. 
After it check if you set the rights for the mailbox/maildir properly.

Check the logfile about activities on your mailserver.

If all above is ok and you only want informed that the mail was delivered 
correctly or be read by the receiving user you should set the
nessesary option in your mua. I know that Pegasus Mail has included such 
options.

Regards,
Ruprecht




Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Robin S. Socha

* Peter van Dijk [EMAIL PROTECTED] [010514 13:36]:
 On Mon, May 14, 2001 at 07:28:32PM +0200, Frank Tegtmeyer wrote:
  Michael Geier [EMAIL PROTECTED] writes:

 tai64nlocal.c:55: dereferencing pointer to incomplete type
  
  Time to include it in the sig?
 
 Time for a release that fixes it.

Just install the 2.9 bugfix set... }:-



Qmail, IMAP, POP, OpenLDAP, PAM

2001-05-14 Thread Medi Montaseri

Hi,

I'm thinking about putting together a complete email system composed
of the following items

Qmail, IMAP, POP, OpenLDAP, and PAM.

ie all components should check against OpenLDAP for authentication.
Any words of wisdom?
I can use some help with the PAM.
I also am thinking about Maildir for Qmail, would I have to patch IMAP
and POP
to work with this?
Also, if Maildir is used, would I risk running out of inodes before
space on my
file system? If so, any techniques in better designing the file system.
For example
how about breaking the disk to 1Gig file systems and block size of 1024
to reduce
wasting disk space.
Also, given Linux 2.4.x, is there any way to implement a faster raid5,
ie
the write should return as soon as the first mirror is done (not both)
and the
read would come from the first mirror (any of them).

Thanks

--
===
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
===






Re: alias when?

2001-05-14 Thread Frank Tegtmeyer

Martín Marqués [EMAIL PROTECTED] writes:

 Is this the right behaviour???

Yes, local users are preferred against aliases.

Regards, Frank



Qmail + Mailman

2001-05-14 Thread Rodrigo Borges Pereira

Hello all.

Although this may seem off-topic (regarding mailman) i think the problem
here is more qmail'ish, so i thought of giving a try on this list too.

I'm trying to make qmail work together with Mailman. Mailman comes with a
python script for the purpose, that is called from a .qmail-default file
under /var/mailman (mailman's user home dir), like this: |/user/bin/python
/var/mailman/qmail-to-mailman.py. This script is supposed to eliminate the
need to create any aliases files for the lists to work.

Problem is, after any list created, i am able to receive administrative mail
from the list (i.e. welcoming, password reminder, etc) and the addresses
look fine, but when i send mail to the list, i see on the logs that qmail
complains that it cannot found such mailbox ([EMAIL PROTECTED]), but
i do receive mail from testlist-owner and testlist-admin.

I created a virtual domain for the lists as u can see (lists.domain.com) and
added that domain to rcpthosts and an entry like this to virtualdomains:
lists.domain.com:mailman.

So, i'm not sure what the problem is and would appreciante some help, if any
of you has mailman working with qmail using a virtual domain.

(i didn't get any reply about this on the Mailman list :(

TIA,

Rodrigo Borges Pereira




Re: Handling high volume lists

2001-05-14 Thread Robin S. Socha

* Bruno Wolff III [EMAIL PROTECTED]:
 On Sun, May 13, 2001 at 10:18:45AM +0200, Robin S. Socha [EMAIL PROTECTED] wrote:

[dupes]
 Maybe I missed it, but I didn't see a Mail-Followup-To header in your
 message. Are people supposed to guess whether or not you are on the
 list or whether or not you want a cc header listing your address so
 that your mail filter can handle the message differently.

Everyone here is on this list unless otherwise stated. Noone therefore
wants Cc:s unless otherwise stated. How long have you been in a technical
environment?

 Since you made a point about not wanting cc's I manually removed it
 from this message.

You are one hell of a luser.

## lists adds a list of mailing lists addresses
## so mutt knows about these for showing them in the folder indes
## and to allow replying to them with the command list-reply.

lists qmail
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).
`In Germany, they are not referred to as network administrators. They
prefer to be called Sons Of The Third Reich.' (Kate: www.katewerk.com)



Re: Qmail + Mailman

2001-05-14 Thread Charles Cazabon

Rodrigo Borges Pereira [EMAIL PROTECTED] wrote:
 
 I'm trying to make qmail work together with Mailman. Mailman comes with a
 python script for the purpose, that is called from a .qmail-default file
 under /var/mailman (mailman's user home dir), like this: |/user/bin/python
 /var/mailman/qmail-to-mailman.py. This script is supposed to eliminate the
 need to create any aliases files for the lists to work.
 
 Problem is, after any list created, i am able to receive administrative mail
 from the list (i.e. welcoming, password reminder, etc) and the addresses
 look fine, but when i send mail to the list, i see on the logs that qmail
 complains that it cannot found such mailbox ([EMAIL PROTECTED]), but
 i do receive mail from testlist-owner and testlist-admin.

If user joe has a .qmail file named joe-default, it will control mail
addressed to joe-foo and joe-bar, but _not_ just joe.  His .qmail file
named .qmail will control address joe.

`man dot-qmail` for details.  I suspect that simply symlinking .qmail-default
to .qmail will fix your problems.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



smtp auth

2001-05-14 Thread STH

I'm confused. I have a qmail server that I want to use as an outgoing
smtp server. It has Solaris 8 - qmail 1.03  patched with smtp_auth patch
version  .30 and checkpasswd. I just need for sales guys to auth thru
the server. I don't want to be an open relay. I can't get either outlook
2000 or netscape mail various versions to login. I have setup the run
control file as outlined - I am using tcpserver -  Again it won't let me
auth.  This is the important part do I need anything else running like
pop. I just need to relay not accept mail for anyone.

Thanks,
Steve Hammond
PLEASE  redirect FLAMES toPACFIC GAS AND ELECTRIC
 OR
EL PASO GAS COMPANY


Here's the run file
#!/bin/sh -xv
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 800 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD \

-u $QMAILDUID -g $NOFILESGID \
0 smtp  /var/qmail/bin/qmail-smtpd
webserv2.virtualpurchasecard.com \
   /bin/cmd5checkpw  /usr/bin/true  | /var/qmail/bin/splogger
smtpd 3  21






Qpopper and Qmail logging

2001-05-14 Thread Chad Owens

I have been tasked with the need to log USERNAMES that are downloading pop.

The reason is that we use both imap and pop here and want to phase out pop.

So how can I create a log of all the people using POP (via qpopper) to
access their mail (delivered with Qmail).  (solaris).

I can grep the syslog for pop and get REMOTE or LOCAL but it's ip based..
I need username based logging.

anyone have any idea? I looked into multi-log but it seems much more in
depth to implement than I was hoping for.

-chad






Re: Who is List Manager

2001-05-14 Thread Marco Calistri

Same unsubscribe problems on djbdns mailing:
4 attempts failed!

--Marco

On 14-May-2001 Niles wrote:
 Jim,
 
 Try sending mail to [EMAIL PROTECTED]
 
 Hope this helps..
 
 Niles
 
 - Original Message -
 From: Jim Darrough [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 14, 2001 11:10 AM
 Subject: Who is List Manager
 
 
 Hello.

 Can the list manager for [EMAIL PROTECTED] please send me a direct
 email? Please? I cannot unsubscribe, even with all the help the fine
 members of this reflector have given me.

 Thanks, Jim Darrough
 [EMAIL PROTECTED]




virtualdomains

2001-05-14 Thread Roberto Marzialetti

Hi all

i configured qmail on my server. i've got
a big problem with virtual domain

my configuration:

virtualdomain:
[EMAIL PROTECTED]:roberto

rcpthosts:
mylocaldomain.net
mydomain.net

in roberto's home there is a .qmail-info file
in this file there is
roberto

if i send an email to [EMAIL PROTECTED] from
the same server (echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject),
roberto received correctly the email.   this is the log file
-
May 14 23:50:27 phoenix qmail: 989884227.419504 new msg 323060
May 14 23:50:27 phoenix qmail: 989884227.420033 info msg 323060: bytes 222
from [EMAIL PROTECTED] qp 456 uid 0
May 14 23:50:27 phoenix qmail: 989884227.453734 starting delivery 18: msg
323060 to local [EMAIL PROTECTED]
May 14 23:50:27 phoenix qmail: 989884227.454109 status: local 1/10 remote
0/20
-

if i send an email to [EMAIL PROTECTED] from
my workstation at home (and with my provider's mail server)
the email not arrive !!  i don't even received anything
from mailer-daemon of my provider, and there is nothing
in my mail logs file !

i'm sure that MX record on DNS in correctly configurated
for mydomain.net

any idee, links, suggestions is welcame :o))

many thanks

Roberto




Re: Handling high volume lists

2001-05-14 Thread Chris Garrigues

 From:  Robin S. Socha [EMAIL PROTECTED]
 Date:  14 May 2001 22:30:00 +0200

 * Bruno Wolff III [EMAIL PROTECTED]:
  On Sun, May 13, 2001 at 10:18:45AM +0200, Robin S. Socha [EMAIL PROTECTED]
 et wrote:
 
 [dupes]
  Maybe I missed it, but I didn't see a Mail-Followup-To header in your
  message. Are people supposed to guess whether or not you are on the
  list or whether or not you want a cc header listing your address so
  that your mail filter can handle the message differently.
 
 Everyone here is on this list unless otherwise stated. Noone therefore
 wants Cc:s unless otherwise stated. How long have you been in a technical
 environment?
 
  Since you made a point about not wanting cc's I manually removed it
  from this message.
 
 You are one hell of a luser.

Cool... I'm glad I'm not the only one declared one hell of a luser by Robin 
this week!  I'd hate to be the only one...it would make me feel 
soinadequate.

I'd like to state for the record that I'm on the list and I want CC's because 
if I'm actually providing something useful to a conversation, the sooner I get 
the other side's messages, the sooner I can say something useful.  I leave the 
headers unedited because that means the default behavior of most mail clients 
will be to do exactly what I want.

I'm not cc'ing Robin even though he hasn't put the appropriate headers on his 
message because I see no need to accelerate his ability to flame me.  
(Besides, I'm already a luser, so what more do I have to luse?)

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: Qpopper and Qmail logging

2001-05-14 Thread Medi Montaseri

You might not like this, but if all fails try this...
close down port 110 and sit by the phone

Chad Owens wrote:

 I have been tasked with the need to log USERNAMES that are downloading pop.

 The reason is that we use both imap and pop here and want to phase out pop.

 So how can I create a log of all the people using POP (via qpopper) to
 access their mail (delivered with Qmail).  (solaris).

 I can grep the syslog for pop and get REMOTE or LOCAL but it's ip based..
 I need username based logging.

 anyone have any idea? I looked into multi-log but it seems much more in
 depth to implement than I was hoping for.

 -chad

--
===
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
===






Re: Handling high volume lists

2001-05-14 Thread Jason Brooke

 Everyone here is on this list unless otherwise stated. Noone therefore
 wants Cc:s unless otherwise stated. How long have you been in a technical
 environment?

http://www.unicom.com/pw/reply-to-harmful.html 


 You are one hell of a luser.

pots, kettles, black 


jason 






Re: tcpserver -p and smtpd and DNS

2001-05-14 Thread Jim Steele

On Mon, May 14, 2001 at 12:35:32PM +, Mark Delany wrote:
 
 =.:allow
 :deny
 

Close.  To achieve this, the tcp.smtp file should actually contain:

=:allow
:deny

I just experimented with both forms.  With the dot, nothing matched,
including hosts with good forward/reverse resolvability.  Without it,
only sites for which tcpserver didn't unset TCPREMOTEHOST matched.

This, of course, is exactly the desired behavior.  As already
mentioned in this thread, tcpserver -p unsets TCPREMOTEHOST when the
name obtained by reverse lookup can't be resolved to the original IP.

Consequently, for such an (arguably) undesirable client IP, no match
occurs at the =:allow line in the above tcp.smtp settings, since the
= token only matches when TCPREMOTEHOST is defined.  The :deny
line then rejects those undesirable clients as they fall through.

Just to be thorough, even if obvious, I'll also mention that these two
lines must appear LAST in your tcp.smtp file.



Difficulties with 'long-term' list responders

2001-05-14 Thread Patrick Starrenburg

Frank Tegtmeyer [EMAIL PROTECTED] writes:

Patrick Starrenburg [EMAIL PROTECTED] writes:
  saying that! What we were looking for was a solution or a pointer to
  the solution.

I told you two times to try CET. Did you do it? No.
It *is* the solution because it's your timezone. So where is the error
in behaviour?

When you are ignorant about provided help you shouldn't expect better
answers when asking the same question again.

Blaming Peter for not being polite is ridiculous.

Frank

Dear Frank

You know - I could hit the keyboard and write back a real flame e-mail 
calling you things like a Unix (and qmail) bigot with a closed mind - but I 
won't. I will attempt to gently point out to you the problems in a number of 
statements both you and Peter have made.

First of all I think it is important to understand that the fundamental 
difficulty arose here because of the belief on my part whereby when I looked 
at the Linux machine saying 17:02:55 GMT+2 I conceivably could believe 
that it was saying the time was 17 hours GMT plus two hours. But no, we 
(now) know that this is one of those 'gotchas' where plus two actually means 
*minus* two. We naturally should all immediately recognise this ?? logic. 
Well you immediately did didn't you? And you immediately advised me of this 
fact didn't you?

You made the statement -
If it says 17:22, it is *not* configured to GMT +0200. Try to set
Timezone CET. It should say 19:22 then. in response to my
problem. The client PC clock said 17:22 (+0200) correct time, the
Linux box said 17:22 and is setup correctly with TZ = GMT
+0200.
Firstly it doesn't matter *what* time zone is chosen on the Linux box, even 
the mistaken time zone I had chosen of GMT+2, the machine *can* say for 
example 17:22 GMT+2 *and* be showing the correct time for the local time 
zone chosen. This is a separate issue to whether the time zone selected is 
the correct time zone for the physical location you are actually in. Also 
the key point is what was the **offset** to GMT for the time zone I had 
current on the machine at that time. A very simple command you can use in 
the future Frank is TZ=GMT date this will show you what the GMT time would 
be on a machine and we would have immediately seen that the time zone I had 
current at the time was two hours *before* GMT not two hours *after* 
contrary to what I believed. This would have verified that there was an 
error that needed to be fixed and pointed how to fix it.

Secondly your statement it should say 19:22 is in error Frank, when I 
change the TZ from GMT +2 to Europe/Amsterdam (CEST) the clock jumps forward 
four hours, not two. I am not quite sure what you thought GMT +0200 was? And 
one reason I didn’t change the time zone was I thought why would I want the 
Linux box to say 19:22 and the W2K box to say 17:22?? Didn’t seem logical to 
me. That’s when I thought I would add some more information to help the 
discussion.

You said, “When you are ignorant about provided help you shouldn't expect 
better answers when asking the same question again.”
Well I am sorry Frank but you are wrong again – in my second mail I cut and 
pasted the screen outputs from both my machines (as from my experience that 
sort of thing can often provide a clue) and that is when Mark Jefferys was 
immediately able to pin down the problem and not just provided better 
answers but the *solution*, he investigated  communicated Frank. You just 
made one sided pronouncements.

Now as regards Peter, well I am afraid that his help was even of less value 
then yours. Peter said in response to my first e-mail because it is the 
receiving MUA's task to display the date in the format the user desires. If 
your MUA is unable to do so, complain to the MUA author Your sending 
client should add a date header...

Firstly I *explicitly* said in my first e-mail The MUA stamps the message 
with the correct Date: field value because I had read the discussion about 
that point in the qmail archive thread about this topic which I had read in 
full before posting my query to the list, I had carefully checked this. I 
guess Peter missed that in his eagerness to trot out an easy answer - blame 
someone else.

Secondly after 'injecting' no value to the thread *and* no solution Peter 
said, I say we stop this thread. The user's box is misconfigured and he's 
failing to see why UTC in headers is good. Let it be. This was after he, 
just as quickly had agreed that the output from my Linux machine below was 
OK...

*Linux box* [root@linuxbox patrick]# date Sun May 13 17:02:55 GMT+2 2001 - 
Check

Yes

So Frank, I guess he doesn't know about (or should I say he is ignorant of) 
the fact of Posix negative values for positive displayed Posix GMT offsets 
also! I am sure you have heard the term adding insult to injury well Peter 
:- completely missed a salient point in my original email, went off on a 
tangent, had no idea on how to solve the problem, gave no helful guidance 
then had the 

Re: how to make pine works with maildir

2001-05-14 Thread Nick (Keith) Fish

andi wrote:
 
 i try to make pine works with maildir..
 and i use freebsd4.1.1 release , pine4.31
 and  pine-4.31-maildir.patch .
 i get the error below when my machine compile the command
 ./build bsf
 
 cc: ../c-client/c-client.a: No such file or directory
 
 andi hari

Did you run the configure script before applying the patch?

Is pine4.31/c-client a symlink to pine4.31/imap/c-client?

If you answered yes to both of these questions, try getting the source code for
pine4.33 and the pine-4.33-maildir.patch (I have a copy of it up at
http://unix-web.triton.net/~ennui/pine-maildir-4.33 ) and re-attempting with
this version.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: Handling high volume lists

2001-05-14 Thread peter green

* Robin S. Socha [EMAIL PROTECTED] [010514 17:13]:
 * Bruno Wolff III [EMAIL PROTECTED]:
  On Sun, May 13, 2001 at 10:18:45AM +0200, Robin S. Socha [EMAIL PROTECTED] wrote:
 
 [dupes]
  Maybe I missed it, but I didn't see a Mail-Followup-To header in your
  message. Are people supposed to guess whether or not you are on the
  list or whether or not you want a cc header listing your address so
  that your mail filter can handle the message differently.
 
 Everyone here is on this list unless otherwise stated. Noone therefore
 wants Cc:s unless otherwise stated. How long have you been in a technical
 environment?

Robin, really. Last I checked the qmail mailing list made no such effort to
determine whether or not a poster is subscribed. Even if it does, other
lists (even technical ones!) don't.

Lighten up man, go smoke some bud or something.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
I'd rather be rich than stupid.
 (Jack Handey)




Re: Difficulties with 'long-term' list responders

2001-05-14 Thread peter green

* Patrick Starrenburg [EMAIL PROTECTED] [010514 19:45]:
 Dear Frank
 
 You know - I could hit the keyboard and write back a real flame e-mail 

*plonk*

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
If you're a horse, and someone gets on you, and falls off, and then gets right 
back on you, I think you should buck him off right away.
 (Jack Handey)




Qmail/SMTP Gateway for dial-up mail server

2001-05-14 Thread LP_mAn

I have a situation where the following scenario has risen...


LAN-LocalQMailServer-(Dial-up)Internet--
QmailGateway


So I would like to create a qmail server that will store all of the emails
for thisdomain.com and be the MX record in dns == QmailGateway (above)

And configure the LocalQmailServer (above) which has all of the real email
accounts on it to dial up to the internet and download all the email
intended for thisdomain.com to itself and then deliver it locally.  I have
seen many ISP's that do this for companies so I know it can be done (at
least with sendmail... but we wont go there!)

So my real question is.. Can this be done with qmail?  Does anyone know of
any documentation on this type of setup?  Any info you have would be greatly
appreciated!

Thanks,
LP




Re: Who is List Manager

2001-05-14 Thread Andy Bradford

Thus said Niles on Mon, 14 May 2001 11:49:46 EDT:

 Jim,
 
 Try sending mail to [EMAIL PROTECTED]

I believe you mean [EMAIL PROTECTED]  My guess, however, is 
that he isn't on the [EMAIL PROTECTED] mailing list...

Andy
-- 
[---[system uptime]]
  8:02pm  up 5 days, 22:39,  5 users,  load average: 1.22, 1.17, 1.13





Re: OT - Problems with daemontools 0.70

2001-05-14 Thread Andy Bradford

Thus said Michael Geier on Mon, 14 May 2001 13:39:10 CDT:

 'preciate that no one flamed...

Generally you won't get flamed for decent technical questions like 
this, however you might get flamed for using Microsoft Outlook to post 
your email. :-)

Andy
-- 
[---[system uptime]]
  8:06pm  up 5 days, 22:43,  5 users,  load average: 1.24, 1.40, 1.25





RE: Qmail + Mailman

2001-05-14 Thread Rodrigo Borges Pereira

It did not work :(

i keep getting this:

May 15 01:55:12 picasso qmail: 989906112.543715 info msg 39916: bytes 647
from [EMAIL PROTECTED] qp 3792 uid 101
May 15 01:55:12 picasso qmail: 989906112.555758 starting delivery 21: msg
39916 to local [EMAIL PROTECTED]
May 15 01:55:12 picasso qmail: 989906112.555948 status: local 1/10 remote
0/20
May 15 01:55:12 picasso qmail: 989906112.556026 starting delivery 22: msg
39916 to local [EMAIL PROTECTED]
May 15 01:55:12 picasso qmail: 989906112.556092 status: local 2/10 remote
0/20
May 15 01:55:12 picasso smtpd: 989906112.557550 tcpserver: end 3790 status 0
May 15 01:55:12 picasso smtpd: 989906112.557754 tcpserver: status: 0/20
May 15 01:55:12 picasso qmail: 989906112.583466 delivery 21: success:
did_0+0+0/
May 15 01:55:12 picasso qmail: 989906112.583675 status: local 1/10 remote
0/20
May 15 01:55:12 picasso qmail: 989906112.583753 delivery 22: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

getting desperate.. i would use ezmlm-idx.. but it lacks the fabulous web
interface that mailman has.


 -Original Message-
 From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
 Sent: segunda-feira, 14 de Maio de 2001 22:28
 To: [EMAIL PROTECTED]
 Subject: Re: Qmail + Mailman


 Rodrigo Borges Pereira [EMAIL PROTECTED] wrote:
 
  I'm trying to make qmail work together with Mailman. Mailman
 comes with a
  python script for the purpose, that is called from a .qmail-default file
  under /var/mailman (mailman's user home dir), like this:
 |/user/bin/python
  /var/mailman/qmail-to-mailman.py. This script is supposed to
 eliminate the
  need to create any aliases files for the lists to work.
 
  Problem is, after any list created, i am able to receive
 administrative mail
  from the list (i.e. welcoming, password reminder, etc) and the addresses
  look fine, but when i send mail to the list, i see on the logs
 that qmail
  complains that it cannot found such mailbox
 ([EMAIL PROTECTED]), but
  i do receive mail from testlist-owner and testlist-admin.

 If user joe has a .qmail file named joe-default, it will control mail
 addressed to joe-foo and joe-bar, but _not_ just joe.  His
 .qmail file
 named .qmail will control address joe.

 `man dot-qmail` for details.  I suspect that simply symlinking
 .qmail-default
 to .qmail will fix your problems.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 Any opinions expressed are just that -- my opinions.
 ---






Re: Handling high volume lists

2001-05-14 Thread Andy Bradford

Thus said Robin S. Socha on 14 May 2001 22:30:00 +0200:

  Maybe I missed it, but I didn't see a Mail-Followup-To header in your
  message. Are people supposed to guess whether or not you are on the
  list or whether or not you want a cc header listing your address so
  that your mail filter can handle the message differently.
 
 Everyone here is on this list unless otherwise stated. Noone therefore
 wants Cc:s unless otherwise stated. How long have you been in a technical
 environment?

I disagree completely.  There are many cases in which I have greatly 
appreciated a Cc on mailing lists on which I participate because they 
generally arrive much sooner than the mailing list answer does.  This 
list especially has been known to have delays of up to at least 3 hours 
before emails that are sent actually show up in my mailbox.  That 
doesn't help much when the critical problem has escalated and my hair 
has fallen out.  It wouldn't be hard to configure your Gnus to add the 
mail-followup-to header for this list.  Even though it isn't quite a 
standard and probably never will be, I know a lot of users on this list 
have software that respects it.  I know mine does.

Andy
-- 
[---[system uptime]]
  8:14pm  up 5 days, 22:51,  5 users,  load average: 1.11, 1.18, 1.20





cleaning mailbox

2001-05-14 Thread Martín Marqués

I'm not sure if this is a question for this list, but.

I need to weekly clean the mailboxes of our users, this is mark as deleted all
mails older then 10 days, for example, and expunge them from the mailbox (this
with a determined mailbox, not necesarally tghe INBOX).

Is this posible?

Saludos... :-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-



Re: cleaning mailbox

2001-05-14 Thread Nick (Keith) Fish

Martín Marqués wrote:
 
 No, thats not what I want. It a mailbox!
 I would need to trace the mailbox, slit the different mails and see the date
 line to decide if it should be deleted.
 But that is not so trivial. :-(
 
 Saludos... .-)

Hmmm . . . switch to Maildir.  You could prolly write a simple shell script (or
a C program if you're feeling up to it) to accomplish this; but I cringe to
think of how long it would take.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: alias to my self

2001-05-14 Thread Charles Cazabon

Martín Marqués [EMAIL PROTECTED] wrote:
 
 Now, how do I do this with qmail, because when I put a .qmail on my home with 
 the 2 addresses (with the ), it delivers it to martin@domain2, but doesn't 
 keep a copy in the local acount in domain1. It says it won't do it because it 
 will loop.

If you want to forward a copy to another mail domain, and keep a copy on the
local machine, you should be using one forward directive (address@fqdn) and
one Maildir or mbox directive.  `man dot-qmail` for details.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: alias to my self

2001-05-14 Thread Greg White

On Mon, May 14, 2001 at 09:04:46AM +0300, Martín Marqués wrote:
 In my times with sendmail I used to have an acount that had a .forward like 
 this in my $HOME dir at domain1:
 
 # CUT HERE ###
 martin@domain1
 martin@domain2
 # CUT HERE ###
 
 So all my mail staid on my acount on domain1, but I had a copy in domain2.
 
 Now, how do I do this with qmail, because when I put a .qmail on my home with 
 the 2 addresses (with the ), it delivers it to martin@domain2,


Local delivery, by the time it gets to your .qmail file, should be to a
Maildir or a mbox-type mailbox. Check your default delivery method (it
is specified somehow on the command line for starting qmail-send), and
try _something like_ the following:

.qmail:

./Maildir/
martin@domain2

HTH,

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: cleaning mailbox

2001-05-14 Thread Charles Cazabon

Martín Marqués [EMAIL PROTECTED] wrote:
 
 I need to weekly clean the mailboxes of our users, this is mark as deleted all
 mails older then 10 days, for example, and expunge them from the mailbox (this
 with a determined mailbox, not necesarally tghe INBOX).

If the messages are stored in Maildir format, this is trivial.  Just delete
every file under the Maildir that has a ctime (or possibly mtime) older than
10 days.  You can easily find all such files with the find command.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: cleaning mailbox

2001-05-14 Thread Martín Marqués

Quoting Charles Cazabon [EMAIL PROTECTED]:

 Martín Marqués [EMAIL PROTECTED] wrote:
  
  I need to weekly clean the mailboxes of our users, this is mark as deleted
 all
  mails older then 10 days, for example, and expunge them from the mailbox
 (this
  with a determined mailbox, not necesarally tghe INBOX).
 
 If the messages are stored in Maildir format, this is trivial.  Just delete
 every file under the Maildir that has a ctime (or possibly mtime) older
 than
 10 days.  You can easily find all such files with the find command.

No, thats not what I want. It a mailbox!
I would need to trace the mailbox, slit the different mails and see the date
line to decide if it should be deleted.
But that is not so trivial. :-(

Saludos... .-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-



alias when?

2001-05-14 Thread Martín Marqués

I found out that when I add alias in the alias directory (/var/qmail/alias/), as
.qmail-acount, the alias works if the user has no HOMEDIR. Else, I have to put a
.qmail in it home directory (this behavioru doesn't happen with root).

Is this the right behaviour???

Saludos... :-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-



Re: alias when?

2001-05-14 Thread Peter van Dijk

On Mon, May 14, 2001 at 03:45:15PM +0300, Martín Marqués wrote:
 I found out that when I add alias in the alias directory (/var/qmail/alias/), as
 .qmail-acount, the alias works if the user has no HOMEDIR. Else, I have to put a
 .qmail in it home directory (this behavioru doesn't happen with root).
 
 Is this the right behaviour???

Yes.

Greetz, Peter.