disabling msglog (again)

2000-11-08 Thread Daniel K

Hi,
I  already search the archive to find about "disabling msglog" but didn't find
solution. The problem is qmail always send message to [EMAIL PROTECTED] when
send / receive mail.  
My system is RH 6.2 with qmail 1.03+patches-14 installed from RPM, also
vpopmail 4.9.5 .
There is no local domain ( /var/qmail/control/local/ just
contain localhost ), I put all of my email domain to virtual domain and
vpopmail handle this. So to stop error message "Sorry no mailbox ", I create
account [EMAIL PROTECTED]

How do I stop msglog ? My .qmail-msglog already empty

Regards
Daniel



Re: unable to_establish_an_SMTP_connection

2000-11-08 Thread Ruprecht Helms

Hi,

I have likely the same problem but in the other way.
The user is localy, but the mail won't delivered to him.
The telnetsession will end with connection closed by foreign host.

in locals and rcpthosts is the nameentry of my localhost.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 07, 2000 7:38 AM
Subject: unable to_establish_an_SMTP_connection


 
 
 
  I tried on Qmail a SMTP connection with :
  telnet 127.0.0.1 25
 Trying 127.0.0.1...
 Connected to 127.0.0.1.
 Escape character is '^]'.
 220 domain ESMTP
 helo dude
 250 domain
 mail helsta@mydomain
 250 ok
 rcpt gast@mydomain
 250 ok
 data
 354 go ahead
 Subject: testing
 
 This is a test.
 .
 250 ok 812345679 qp 12345
 quit
 221 domain
 
  It didn't work as I don't find any message in gast's Mailbox.
 
  The log file says:
  @40003a082dec011de18c info msg 3388: bytes 211 from
[EMAIL PROTECTED]
   qp 1
  401 uid 502
  @40003a082dec04572ee4 starting delivery 21: msg 3388 to remote
 
^ no remote by me
local   @mail.kn.internolix.com



  gast@nse-int.
  de
  @40003a082dec0458b19c status: local 0/10 remote 1/20

just the otherlocal 1/10 remote 
0/20


  @40003a082dec056084ac delivery 21: deferral:

delivery 12: success:

Question: Why can't I see the message in /var/spool/mail   in $HOME/mbox
and in $HOME/Maildir?




  Why does Qmail think that gast is remote (he's local) ?

Regards,
Ruprecht


---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: unable to_establish_an_SMTP_connection

2000-11-08 Thread Brett Randall

On Wed, 08 Nov 2000, [EMAIL PROTECTED] wrote:

 Question: Why can't I see the message in /var/spool/mail in
 $HOME/mbox and in $HOME/Maildir?

What are the contents of /var/qmail/rc, and do your users have .qmail
files in their home dir's?

B
-- 
"The 'Internet' cannot be removed from your desktop, would you like to
delete the 'Internet' now?"

- MS Windows 95



Re: disabling msglog (again)

2000-11-08 Thread Robin S. Socha

* Daniel K [EMAIL PROTECTED] [001108 03:15]:
 I  already search the archive to find about "disabling msglog" but didn't find
 solution. The problem is qmail always send message to [EMAIL PROTECTED] when
 send / receive mail.  

I would consider this an untruth. It even comes up #1 in google if you
look for "qmail  msg-log".
-- 
Robin S. Socha http://socha.net/
"If you are too low a lifeform to be able to learn how to use the
manual page subsystem, why should we help you?"  (Theo de Raadt)



Re: unable to_establish_an_SMTP_connection

2000-11-08 Thread Brett Randall

On Wed, 08 Nov 2000, [EMAIL PROTECTED] wrote:

 At 19:23 08.11.00 +1100, you wrote:
What are the contents of /var/qmail/rc
 
 This is the rc-script

snipped for brevity

 exec env - PATH="/var/qmail/bin:$PATH" \
 qmail-start ./Mailbox splogger qmail 

Looks fine from here.

 I have started it without   ./Mailbox

What do you mean? Start it WITH ./Mailbox for it to work. And I
believe the standard is actually ./mailbox (am I wrong?)

, and do your users have .qmail
 
 Yes, but I have copied it to qmailfile, so qmail can't use it
 anymore

Meaning...You have MOVED them perhaps? Copying doesn't do anything, my
friend.

Please follow up to the list in the future, I can't solve all problems.

B
-- 
"Hardware, n.: The parts of a computer system that can be kicked."

- The Devil's Dictionary to Computer Studies 



Filtering Outgoing messages

2000-11-08 Thread Sébastien ROZIER



Hello,
I work with QMail, and need to restrict several 
accounts to allow only locals outgoing and incoming mails.
Other accounts have to work normally.
I use "qtools" to filter incoming mail, does anyone 
knows about outgoing filters ?
Thanx
S. ROZIER


Re: No maildir log file??

2000-11-08 Thread Brett Randall

On Wed, 8 Nov 2000, [EMAIL PROTECTED] wrote:

 With the Mailbox files if I try to fetch my mail I get an error
 telling me that the password is incorrect.. After deleting the
 Mailbox file (chown owner.groep doesn't help) and letting qmail
 recreate it, it works like it should..

The computer talks does it? "Sorry dude that password's wrong, nick
off."  I don't think so somehow. Now, if you were to telnet to port
110 and manually login, what would the error say? Authorisation
failed. This is the generic error meaning "I CAN'T HANDLE THE STRESS!"
cos something has exploded.

So, when you echo ""  Mailbox, you are missing one crucial
step. Change the ownerships BACK to the owner. ie the user that will
be logging in to retrieve that mail. I'm not even going to explain
why or how. Search the archives.

Basically, what you are doing is silly. Modifying a file which could
be in use by some other process (especially log files) is likely to
cause you hell. BTW What do you mean the maildir log file? If you mean
your mail log, just restart your logger (splogger, multilog, whatever)
via killall -HUP logapp .

B
-- 
C:\DOS C:\DOS\RUN RUN\DOS\RUN 
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL



Fw: Can I run multiple qmail-smptd on one install

2000-11-08 Thread David Bouw

Hi,

Is the following possible?

I have a POP box: userpopbox

When mail is received there I want to also send a copy to another email
adress and also store a copy in the pop box...

I can make a .qmail file in the POPbox/account to do this..

If I put: [EMAIL PROTECTED] in the .qmail file, a copy of this mail is
send to the other email..
But, I also want to have a copy in the pop box..

If I put the name of the POP box (userpopbox) also in the .qmail file this
generates a loop and qmail can't deliver it..

What can I put in .qmail to let is also deliver to 'itself' ?

Thanks for the help..

Bye Bye
David




Re: Fw: Can I run multiple qmail-smptd on one install

2000-11-08 Thread Brett Randall

On Wed, 8 Nov 2000, [EMAIL PROTECTED] wrote:

 When mail is received there I want to also send a copy to another
 email adress and also store a copy in the pop box...

I don't see what this has to do with your subject...

In your .qmail:
[EMAIL PROTECTED]
./Maildir/ (or ./mailbox or whatever)

Simple, two lines. Enjoy

B
-- 
"There is no reason anyone in the right state of mind will want a
computer in their home."

- Ken Olson, President of Digital Equipment Corp, 1977



Re: No maildir log file??

2000-11-08 Thread David Bouw

Hi Brett,

What you are telling, is completely right..
But, I also written that I tried to change the ownershop of the files with
chown...

So, I truncated the file to 0 bytes.. Then I did chown owner.group of the
file..
This didn't do the job.. I understand that the root user did the chown bit,
but how can
Qmail know that this was done..?

About, the log, you are right about this, but what is the best way to clear
the log file?

Basically a log data is appended on the end of the file, so I wouldn't think
that you can't do such great problems by sending an empty string to you log
files.. Thought wrong I guess, but how is this normally done?

Well, thanks for the help Brett,

Guest I learn something again.. :-)

Luckily Linux can handle these stupid things or else I wouldn't have gotten
the following.. :-)

 11:10am  up 138 days, 16:05,  5 users,  load average: 0.16, 0.03, 0.01

Bye bye
David


  With the Mailbox files if I try to fetch my mail I get an error
  telling me that the password is incorrect.. After deleting the
  Mailbox file (chown owner.groep doesn't help) and letting qmail
  recreate it, it works like it should..

 The computer talks does it? "Sorry dude that password's wrong, nick
 off."  I don't think so somehow. Now, if you were to telnet to port
 110 and manually login, what would the error say? Authorisation
 failed. This is the generic error meaning "I CAN'T HANDLE THE STRESS!"
 cos something has exploded.

 So, when you echo ""  Mailbox, you are missing one crucial
 step. Change the ownerships BACK to the owner. ie the user that will
 be logging in to retrieve that mail. I'm not even going to explain
 why or how. Search the archives.

 Basically, what you are doing is silly. Modifying a file which could
 be in use by some other process (especially log files) is likely to
 cause you hell. BTW What do you mean the maildir log file? If you mean
 your mail log, just restart your logger (splogger, multilog, whatever)
 via killall -HUP logapp .

 B
 --
 C:\DOS C:\DOS\RUN RUN\DOS\RUN
 C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL





Outgoing messages

2000-11-08 Thread Maciej Kozlowski

Hi all!
Simple question: how can I control outgoing messages sending from
defined addresses?
I mean: when somebody sending a message using my smtp server I would
like to archive this message in archive folder, anywhere in my server.
BR,
-- 
Maciej Kozlowski - ZigZag ISP - e-mail: [EMAIL PROTECTED]
28/34 Piekna St. - Warsaw - Poland - ph#:+48(22)6272180
--



forwarding of email via .qmail file

2000-11-08 Thread David Bouw

Hi Brett

  When mail is received there I want to also send a copy to another
  email adress and also store a copy in the pop box...

 I don't see what this has to do with your subject...
Sorry, took another message to get the qmail mailling list address and
forgot to change the subject..

You could have answered this message with read the manual:

I just took a look at lwq:
http://web.infoave.net/~dsill/lwq.html#dot-qmail-files

[EMAIL PROTECTED]
[EMAIL PROTECTED]
user

In stead ./Maildir/ you can also use user to store the message in the same
folder, though I think that ./Maildir/ is easier to remember..

Bye Bye
David

 In your .qmail:
 [EMAIL PROTECTED]
 ./Maildir/ (or ./mailbox or whatever)





Re: Outgoing messages

2000-11-08 Thread Brett Randall

On Wed, 08 Nov 2000, [EMAIL PROTECTED] wrote:

 Hi all!  Simple question: how can I control outgoing messages
 sending from defined addresses?  I mean: when somebody sending a
 message using my smtp server I would like to archive this message in
 archive folder, anywhere in my server.  BR,

This is answered somewhere. Can't remember where though. Check the
FAQ, Life with Qmail, search the archives, www.qmail.org and cr.yp.to
(I should make a generic reply message I think). But it IS possible
(see, this followup isn't /entirely/ useless!)
-- 
"Give no sleep to your eyes,
Nor slumber to your eyelids."

- Proverbs 6:4, NKJV



Re: forwarding of email via .qmail file

2000-11-08 Thread Brett Randall

On Wed, 8 Nov 2000, [EMAIL PROTECTED] wrote:

 In stead ./Maildir/ you can also use user to store the message in
 the same folder, though I think that ./Maildir/ is easier to
 remember..

I think you will find user will still loop (if you are trying to
deliver to the current users mail file)... But hey only one way to
find out.

 Bye Bye

Sayanora

 David

B
-- 
"This 'telephone' has too many shortcomings to be seriously considered
as a means of communication. The device is inherently of no value to
us."

- Western Union internal memo, 1876



qmail Digest 8 Nov 2000 11:00:01 -0000 Issue 1177

2000-11-08 Thread qmail-digest-help


qmail Digest 8 Nov 2000 11:00:01 - Issue 1177

Topics (messages 51714 through 51809):

Re: Free documentation for beginners about mail server basis ?
51714 by: Michael Maier
51765 by: Rod... Whitworth

Re: Return receipt
51715 by: Daniel POGAC
51721 by: Milen Petrinski

Multiple Mail to Single domain
51716 by: Md. Sifat Ullah Patwary
51727 by: Charles Cazabon

Re: Error Code
51717 by: Adrian Turcu

Error: Nov  7 19:13:52 planet2 checkpassword: pop3checkpasswd: exit 2 at point 6
51718 by: George Patterson

Re: smtp-auth and smtp after pop
51719 by: Milen Petrinski
51720 by: Michael Maier
51728 by: Hans-Juergen Schwarz
51731 by: Michael Maier

Moving the qmail directory
51722 by: Filip Salomonsson
51723 by: Michael Maier
51724 by: Anton Pirnat

Re: Can't connect to port 110 and 25
51725 by: Charles Cazabon

Re: qmail + throttling (limit bandwidth)
51726 by: Charles Cazabon
51729 by: Daniel Augusto Fernandes
51730 by: Michael Maier
51736 by: Charles Cazabon

Re: QMail and Win NT user auth
51732 by: Sean C Truman
51733 by: Sean C Truman
51734 by: Sean C Truman

concurrency problems
51735 by: Alex Khanin
51741 by: Charles Cazabon
51746 by: ed lim

unable to_establish_an_SMTP_connection
51737 by: Christophe.Andreoli.nse.de
51740 by: Charles Cazabon
51742 by: Alex Khanin
51795 by: Ruprecht Helms
51796 by: Brett Randall
51798 by: Brett Randall

minor bug report
51738 by: Mark Cheverton
51772 by: Peter van Dijk

qmail and secure smtp relay?
51739 by: Jack Barnett
51743 by: Michael Maier
51745 by: Jack Barnett
51755 by: Charles Cazabon

ERR authorization failed ...
51744 by: Javier Morquecho Morquecho
51748 by: Tim Hunter

Sendmail %1 Virtual Aliases - Qmail?
51747 by: Jamin A. Brown

Install Questions
51749 by: Hans-Juergen Schwarz

what is the process for adding a new user to qmail for Linux?
51750 by: Robert Eric Pearse
51751 by: Tim Hunter
51752 by: Robert Eric Pearse
51754 by: Tim Hunter
51757 by: Timothy Legant
51758 by: Robert Eric Pearse
51759 by: Robert Eric Pearse
51761 by: Robin S. Socha
51766 by: Joost van Baal

No Delivery via SMTP
51753 by: Ruprecht Helms

Pop server
51756 by: Travis Turner
51760 by: Alexander Jernejcic

Am I relaying?
51762 by: Roger Walker
51763 by: Charles Cazabon
51764 by: Roger Walker
51768 by: Al Sparks
51769 by: Aaron L. Meehan
51770 by: Roger Walker

Fix for Relaying through QMail using xinetd
51767 by: Anthony Abby

Some emails in my queue delayed more than 2 weeks, help?
51771 by: Eric Wang

Re: qmail: Nearly therefinally there
51773 by: George Patterson

why my qmail install wrong?
51774 by: dick
51775 by: richard.illuin.org

Converting dates from seconds since epoch to readable dates
51776 by: James Morgenstein
51777 by: Jim Zajkowski
51781 by: James Morgenstein

maildir script ?
51778 by: Dennis
51779 by: markd.bushwire.net
51780 by: Brett Randall
51782 by: Anthony Abby
51783 by: Dennis Kavadas
51784 by: Brett Randall
51785 by: markd.bushwire.net
51786 by: Dennis Kavadas
51787 by: Brett Randall
51788 by: Travis Turner

remove messages from mail queue
51789 by: Mark Lo

Pointers
51790 by: Travis Turner
51792 by: Brett Randall

Install Questions important!
51791 by: Hans-Juergen Schwarz
51793 by: Brett Randall

disabling msglog (again)
51794 by: Daniel K
51797 by: Robin S. Socha

Filtering Outgoing messages
51799 by: Sébastien ROZIER

No maildir log file??
51800 by: David Bouw
51801 by: Brett Randall
51804 by: David Bouw
51805 by: Brett Randall

Re: Can I run multiple qmail-smptd on one install
51802 by: David Bouw
51803 by: Brett Randall

Outgoing messages
51806 by: Maciej Kozlowski
51808 by: Brett Randall

forwarding of email via .qmail file
51807 by: David Bouw
51809 by: Brett Randall

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]


--



"Robin S. Socha" wrote:

 http://www.faqs.org/faqs/mail/ }:-

For qmail Beginners I did a good All Purpose Installation Mini HOWTO...
http://www.octlabs.de/linux/docu/qmail_howto.shtml
CU,
 

connections ???

2000-11-08 Thread tag

Hi ALL,

In syslog  i am getting alot of these:

973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256

What I want to know is what the status 256 is and why I am getting alot
of these - they are right after each other like this :

973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256
973696609.774420 tcpserver: pid 16494 from ip address of other server
973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
:ipaddress of other server::4648
973696610.343762 tcpserver: end 16494 status 256


Please help ??

Thanks
Tonino



Re: connections ???

2000-11-08 Thread Michael Maier

tag wrote:

 Hi ALL,

 In syslog  i am getting alot of these:

 973696609.774420 tcpserver: pid 16494 from ip address of other server
 973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
 :ipaddress of other server::4648
 973696610.343762 tcpserver: end 16494 status 256

 Please help ??

 Thanks
 Tonino

Get qmail-analog mentioned on www.qmail.org
CU,
 Michael!




Re: connections ???

2000-11-08 Thread tag

Michael Maier wrote:
 
 tag wrote:
 
  Hi ALL,
 
  In syslog  i am getting alot of these:
 
  973696609.774420 tcpserver: pid 16494 from ip address of other server
  973696609.776054 tcpserver: ok 16494 0:ipaddress of mail server:25
  :ipaddress of other server::4648
  973696610.343762 tcpserver: end 16494 status 256
 
  Please help ??
 
  Thanks
  Tonino
 
 Get qmail-analog mentioned on www.qmail.org
 CU,
  Michael!


I have it - how is it going to help me ???

Thanks
Tonino



Re: connections ???

2000-11-08 Thread Michael Maier

tag wrote:

  Get qmail-analog mentioned on www.qmail.org
  CU,
   Michael!

 I have it - how is it going to help me ???

qmail-analog looks into your Log Files and provides Programs to show Statistics
of your Mail Server.




Re: SMTP Server test failed

2000-11-08 Thread Petr Danecek



Hi,
what does your log say?
Petr

On Tue, 7 Nov 2000 [EMAIL PROTECTED] wrote:

 
 
 I tested SMTP on my qmail installation  (installed with "life with Qmail")
 with TEST.receive
 
 
 1. SMTP server test: Forge some mail locally via SMTP. Replace ``me''
with your username and ``domain'' with your host's name.
% telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 domain ESMTP
helo dude
250 domain
mail gast@mydomain
250 ok
rcpt gast@mydomain
250 ok
data
354 go ahead
Subject: testing
 
This is a test.
.
250 ok 812345679 qp 12345
quit
221 domain
 
 Everything worked fine at the shell but I couldn't find the test email in
 the gast Mailbox  ? Why could be the reason ?
 
Thanks!
 
 

-- 





Re: disabling msglog (solved)

2000-11-08 Thread Daniel K

On Wed, 08 Nov 2000, you wrote:
 Hi,
 I  already search the archive to find about "disabling msglog" but didn't find
 solution. The problem is qmail always send message to [EMAIL PROTECTED] when
 send / receive mail.  
 My system is RH 6.2 with qmail 1.03+patches-14 installed from RPM, also
 vpopmail 4.9.5 .
 There is no local domain ( /var/qmail/control/local/ just
 contain localhost ), I put all of my email domain to virtual domain and
 vpopmail handle this. So to stop error message "Sorry no mailbox ", I create
 account [EMAIL PROTECTED]
 
 How do I stop msglog ? My .qmail-msglog already empty
 
Solved after upgrade to rpm qmail 1.03+patches-16,... 

Thanks



Re: connections ???

2000-11-08 Thread tag

Michael Maier wrote:
 
 tag wrote:
 
   Get qmail-analog mentioned on www.qmail.org
   CU,
Michael!
 
  I have it - how is it going to help me ???
 
 qmail-analog looks into your Log Files and provides Programs to show Statistics
 of your Mail Server.

I know that - what I do not know is what the :

973696610.343762 tcpserver: end 16494 status 256

status 256 is from - and as you can see - it is from tcpserver .

Thanks
Tonino



Re: Pointers

2000-11-08 Thread markd

On Tue, Nov 07, 2000 at 11:50:51PM -0700, Travis Turner wrote:
 I am almost there and having almost the same problem as the Maildir 
 guy.  for some reason when I send a message to the server for a local user 
 it will not direct it to the correct mailbox.  Is there some sort of 
 pointer that I need to set up that says deliver local mail to the 
 /home/user/maildir format?  I am almost there darnet and no sleeping until 
 its done.  Thanks for the help

Your logs are your friend. Experienced qmail users on this list will know what
is wrong if you show the logs associated with the delivery. Why not give them
a chance to help you?


Regards.



Problem mit qmail-pop

2000-11-08 Thread Ruprecht Helms

Hi,

I habe a problem with qmail-pop. The users Maildir exist
and new Mail will be delivered properly.

This shows the local telnetsession on pop3:


mail:~ # telnet localhost pop3
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK 665.973685418@/bin/checkpassword
user test1
+OK
pass test1
-ERR this user has no $HOME/Maildir
Connection closed by foreign host.

What have I to configure for proper work?

Regards,
Ruprecht



---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: No maildir log file??

2000-11-08 Thread markd

On Wed, Nov 08, 2000 at 08:37:04PM +1100, Brett Randall wrote:
 
 So, when you echo ""  Mailbox, you are missing one crucial
 step. Change the ownerships BACK to the owner. ie the user that will

Hmm. Generally speak, if the file already exists, then the ownership
and modes are unchanged. Agreed it depends on the shell.

 Basically, what you are doing is silly. Modifying a file which could
 be in use by some other process (especially log files) is likely to
 cause you hell.

Agreed. When modifying or replacing a file it behooves you to understand
how to interact with the program(s) accessing to that file. It differs
depending on the program. You cannot treat a mailbox like a syslog file
and you cannot treat a syslog file like a multilog file, etc.


Regards.



Re: connections ???

2000-11-08 Thread markd

On Wed, Nov 08, 2000 at 02:08:37PM +0200, tag wrote:
 Michael Maier wrote:
  
  tag wrote:
  
Get qmail-analog mentioned on www.qmail.org
CU,
 Michael!
  
   I have it - how is it going to help me ???
  
  qmail-analog looks into your Log Files and provides Programs to show Statistics
  of your Mail Server.

Nope. qmail-analog is for qmail-send logs, NOT tcpserver logs.

 
 I know that - what I do not know is what the :
 
 973696610.343762 tcpserver: end 16494 status 256
 
 status 256 is from - and as you can see - it is from tcpserver .

It's the exit status of process 16494 (presumably qmail-smtpd) as returned by the
wait() system call to tcpserver.

You'll need to read up on the wait() system call to understand why the value
is 256, but here's a snippet:

o  If the child process  terminated  due  to  an  _exit()
   call, the low order 8 bits of status will be 0 and the
   high order 8 bits will contain the low order 8 bits of
   the argument that the child process passed to _exit();
   see exit(2).

In the case of qmail-smtpd it can mean a variety of things, but generally
that it failed to get input from the socket when it expected. qmail-smtpd
only exits with a status of zero if it gets a QUIT.


Regards.



Re: Problem mit qmail-pop

2000-11-08 Thread Michael Maier

Ruprecht Helms wrote:

 -ERR this user has no $HOME/Maildir

This means the User has no Mail Directory!
Maildir = /home/$USER/Maildir
The deeper Maildir Structure:
 Maildir/cur
 Maildir/new
 Maildir/tmp
That Directories must be present and must have the working Rights to
Access!!
CU
--
--^..^--
  michael maier  -  system  development administrator
  flatfox ag, hanauer landstrasse 196a
  d-60314 frankfurt am main
  fon+49.(0)69.50 95 98-308
  fax+49.(0)69.50 95 98-101
  email  [EMAIL PROTECTED]
  urlhttp://www.flatfox.com -  m a k e  m y  d a y






No Mailbox in Alias

2000-11-08 Thread Christophe . Andreoli




  Hello !

probably a stupid question.

What is the most common reason not to have any Mailbox in ~alias (it's my
case) ?

 thanks !






Re: Converting dates from seconds since epoch to readable dates

2000-11-08 Thread Eduardo Augusto Alvarenga

  I am attempting to write a script which examines the qmail logs files for
  statistics on ezmlm mail lists.
 
  In order to make sense of the results I need a script or command which
 will
  turn the dates that come out of qmailanalog's matchup program into human
  readable form.
 
  Does anyone have a script or know the command to turn a date such as
  973212991.884939500 to a real date that you and I can easily understand?

You may use something like:


(if log from tai64 to human-readable)


cat /var/log/qmail/current | tai64nlocal

it should appear something like:


2000-11-08 09:22:13.435407500 status: local 0/10 remote 0/20



You can find the tai64nlocal in the daemontools package, made by djb



Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



New Mail Notification (with VMailMgr, advanced, not qbiff etc)

2000-11-08 Thread Michael Vorburger

Hello,

I need to implement a New Mail Notification; not for login like qbiff etc,
but more like notifiying users on another external email, SMS etc in the
future.  So a simple forward won't do, I need to call some external script
each time new mail comes in.

How to best do this?  I suppose we could use .qmail with a "program line"
(man dot-qmail) ... but will this work with with VMailMgr?  Mail for users a
 b is actually stored in /home/vermail/users/a and /b, not in
/home/a/Mailbox etc.  Where do I put the .qmail with VMailMgr?

Also thought of simply regularly scanning /home/vermail/users/[ab]/new ...
but hoping there is a cleaner solution.

Thanks very much,
Michael





Re: Problem mit qmail-pop

2000-11-08 Thread Gjermund Sorseth


 I habe a problem with qmail-pop. The users Maildir exist
 and new Mail will be delivered properly.
  
 This shows the local telnetsession on pop3:
  
 Connected to localhost.
 Escape character is '^]'.
 +OK 665.973685418@/bin/checkpassword
 ^^

It looks like you forgot the hostname argument to qmail-popup.

-- 
Gjermund Sorseth



Re: remove messages from mail queue

2000-11-08 Thread Charles Cazabon

Mark Lo [EMAIL PROTECTED] wrote:
 
  I have over 10,000 unsend messages in my mail queue,

That's completely normal -- deferrals are a fact of life.

 I would like to know how to remove those messages from my mail queue.  What
 command should I use ?

You don't have to do anything.  After a week (default) they'll bounce and
be gone from your queue for good.

If you feel you absolutely _must_ fool with the queue manually, read all of
"Life with qmail" and all documentation pointed to by www.qmail.org first.

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: Some emails in my queue delayed more than 2 weeks, help?

2000-11-08 Thread Greg Owen

 I am newbie of qmail, but I noticed some emails in my qmail 
 server queue have been there more than 2 weeks.

Mail that cannot be delivered will be retried for
/var/qmail/control/queuelifetime seconds, which defaults to one week (604800
seconds).  After that, it will bounce.  (man qmail-send)

 I found some useful tools to check the delayed email in the queue from
 the qmail homepage,  but I have no idea how I can force qmail deliver
 them right away or backup and delete them from queue.

If the mail has been delayed, then most likely the destination host
is not responding, and therefore forcing the queue will not cause it to be
delivered.

In order to see why mail isn't getting delivered, look at the logs.
Get the queue id using qmail-qread:

# qmail-qread
5 Nov 2000 00:32:30 GMT  #716722  2940  
remote  [EMAIL PROTECTED]

In this case, 716722.  Now grep to get the last delivery attempt:

# grep 716722 /var/log/maillog | tail -1
Nov  8 04:32:31 zephyr qmail: 973675951.152330 starting delivery 46683: msg
716722 to remote [EMAIL PROTECTED]

Now grep for the details of that delievery attempt:

# grep 46683 /var/log/maillog
Nov  8 04:32:31 zephyr qmail: 973675951.152330 starting delivery 46683: msg
716722 to remote [EMAIL PROTECTED]
Nov  8 04:33:31 zephyr qmail: 973676011.198378 delivery 46683: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

so, the mail server for thegamblingreport.com isn't responding.
Now, you could look it up to figure out what the IP is (209.67.50.203), and
telnet to port 25, and verify by hand that it isn't responding... but it
isn't really worth the trouble.

Having said all that, to force the queue to retry, send a kill -HUP
to the qmail-send process (this is in the FAQ, I forget the number.


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



Re: [vmailmgr] New Mail Notification (with VMailMgr, advanced, not qbiff etc)

2000-11-08 Thread Bruce Guenter

On Wed, Nov 08, 2000 at 02:24:11PM -, Michael Vorburger wrote:
 I need to implement a New Mail Notification; not for login like qbiff etc,
 but more like notifiying users on another external email, SMS etc in the
 future.  So a simple forward won't do, I need to call some external script
 each time new mail comes in.

Put it into vdeliver-postdeliver.  See configuration.html for more
details.
-- 
Bruce Guenter [EMAIL PROTECTED]   http://em.ca/~bruceg/

 PGP signature


Re: Some emails in my queue delayed more than 2 weeks, help?

2000-11-08 Thread Peter van Dijk

On Wed, Nov 08, 2000 at 10:06:57AM -0500, Greg Owen wrote:
[snip]
   Having said all that, to force the queue to retry, send a kill -HUP
 to the qmail-send process (this is in the FAQ, I forget the number.

-ALRM actually, not -HUP. You might want to do a qmail-tcpok first.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: New Mail Notification (with VMailMgr, advanced, not qbiff etc)

2000-11-08 Thread Sean Reifschneider

On Wed, Nov 08, 2000 at 02:24:11PM -, Michael Vorburger wrote:
future.  So a simple forward won't do, I need to call some external script
each time new mail comes in.

I would modify vmailmgr so that when it delivers mail to a maildir, it
also logs a message somwhere.  Then simply write a program that watches
that log for new incoming messages and takes the appropriate action.

I've done a similar modification to QMail itself and vpopmail.

Sean
-- 
 What no spouse of a programmer can ever understand is that a programmer is
 working when he's staring out the window.
Sean Reifschneider, Inimitably Superfluous [EMAIL PROTECTED]
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



open-smtp woes

2000-11-08 Thread Robin S. Socha

Dear all,

I just installed open-smtp by Russ Nelson. It does Not Work(tm). The
tcprules-file gets overwritten as expected (?), but there are '"'
missing:

(root@kens):(~)$ cat /etc/tcprules.d/qmail-smtpd
212.84.219.13:allow,RELAYCLIENT=

To the effect that:

(root@purgatory):(~)# fetchmail -v
fetchmail: 5.3.8 querying kens.com (protocol POP3) at Wed, 08 Nov 2000 16:25:12 +0100 
(CET)
fetchmail: POP3 +OK [EMAIL PROTECTED]
fetchmail: POP3 USER rsocha
fetchmail: POP3 +OK 
fetchmail: POP3 PASS *
fetchmail: POP3 tcprules: fatal: unable to parse this line: 
212.84.219.13:allow,RELAYCLIENT=
fetchmail: Unknown login or authentication error on [EMAIL PROTECTED]
fetchmail: POP3 QUIT
fetchmail: POP3 +OK 
fetchmail: client/server protocol error while fetching from kens.com
fetchmail: Query status=4 (PROTOCOL)
fetchmail: normal termination, status 4

Any ideas, please?

Thanks,
Robin
-- 
Robin S. Socha http://socha.net/
"If you are too low a lifeform to be able to learn how to use the
manual page subsystem, why should we help you?"  (Theo de Raadt)



No Mailbox in Alias

2000-11-08 Thread Christophe . Andreoli



 Hello !

probably a stupid question.

What is the most common reason not to have any Mailbox in ~alias (it's my
case) ?

 thanks !





Deliveryproblem via smtp

2000-11-08 Thread Ruprecht Helms

Hi,

we have on a mailserver in our headquarter a mailaccount with permant 
forwarding
to our subdomain for constance. When I send a mail 
to   [EMAIL PROTECTED] the mail
went out to the relaying server (mail.internolix.com) and will there be 
forwarded.

The acknowledge-entry from our mailserver (mail.kn.internolix.com) in the 
logfile on mail.internolix.com   isbad user.

What have I to make to become mails from 
mail.internolix.com   for  [EMAIL PROTECTED]
mail.kn.internolix.com is configured to be the mailexchange for 
kn.internolix.com

Thanks for help.

Regards,
Ruprecht



---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: No Mailbox in Alias

2000-11-08 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 probably a stupid question.

No.  But that doesn't justify posting it multiple times.
 
 What is the most common reason not to have any Mailbox in ~alias (it's my
 case) ?

The most common reason is that you don't need it.  .qmail files in ~alias
typically forward to another user in the system, and are then stored in
Maildirs (or mbox files) in that user's home directory.

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: Qmail-pop3

2000-11-08 Thread David Geller

Try qpopper from the folks that wrote Eurdora. Check it out at
http://www.eudora.com/qpopper/

-Original Message-
From: Linux [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 5:49 AM
To: [EMAIL PROTECTED]
Subject: Qmail-pop3


Hi all.

I'm usign qmail on one of my mail server.
I need an information about pop3 daemons.
Now i'm using qmail-pop3d for delivering in Maildir, but there was another
pop3 daemons fast and efficent workings with maildir?
Any idea?

Thanks




Re: open-smtp woes

2000-11-08 Thread James T. Perry


Hi Robin,

"Robin S. Socha" wrote:
 
 Dear all,
 
 I just installed open-smtp by Russ Nelson. It does Not Work(tm). The
 tcprules-file gets overwritten as expected (?), but there are '"'
 missing:
 
 (root@kens):(~)$ cat /etc/tcprules.d/qmail-smtpd
 212.84.219.13:allow,RELAYCLIENT=

[verbose fetchmail log snipped]

It seems like the script called pop3-record is missing
back-slashes to escape double quotes.
(actually, it contains no double quotes ;)

  #!/bin/sh
  echo "$TCPREMOTEIP:allow,RELAYCLIENT=//" /etc/smtp.filter.newer
  cat /etc/smtp.filter.* | /usr/blah/blah...

The above should read RELAYCLIENT=\"\""
You also may need
  echo -e
depending on the shell.

hope this helped...

cheers,
jamie

#-#-#-#-#-#-#-#
-- If somebody can help create a search engine for my room,
   I will call them a Saint...
   GUI == Graphical User Interference



Re: Converting dates from seconds since epoch to readable dates

2000-11-08 Thread Peter Green

also sprach jamesez:
 On Tue, 7 Nov 2000, James Morgenstein wrote:
  Does anyone have a script or know the command to turn a date such as
  973212991.884939500 to a real date that you and I can easily understand?
 tai64nlocal, it's in the daemontools package from DJB.

Not quite, try tailocal from daemontools-0.xx, where xx  60.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"Are Linux users lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?"
(By Matt Welsh)




RE: Qmail-pop3

2000-11-08 Thread Tim Hunter

Last I checked qpopper does not read maildirs.

-Original Message-
From: David Geller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 11:31 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Qmail-pop3


Try qpopper from the folks that wrote Eurdora. Check it out at
http://www.eudora.com/qpopper/

-Original Message-
From: Linux [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 5:49 AM
To: [EMAIL PROTECTED]
Subject: Qmail-pop3


Hi all.

I'm usign qmail on one of my mail server.
I need an information about pop3 daemons.
Now i'm using qmail-pop3d for delivering in Maildir, but there was another
pop3 daemons fast and efficent workings with maildir?
Any idea?

Thanks





Re: New Mail Notification (with VMailMgr, advanced, not qbiff etc)

2000-11-08 Thread Andy Bradford

On Wed, 08 Nov 2000 14:24:11 GMT, "Michael Vorburger" wrote:

 I need to implement a New Mail Notification; not for login like qbiff etc,
 but more like notifiying users on another external email, SMS etc in the
 future.  So a simple forward won't do, I need to call some external script
 each time new mail comes in.

This is what I do.  I have a dot-qmail file that looks like this:

| if grep -i "^$SENDER" $HOME/.qmailpage  /dev/null; then sed -n -f 
|$HOME/bin/mail2page.sed | qmail-inject -f$SENDER [EMAIL PROTECTED]; exit 0; 
|else echo "You are noth authorized to send me a page"; exit 100; fi
| /usr/local/bin/maildrop

The first pipe will check that the sender is valid, and if so it will 
allow the page through.

Here are the contents of mail2page.sed:

/^From:/p
/^Subject:/p

This works very well, provided that no on knows the real email address 
of the pager and they don't spoof the SENDER.  You could modify this 
script not to return an error code, or not even check the sender for 
that matter.
:-)

Andy




Oversize DNS Patch

2000-11-08 Thread Mark Lo

Hi,

I would like to know that Do I still need the Oversize DNS Patch from
now on.


Thank you so much,

Mark Lo




Possible bug in qmailanalog matchup program?

2000-11-08 Thread James Morgenstein

All-

I am attempting to process about 500 MB of qmail log files but continue to
run into the following bug when running the matchup program:

  matchup: fatal: unable to write fd 5: file descriptor not open

I have isolated the problem to the matchup program by running the following
sequence of commands:

  # cat /var/log/qmail/*.s /var/log/qmail/current  biglog.txt
  # cat biglog.txt | /usr/local/qmailanalog/bin/tai64nfrac  big64nfrac.txt
  # cat big64nfrac.txt | /usr/local/qmailanalog/bin/matchup  bigmatchup.txt

I get the above error on the last line of this sequence of commands.

I also get the same error if I string all of these commands together into a
single line such as:

  # cat /var/log/qmail/*.s /var/log/qmail/current |
/usr/local/qmailanalog/bin/tai64nfrac | /usr/local/qmailanalog/bin/matchup 
bigmatchup.txt

Without being able to process all the data, I am afraid that I cannot
extract the information I desire using the other qmailanalog tools.

Thanks for the help.

James




Re: mailtraffic logging, inclusive Subject: field

2000-11-08 Thread Olivier M.

On Fri, Nov 03, 2000 at 08:43:04AM +1300, Jason Haar wrote:
 On Thu, Nov 02, 2000 at 03:47:47PM +0100, Olivier M. wrote:
  Hello,
  
  For a project, I'd need to find a way to log the mail traffic
  on a qmail server, but not just sender and recipient: subject
  is also needed. 
 
 Qmail-Scanner can certainly give you that - plus attachment data per message.
 
 Output looks like:
 
 31/10/2000 08:56:28:2757: p_s:  msg info: [EMAIL PROTECTED] [EMAIL PROTECTED] 
  My subject msgid date attachment1 attachment2

Thanks Jason, I will try your solution : it's the best one I guess.

And then I will directely add an antivirus :) Do you have one
you are using and you recommend ? (I know the list on the q-s homepage :).

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Peter van Dijk

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:
[snip]
 
   matchup: fatal: unable to write fd 5: file descriptor not open

You obviously did not read the docs.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Ben Beuchler

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:

 I am attempting to process about 500 MB of qmail log files but continue to
 run into the following bug when running the matchup program:
 
   matchup: fatal: unable to write fd 5: file descriptor not open

man matchup

It's not a bug.

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



RE: Qmail-pop3

2000-11-08 Thread Ruprecht Helms

Am Mit, 08 Nov 2000 schrieb David Geller:
 Try qpopper from the folks that wrote Eurdora. Check it out at
 http://www.eudora.com/qpopper/

Don't forget the patch for qpopper. Qpopper defaults works 
with /var/spool/mail/[userfile]. Only the patch enables to work with
maildir.

 -Original Message-
 From: Linux [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 08, 2000 5:49 AM
 To: [EMAIL PROTECTED]
 Subject: Qmail-pop3
 
 
 Hi all.
 
 I'm usign qmail on one of my mail server.
 I need an information about pop3 daemons.
 Now i'm using qmail-pop3d for delivering in Maildir, but there was another
 pop3 daemons fast and efficent workings with maildir?
 Any idea?
 

Regards,
Ruprecht



Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Mate Wierdl

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:
 All-
 
 I am attempting to process about 500 MB of qmail log files but continue to
 run into the following bug when running the matchup program:
 
   matchup: fatal: unable to write fd 5: file descriptor not open
 
 I have isolated the problem to the matchup program by running the following
 sequence of commands:
 
   # cat /var/log/qmail/*.s /var/log/qmail/current  biglog.txt
   # cat biglog.txt | /usr/local/qmailanalog/bin/tai64nfrac  big64nfrac.txt
   # cat big64nfrac.txt | /usr/local/qmailanalog/bin/matchup  bigmatchup.txt

How does this correspond to what the man page for matchup says:

   matchup  exits after it sees end of file.  It prints pend
   ing messages and deliveries on descriptor 5, in  a  format
   suitable for input to a future invocation of matchup:

  log.1 matchup out.1 5pending.2
  cat pending.2 log.2 | matchup out.2 5pending.3
  cat pending.3 log.3 | matchup out.3 5pending.4

Mate



Unable to change to maildir

2000-11-08 Thread Scott Burkhalter

I have configured qmail to use vmailmgr to deliver messages without
maintaining individual accounts for every user.

This is a new system that has Redhat 6.2, Qmail 1.03, and Vmailmgr (not sure
of version off top of my head, but it must be the latest as I ftp'd it from
the vmailmgr site within the past 3 weeks.

I followed the LWQ instructions for qmail configuration w/ pop3 instructions
followed to use qmail-pop3d for access by Outlook users.  I use Maildirs…

I believe I have a configuration issue in the delivery mechanism, and I'm
not sure where to look for instructions regarding correct chmod settings for
the delivery directories.

Since I use vmailmgr, my virtualhosts file is configured with
domain.com:vmuser
.domain.com:vmuser

In the vmuser home directory I have a .qmail-default that specifies
“|vdeliver “ so that the mail goes through the vmailmgr delivery mechanism…

What happens is that mail does not get delivered, and the logs report the
message “unable to change to maildir” in the qmail-send log (as configured
using supervise and multilog as per LWQ).  Thus, I believe that qmail can
not deliver the mail to the vmailmgr user, and I have a qmail problem, not a
vmailmgr problem.

I have put the vmailmgr user under /usr/mail/vmuser.  Is there an issue with
the permissions for the parent directories and/or the user directory?  What
is the correct chmod settings? Also, what about user:group settings for
parent/child dirs…

Thanks ahead.

Scott Burkhalter
VP, Entyre Doc Prep, Inc.
[EMAIL PROTECTED]




Re: open-smtp woes

2000-11-08 Thread Robin S. Socha

* James T. Perry [EMAIL PROTECTED] [001108 12:03]:
 It seems like the script called pop3-record is missing
 back-slashes to escape double quotes.
 (actually, it contains no double quotes ;)
 
   #!/bin/sh
   echo "$TCPREMOTEIP:allow,RELAYCLIENT=//" /etc/smtp.filter.newer
   cat /etc/smtp.filter.* | /usr/blah/blah...
 
 The above should read RELAYCLIENT=\"\""
 You also may need
   echo -e
 depending on the shell.

Not really. And my users are about to kill me, too ;-)

(root@purgatory):(~)# fetchmail -
fetchmail: 5.3.8 querying kens.com (protocol POP3) at Wed, 08 Nov 2000
19:47:42 +0100 (CET)
fetchmail: POP3 +OK [EMAIL PROTECTED]
fetchmail: POP3 USER rsocha
fetchmail: POP3 +OK 
fetchmail: POP3 PASS *
fetchmail: POP3 /usr/local/bin/pop3-record: 1: Syntax error:
Unterminated quoted string
fetchmail: Unknown login or authentication error on [EMAIL PROTECTED]
fetchmail: POP3 QUIT
fetchmail: POP3 +OK 
fetchmail: client/server protocol error while fetching from kens.com
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Query status=4 (PROTOCOL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 4
fetchmail: Deleting fetchids file.

(root@kens):(/etc/tcprules.d)$ cat /usr/local/bin/pop3-record 
#!/bin/sh
TCPDIR=/etc/tcprules.d
SMTPRULES=$TCPDIR/qmail-smtpd
PATH=$PATH:/usr/local/bin/
# First see if $TCPREMOTEIP is handled by existing rules
tcprulescheck $TCPDIR/qmail-smtpd.cdb ``$TCPREMOTEIP'' | \
grep RELAYCLIENT  /dev/null  exit 0
echo ``$TCPREMOTEIP''':allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer
cat $TCPDIR/smtp.filter.*  $SMTPRULES
tcprules $SMTPRULES.cdb $SMTPRULES.tmp  $SMTPRULES

HELP!!!1 }:-



Re: open-smtp woes

2000-11-08 Thread Charles Cazabon

Robin S. Socha [EMAIL PROTECTED] wrote:
 fetchmail: POP3 /usr/local/bin/pop3-record: 1: Syntax error:
 Unterminated quoted string
[...]

 # First see if $TCPREMOTEIP is handled by existing rules
 tcprulescheck $TCPDIR/qmail-smtpd.cdb ``$TCPREMOTEIP'' | \
 grep RELAYCLIENT  /dev/null  exit 0
 echo ``$TCPREMOTEIP''':allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer
[...]

Hmm.  I think those lines should be something more like this:

tcprulescheck $TCPDIR/qmail-smtpd.cdb "$TCPREMOTEIP" | \
grep RELAYCLIENT  /dev/null  exit 0
echo "$TCPREMOTEIP:allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer

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: open-smtp woes

2000-11-08 Thread Gerry Boudreaux

Check to make sure that the patch to checkpassword inserted the line:

char *opensmtp = "/usr/local/bin/pop3-record";

Correctly, the error looks like it is coming from the
call *to* pop3-record from checkpassword, not pop3-record itself

(Hoping I am guessing correctly)

Gerry

At 01:48 PM 11/8/2000 -0500, "Robin S. Socha" [EMAIL PROTECTED] wrote:
* James T. Perry [EMAIL PROTECTED] [001108 12:03]:
  It seems like the script called pop3-record is missing
  back-slashes to escape double quotes.
  (actually, it contains no double quotes ;)
 
#!/bin/sh
echo "$TCPREMOTEIP:allow,RELAYCLIENT=//" /etc/smtp.filter.newer
cat /etc/smtp.filter.* | /usr/blah/blah...
 
  The above should read RELAYCLIENT=\"\""
  You also may need
echo -e
  depending on the shell.

Not really. And my users are about to kill me, too ;-)

(root@purgatory):(~)# fetchmail -
fetchmail: 5.3.8 querying kens.com (protocol POP3) at Wed, 08 Nov 2000
19:47:42 +0100 (CET)
fetchmail: POP3 +OK [EMAIL PROTECTED]
fetchmail: POP3 USER rsocha
fetchmail: POP3 +OK
fetchmail: POP3 PASS *
fetchmail: POP3 /usr/local/bin/pop3-record: 1: Syntax error:
Unterminated quoted string
fetchmail: Unknown login or authentication error on [EMAIL PROTECTED]
fetchmail: POP3 QUIT
fetchmail: POP3 +OK
fetchmail: client/server protocol error while fetching from kens.com
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Query status=4 (PROTOCOL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 4
fetchmail: Deleting fetchids file.

(root@kens):(/etc/tcprules.d)$ cat /usr/local/bin/pop3-record
#!/bin/sh
TCPDIR=/etc/tcprules.d
SMTPRULES=$TCPDIR/qmail-smtpd
PATH=$PATH:/usr/local/bin/
# First see if $TCPREMOTEIP is handled by existing rules
tcprulescheck $TCPDIR/qmail-smtpd.cdb ``$TCPREMOTEIP'' | \
grep RELAYCLIENT  /dev/null  exit 0
echo ``$TCPREMOTEIP''':allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer
cat $TCPDIR/smtp.filter.*  $SMTPRULES
tcprules $SMTPRULES.cdb $SMTPRULES.tmp  $SMTPRULES

HELP!!!1 }:-





Re: open-smtp woes

2000-11-08 Thread Ricardo Cerqueira

On Wed, Nov 08, 2000 at 01:48:55PM -0500, Robin S. Socha wrote:
 echo ``$TCPREMOTEIP''':allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer

Open 2 backticks, close with 3 quotes, 2 escaped double-quotes and yet
another double-quote?

how about:

echo "$TCPREMOTEIP:allow,RELAYCLIENT=\"\""  $TCPDIR/smtp.filter.newer

RC

-- 
+---
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010  - Fax: +351 2 1010 4459

 PGP signature


Re: Outlook Express

2000-11-08 Thread Dennis Duval

 Hi everyone. I use the pop daemon from qmail (qmail-pop3d) and the
 Outlook Express program is making me crazy. I looked for a solution in the
 archives, but i didn't find it.  My problem is:

 My clients use Microshit Outlook Express and i'm having a lot of error
 messages from qmail pop server:

 Your server has unexpectedly terminated the connection. Possible causes
 for this include server problems, network problems, or a long period of
 inactivity. Account: 'infomoney', Server: 'mail.infomoney.com.br',
 Protocol: POP3,
 Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F

I don't think you will ever find the solution to this problem on this list.
Unfortunately, the attitude of many of the people on this list is that if it
concerns a Microsoft product, even if it concerns the way it interacts with
qmail, it is a non-problem.  And basically they are right.  The
closed-source nature of Microsoft products makes it impossible for anyone
but Microsoft to correct or even identify the problem.

I do resent the people that say the solution is to use a better mail client.
That is like saying the cure to sunburn is to not have the sun come up.
People overwhelmingly choose to use MS products for various reasons, and
these people are not necessarily losers because of it.  Not everyone has the
capability or desire to be a Unix guru.  And not every shop has to deal with
MS products, and I envy those.  But ISPs and many other installations HAVE
to deal with them if you want to keep customers.   Not a choice.  Its a fact
of life, just like the sun coming up.

All this ranting aside, there is a serious problem with the way Outlook and
Outlook Express interface with qmail, but I don't think it is exclusive to
qmail.  One of the reasons I migrated to qmail about 2 years ago was because
I was experiencing the same problems that you are seeing with a but the
product was called SLMail (for NT).  Migrating to qmail did not solve the
problem, but it sure made it easier to go in and find the offending item and
delete it when using the maildir configuration.  SLMail used a mailbox-type
config where mail items are combined in one big text file.  Now when the
customer or client calls and says Outlook is hanging on item 4 or 10, I can
easily go into their maildir and delete the offending item instead of
searching through a big text file.  In addition, I set up Sam's sqwebmail
web-based interface which allows customers to go to the server and delete
the offending item themselves.  This works well for those having recurring
problems.

I have gathered a little bit of knowledge in dealing with this problem:

1.  Sometimes the problem is just caused by a poor connection.
Disconnecting and reconnecting may allow you to retrieve it.
2.  Sometimes there are control characters imbedded in email that makes
Outlook barf.  If you identify this control char and delete it, Outlook will
retrieve the mail successfully.  I think this causes most of the problems,
but it is not usually apparent where the control character.  In some cases
the control character looks like an 'at' sign with an underscore below it.
3.  It seems to hang more often on big items or items with attachments.
This may just be due to the fact that the connection is open longer and has
more work to do.
4.  Deleting the offending items always cures the problem if it is a
corrupted file or one containing a 'bad' control character.  The client can
retrieve the rest of the mail after the offending file is gone, without
re-dialing.  If it is a connection problem, they may still not be able to
retrieve the rest of the mail after the offending item is gone.  In that
case they should try to reconnect, and troubleshooting should focus on the
connection itself.

Sadly, that is the best I can do.  If you really want a solution, maybe the
author of Outlook...or perhaps even Bill Gates would be willing help
(right).

Dennis Duval





relay-ctrl does not work

2000-11-08 Thread Oliver Lehmann

Hi, i try to use relay-ctrl with my qmail but it does not work:

Trying 192.168.168.100...
Connected to ernie.sesamestreet.net.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user olivleh1
+OK 
pass *
Error: relay-ctrl-allow cannot be run as root-ERR authorization failed
Connection closed by foreign host.
olivleh1@sina

here are my start scripts an my defines.h from relay-ctrl:


%cat defines.h 
#ifndef CONFIGDIR
#define CONFIGDIR "/usr/local/etc/relay-ctrl"
#endif

#ifndef AGE_CMD
#define AGE_CMD "/usr/local/sbin/relay-ctrl-age"
#endif

#ifndef AGE_MINUTES
#define AGE_MINUTES 10
#endif

#ifndef BUFSIZE
#define BUFSIZE 4096
#endif

#ifndef RULESDIR
#define RULESDIR "/service/smtpd/"
#endif

#ifndef SPOOLDIR
#define SPOOLDIR "/var/qmail/relay-spool"
#endif

#ifndef TCPRULES
#define TCPRULES "/usr/local/bin/tcprules"
#endif

#ifndef SMTPRULES
#define SMTPRULES "tcp.smtp"
#endif

#ifndef SMTPCDB
#define SMTPCDB "tcp.smtp.cdb"
#endif

#ifndef SMTPFIXUP
#define SMTPFIXUP "smtp.fixup"
#endif
%grep "prefix" Makefile
prefix  = /usr/local
sbindir = $(prefix)/sbin
mandir  = $(prefix)/man
%

nun nochmal meien beiden run scripte:

%cd /service/pop3d/
%cat run
#!/bin/sh
exec 21 \
envdir ./env \
sh -c 'exec '\
'softlimit ${DATALIMIT+"-d$DATALIMIT"} '\
'/usr/local/bin/tcpserver '\
'-vDRHl0 '\
'${BACKLOG+"-b$BACKLOG"} '\
'${CONCURRENCY+"-c$CONCURRENCY"} '\
'-xtcp.cdb '\
'-- "${IP-0}" "${PORT-110}" '\
'/var/qmail/bin/qmail-popup `sed 1q /var/qmail/control/me` '\
'/usr/local/sbin/relay-ctrl-allow \'
'/usr/local/bin/checkpassword '\
'/var/qmail/bin/qmail-pop3d Maildir'
%cd /service/smtpd/
%cat run
#!/bin/sh
exec 21 \
/usr/local/bin/envdir /var/qmail/service/smtpd/env \
sh -c 'exec '\
'/usr/local/bin/envuidgid qmaild '\
'/usr/local/bin/softlimit ${DATALIMIT+"-d$DATALIMIT"} '\
'/usr/local/bin/tcpserver '\
'-vUDRHl0 '\
'${BACKLOG+"-b$BACKLOG"} '\
'${CONCURRENCY+"-c$CONCURRENCY"} '\
'-xtcp.cdb '\
'-- "${IP-0}" "${PORT-25}" '\
'/var/qmail/bin/qmail-smtpd'
%

i had installed relay-ctrl with 'make root-install'

%ls -alois /usr/local/sbin/relay*
326372  9 -rwxr-xr-x  1 root  wheel  - 8839 Nov  8 15:15
/usr/local/sbin/relay-ctrl-age
326256  7 -rwsr-xr-x  1 root  wheel  - 6765 Nov  8 15:15
/usr/local/sbin/relay-ctrl-allow
%


Olli


-- 
Having trouble in Windows? Reboot!
Having trouble in Unix? Be root!



Dots in .qmail-names

2000-11-08 Thread Gary Richardson

Hey,

I am trying to use a dot-qmail file called .qmail-clayton.cottingham and it
seems that qmail can't handle files with dots in them. It works fine without
the dot. Is this true? How can I make it work?

thanks.

-- 
-
T H E   I N T E R N E T   M A R K E T I N G   C E N T E R
-
Gary Richardson[EMAIL PROTECTED]
System Administrator
-
-





Re: Dots in .qmail-names

2000-11-08 Thread Charles Cazabon

Gary Richardson [EMAIL PROTECTED] wrote:
 
 I am trying to use a dot-qmail file called .qmail-clayton.cottingham and it
 seems that qmail can't handle files with dots in them. It works fine without
 the dot. Is this true?

It's documented, so it must be true.

 How can I make it work?

Read any of the numerous qmail FAQs, or the man page for dot-qmail.  Pay
particular attention to the "Extension Addresses" section.

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: Dots in .qmail-names

2000-11-08 Thread Martin A. Brown

Gary,

Try replacing the . with a : and deliver again.

-Martin


$ man dot-qmail

   WARNING: For security, qmail-local replaces  any  dots  in
   ext  with  colons  before checking .qmail-ext.  For conve-
   nience, qmail-local converts any uppercase letters in  ext
   to lowercase.

On 8 Nov 2000, Gary Richardson wrote:

 : Hey,
 : 
 : I am trying to use a dot-qmail file called .qmail-clayton.cottingham and it
 : seems that qmail can't handle files with dots in them. It works fine without
 : the dot. Is this true? How can I make it work?
 : 
 : thanks.
 : 
 : 

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]




Re: Outlook Express

2000-11-08 Thread Paul Farber

Hm this is a lot of effort to make excuses for a shabby product.
Empherical data would suggest that my Eudora MUA performs MUCH better
over WAN/Dial up that OE ever did/will.

What do you mean 'interact' with qmail?  The commands are quite clearly
defined as are the must's and should's of the protocol.  Sure, qmail is a
fundementalist MTA in its coding... but you either follow the standard or
you don't.  MS products don't, they don't interoperate wll with ANYTHING
(even exchange servers).

If I get 10 phone calls for support, 9 will be Outlook somehow boggeling a
message or not conencting properly.  I HIGHLY doubt the 'dirty connection'
issue as TCP and modems et al all have error correction built in and
seeing that rebooting is the 'only' way to correct it, it clearly points
to an end user/software issue (as 100 other people are getting the mail
FINE off the same PRI/RAS/LAN/SERVER.  

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

On Wed, 8 Nov 2000, Dennis Duval wrote:

  Hi everyone. I use the pop daemon from qmail (qmail-pop3d) and the
  Outlook Express program is making me crazy. I looked for a solution in the
  archives, but i didn't find it.  My problem is:
 
  My clients use Microshit Outlook Express and i'm having a lot of error
  messages from qmail pop server:
 
  Your server has unexpectedly terminated the connection. Possible causes
  for this include server problems, network problems, or a long period of
  inactivity. Account: 'infomoney', Server: 'mail.infomoney.com.br',
  Protocol: POP3,
  Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F
 
 I don't think you will ever find the solution to this problem on this list.
 Unfortunately, the attitude of many of the people on this list is that if it
 concerns a Microsoft product, even if it concerns the way it interacts with
 qmail, it is a non-problem.  And basically they are right.  The
 closed-source nature of Microsoft products makes it impossible for anyone
 but Microsoft to correct or even identify the problem.
 
 I do resent the people that say the solution is to use a better mail client.
 That is like saying the cure to sunburn is to not have the sun come up.
 People overwhelmingly choose to use MS products for various reasons, and
 these people are not necessarily losers because of it.  Not everyone has the
 capability or desire to be a Unix guru.  And not every shop has to deal with
 MS products, and I envy those.  But ISPs and many other installations HAVE
 to deal with them if you want to keep customers.   Not a choice.  Its a fact
 of life, just like the sun coming up.
 
 All this ranting aside, there is a serious problem with the way Outlook and
 Outlook Express interface with qmail, but I don't think it is exclusive to
 qmail.  One of the reasons I migrated to qmail about 2 years ago was because
 I was experiencing the same problems that you are seeing with a but the
 product was called SLMail (for NT).  Migrating to qmail did not solve the
 problem, but it sure made it easier to go in and find the offending item and
 delete it when using the maildir configuration.  SLMail used a mailbox-type
 config where mail items are combined in one big text file.  Now when the
 customer or client calls and says Outlook is hanging on item 4 or 10, I can
 easily go into their maildir and delete the offending item instead of
 searching through a big text file.  In addition, I set up Sam's sqwebmail
 web-based interface which allows customers to go to the server and delete
 the offending item themselves.  This works well for those having recurring
 problems.
 
 I have gathered a little bit of knowledge in dealing with this problem:
 
 1.  Sometimes the problem is just caused by a poor connection.
 Disconnecting and reconnecting may allow you to retrieve it.
 2.  Sometimes there are control characters imbedded in email that makes
 Outlook barf.  If you identify this control char and delete it, Outlook will
 retrieve the mail successfully.  I think this causes most of the problems,
 but it is not usually apparent where the control character.  In some cases
 the control character looks like an 'at' sign with an underscore below it.
 3.  It seems to hang more often on big items or items with attachments.
 This may just be due to the fact that the connection is open longer and has
 more work to do.
 4.  Deleting the offending items always cures the problem if it is a
 corrupted file or one containing a 'bad' control character.  The client can
 retrieve the rest of the mail after the offending file is gone, without
 re-dialing.  If it is a connection problem, they may still not be able to
 retrieve the rest of the mail after the offending item is gone.  In that
 case they should try to reconnect, and troubleshooting should focus on the
 connection itself.
 
 Sadly, that is the best I can do.  If you really want a solution, maybe the
 author of Outlook...or perhaps even Bill Gates would be willing help
 

Re: Dots in .qmail-names

2000-11-08 Thread Eric Garff

I hate to rant, and I know that the it says to read the FAQ and documentation,
etc., before posting, but wouldn't it have been easier than writing the complete
response to just give him the answer, and even if you didn't know the answer, not
comment at all and let someone who does, give the answer.

It's so much easier than the "treat someone like an idiot and tell them to
RTFM" approach.  Someone asks in ignorance and you smack him down.  The fact of
the matter is that there is SO much information available to the qmail community
and it's not well organized, I'm surprised we don't see more of these questions.
It's a known flaw to open source (ok, so this is flame bait, but it's true, and I
support open source).

Sorry, just my $0.02

Charles Cazabon wrote:

 Gary Richardson [EMAIL PROTECTED] wrote:
 
  I am trying to use a dot-qmail file called .qmail-clayton.cottingham and it
  seems that qmail can't handle files with dots in them. It works fine without
  the dot. Is this true?

 It's documented, so it must be true.

  How can I make it work?

 Read any of the numerous qmail FAQs, or the man page for dot-qmail.  Pay
 particular attention to the "Extension Addresses" section.

 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.
 ---

--
Eric Garff
MyComputer.com System Admin
Our Tools.  Your Site.

Just remember, if the world didn't suck, we'd all fall off.
--





VERP and Lotus

2000-11-08 Thread Ben Beuchler

Good afternoon, y'all...

Has anyone exprienced problems with VERP and recipients behind Lotus
Domino?  I've been having some problems with a few of my ezmlm
recipients that are using Lotus Domino as their mail server.  It appears
that Domino flagrantly flies in the face of RFC822 by rejecting any
"mail from:blah" containing an equals sign.  Ex:

[insyte@blah insyte]$ telnet scooby.helpsystems.com 25
Trying 209.32.71.125...
Connected to scooby.helpsystems.com.
Escape character is '^]'.
220 SMTP service ready
helo doofus
250 Requested mail action okay, completed
mail from:[EMAIL PROTECTED]
553 Requested action not taken: mailbox name not allowed
quit
221 SMTP server closing transmission channel
Connection closed by foreign host.
[insyte@blah insyte]$ 

Anyone else seen this?  Does anyone have any spiffy ideas for working
around this?  Perhaps some way to rewrite the headers to a few specific
users to eliminate the VERP?

I tried posting this to the ezmlm list, but I haven't seen any traffic
there for weeks...

Thanks,
Ben

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



How maybe times qmail will retry send the bounce email?

2000-11-08 Thread Eric Wang

Hi guys,

I don't very understand the qmail delivery procedure.
I got couple questions.

If a email bounced back, how offen the qmail will try to send it again?
try how many times?

and how long the qmail will give up?

If qmail give up, how it process the bounced email? delete it from queue
and forward it to Mail-daemon@localhost?

Can we control  the retry interval  and the longest waiting time?

Is it possible qmail forget a mail in the queue? if so, how can we dump
it out?

my qmail yesterday  sunddenly sent a 2-week-old local domain email to a
co-worker.

this really bother some people,

Thanks for help.








Re: Dots in .qmail-names

2000-11-08 Thread Peter Green

also sprach egarff:
 I hate to rant,

Then don't. (Remainder snipped.)

The point is that by pointing the original poster to the documentation, he
might actually do *his* *own* *homework* (horrors!). In the process, he
might actually learn something more than what he was asking.

For instance, what if, after his original question, he asked, ``What are the
valid formats for lines in a .qmail file?'' Or what if he didn't ask but was
curious? Wow, that appears in the dot-qmail manpage as well.

Further, Mr. Cazabon did NOT treat anyone ``like an idiot''. He *did* say,
basically, RTFM even while pointing out the exact FM. What exactly would you
have him do, reproduce the documentation for the mailing list everytime the
question comes up? That's why there is documentation at all!

One last interesting comment: In two years of running qmail on about six or
seven different machines in different environments, I have *never* (that I
can remember) found the documentation lacking. Chaotic or not, the qmail
home page at http://www.qmail.org/ is as comprehensive as anything I've
ever seen.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"It's easier to make up sayings people like to hear than sayings they
like to heed."
--- Larry Wall




Re: open-smtp woes

2000-11-08 Thread Robin S. Socha

* Ricardo Cerqueira [EMAIL PROTECTED] writes:

 Open 2 backticks, close with 3 quotes, 2 escaped double-quotes and yet
 another double-quote?

Sure ;-) It's all Mirko's fault, anyway:

(root@kens):(/opt1/Qmail)$ cat open-smtp/pop3-record-alternative 
From: Mirko Zeibig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Russ Nelson's open-smtp patch
Date: Thu, 16 Sep 1999 03:12:00 +0200

[...]
Here is a slightly improved script for /usr/local/bin/pop3-record:
#!/bin/sh
TCPDIR=/etc/tcprules.d
SMTPRULES=$TCPDIR/qmail-smtpd
PATH=$PATH:/usr/local/bin/
# First see if $TCPREMOTEIP is handled by existing rules
tcprulescheck $TCPDIR/qmail-smtpd.cdb ``$TCPREMOTEIP'' | \
grep RELAYCLIENT  /dev/null  exit 0
echo ``$TCPREMOTEIP''':allow,RELAYCLIENT='  $TCPDIR/smtp.filter.newer
cat $TCPDIR/smtp.filter.*  $SMTPRULES
tcprules $SMTPRULES.cdb $SMTPRULES.tmp  $SMTPRULES

In /etc/tcrules.d you may include a file called smtp.filter.zintern for internal
networks you always trust (chose .zintern to make sure this is read last).

Regards
Mirko

*sigh* Sorry for the interruption... On with the show. And: THANKS to
all three of you!
-- 
Robin S. Socha http://socha.net/



qmail on Mac OSX?

2000-11-08 Thread Matt Harrington



Has anyone successfully installed qmail on Mac OSX public beta?  i get
this far:

auto-str.c: In function `main':
auto-str.c:15: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a 
/usr/bin/ld: can't use -s with input files containg indirect symbols
(output file must contain at least global symbols, for maximum stripping
use -x)
make: *** [auto-str] Error 1

I can't say that I know what an indirect symbol is.  Any ideas? 

I hear that some people had success with OSX-Server, but I don't see why
OSX (non-server) would be any different with respect to a program like
qmail.

---Matt




Re: Dots in .qmail-names

2000-11-08 Thread Eric Garff

This will be my last email on this, since "I hate to rant", but not liking to,
and not refusing to are two different things.

Peter Green wrote:

 The point is that by pointing the original poster to the documentation, he
 might actually do *his* *own* *homework* (horrors!). In the process, he
 might actually learn something more than what he was asking.

 For instance, what if, after his original question, he asked, ``What are the
 valid formats for lines in a .qmail file?'' Or what if he didn't ask but was
 curious? Wow, that appears in the dot-qmail manpage as well.

I give on this portion.  Though, perhaps it would have been better to say "here
is the answer, although if you look at the man page for blah you may find
other useful information as well".



 Further, Mr. Cazabon did NOT treat anyone ``like an idiot''. He *did* say,
 basically, RTFM even while pointing out the exact FM. What exactly would you
 have him do, reproduce the documentation for the mailing list everytime the
 question comes up? That's why there is documentation at all!

I feel that he did treat him like an idiot with the blatant statement "It's
documented, so it must be true.", it's a statement of "Haha, a opportunity to
be snide".



 One last interesting comment: In two years of running qmail on about six or
 seven different machines in different environments, I have *never* (that I
 can remember) found the documentation lacking. Chaotic or not, the qmail
 home page at http://www.qmail.org/ is as comprehensive as anything I've
 ever seen.

Re-reading my original email to verify, I discovered that I had said the same
exact thing, that being "...The fact of the matter is that there is SO much
information available to the qmail community and it's not well organized...".
I guess it was my hidden call for some organization of documentation.

snip

--
Eric Garff
MyComputer.com System Admin
Our Tools.  Your Site.

Just remember, if the world didn't suck, we'd all fall off.
--





Need to delete bulk mail from the Q

2000-11-08 Thread Doug Schmidt

One of our developers developed a web based form for email.
He did not put in anything for handling mail with blank TO/FROM fields,
so...
Now I have ~3500 messages sitting in the queue like:

8 Nov 2000 22:36:25 GMT  #581646  2160   
remote  [EMAIL PROTECTED]

server.domain.com does not listen on port 25, so qmail complains about not
being able to establish an
SMTP connection.

My question is, can I delete all these messages from the queue in one shot?
and if so, how would I go about 
doing so.

thanks,
~Doug



can send but not receive??? dns mx records???

2000-11-08 Thread Terry Thomas

ok i'm lost!!!  i've installed qmail twice now, following lwq, but i am
a total newbie to linux :-(   i'm running redhat 6.2, i have a static ip
of 12.7.223.212 which my isp is pointing 4 domains to (they are my
primary  secondary name servers, but they won't host ). I can send
using qmail-inject but when i try to send to [EMAIL PROTECTED] from
another machine it bounces back to me???  i realize this is a dns
problem but i've been trying for 2 weeks and i've run out of ideas...  i
tried setting resolv.conf to
nameserver 127.0.0.1
nameserver blkft.com
but when the machine rebooted because of a power failure it went back to
my isp address???
can someone point me to any good resources for dumbies???  or give me
any advice???
Thanks!!!
Terry Thomas
(sorry no signature!!!)




Re: Dots in .qmail-names

2000-11-08 Thread Russell Nelson

Gary Richardson writes:
  Hey,
  
  I am trying to use a dot-qmail file called .qmail-clayton.cottingham and it
  seems that qmail can't handle files with dots in them. It works fine without
  the dot. Is this true? How can I make it work?

If you run
http://www.qmail.org/qmail-lint-0.55
it will answer your question.  In fact, run that program whenever
your qmail installation is doing something strange.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | This space for rent
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



RFC822 compliant?

2000-11-08 Thread briank

qmail-inject currently does not allow addresses of the following format:

hostmaster@opennic

If defaultdomain is left empty, then "defaultdomain" is appended to the
address.  If QMAILDEFAULTDOMAIN is set to "", then a "." is appended to
the address:

hostmaster@opennic.

The RFC is pretty clear that legal domain names have the format

domain = subdomain*(.subdomain)

Does anybody know whether this is an intended feature or a bug?  Based
on my research, it appears this particular "feature" isn't compliant
with the RFC.  

There is an entire world of alternative TLDs out there, of which opennic
is one (see http://www.opennic.unrated.net for more details).  If this
is, in fact, a bug, I've got a patch which will prevent qmail-inject
from appending a "." when QMAILDEFAULTDOMAIN is set to "".  But I wanted
to make sure this was truly a problem in need of a fix.

  --Brian

-- 
http://www.nerdperfect.com
Breakfast of champs.



Re: Oversize DNS Patch

2000-11-08 Thread Russell Nelson

Mark Lo writes:
  Hi,
  
  Do I still need the Oversize DNS Patch?

No.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | This space for rent
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



VERP and Lotus

2000-11-08 Thread Ben Beuchler

Good afternoon, y'all...

Has anyone exprienced problems with VERP and recipients behind Lotus
Domino?  I've been having some problems with a few of my ezmlm
recipients that are using Lotus Domino as their mail server.  It appears
that Domino flagrantly flies in the face of RFC822 by rejecting any
"mail from:blah" containing an equals sign.  Ex:

[insyte@blah insyte]$ telnet scooby.helpsystems.com 25
Trying 209.32.71.125...
Connected to scooby.helpsystems.com.
Escape character is '^]'.
220 SMTP service ready
helo doofus
250 Requested mail action okay, completed
mail from:[EMAIL PROTECTED]
553 Requested action not taken: mailbox name not allowed
quit
221 SMTP server closing transmission channel
Connection closed by foreign host.
[insyte@blah insyte]$

Anyone else seen this?  Does anyone have any spiffy ideas for working
around this?  Perhaps some way to rewrite the headers to a few specific
users to eliminate the VERP?

I tried posting this to the ezmlm list, but I haven't seen any traffic
there for weeks...

Thanks,
Ben

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



Re: VERP and Lotus

2000-11-08 Thread Brett Randall

On Wed, 8 Nov 2000, [EMAIL PROTECTED] wrote:

 [insyte@blah insyte]$ telnet scooby.helpsystems.com 25
 Trying 209.32.71.125...
 Connected to scooby.helpsystems.com.
 Escape character is '^]'.
 220 SMTP service ready
 helo doofus
 250 Requested mail action okay, completed
 mail from:[EMAIL PROTECTED]
 553 Requested action not taken: mailbox name not allowed
 quit
 221 SMTP server closing transmission channel
 Connection closed by foreign host.
 [insyte@blah insyte]$

220 notes.crazy.com ESMTP Service (Lotus Domino Release 5.0.4) ready
at Thu, 9 Nov 2000 15:12:27 +1100
helo doofus
250 notes.crazy.com Hello doofus ([10.0.0.1]), pleased to meet you
mail from:[EMAIL PROTECTED]
250 [EMAIL PROTECTED] Sender OK

No probs here.

B
-- 
FATAL SYSTEM ERROR: Press F13 to continue... 



Re: Need to delete bulk mail from the Q

2000-11-08 Thread Dian Pamilih

 
 My question is, can I delete all these messages from the queue in one shot?
 and if so, how would I go about
 doing so.

get this utility: http://www.redwoodsoft.com/~dru/programs/mailRemove.py
it's very handy to remove some unwanted queue.

regards,
pampie

-- 
Dian Pamilih [EMAIL PROTECTED]   
Network Engineer |P.T. Dyviacom Intrabumi(DNet)|"A winner isn't a man 
Batavia Tower, 6th floor|+62 21 5727218|who never fail, but a
Jl. K.H. Mas Mansyur kav 126|Jakarta, Indonesia|man who never give up"
 S/MIME Cryptographic Signature


error 451

2000-11-08 Thread Md. Sifat Ullah Patwary

Hi all!!
While I'm trying to send mail to my qmail server I
received an error saying "451 unable to exec qq
(#4.3.0) (secure SSL)".

What's the solution


Sifat


__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/



Re: qmail on Mac OSX?

2000-11-08 Thread Jörgen Persson

On Wed, Nov 08, 2000 at 02:31:04PM -0800, Matt Harrington wrote:
 Has anyone successfully installed qmail on Mac OSX public beta?  i get
 this far:
 
 auto-str.c: In function `main':
 auto-str.c:15: warning: return type of `main' is not `int'
 ./load auto-str substdio.a error.a str.a 
 /usr/bin/ld: can't use -s with input files containg indirect symbols
 (output file must contain at least global symbols, for maximum stripping
 use -x)
 make: *** [auto-str] Error 1
 
 I can't say that I know what an indirect symbol is.  Any ideas? 
 
 I hear that some people had success with OSX-Server, but I don't see why
 OSX (non-server) would be any different with respect to a program like
 qmail.

I've managed to compile qmail under MacOSX-server and from what I
remember I had some similar problems. I don't know it all by
heart since it was about 18 months ago :) but I think I still
have some notes about it. I'll mail it to the list later on
today.

-- 
Jörgen Persson



Re: error 451

2000-11-08 Thread Ruprecht Helms

At 21:13 08.11.00 -0800, Md. Sifat Ullah Patwary wrote:
Hi all!!
While I'm trying to send mail to my qmail server I
received an error saying "451 unable to exec qq
(#4.3.0) (secure SSL)".
 ^
Is is possible to combine qmail with ssl?
If it is so I will know of a new feature.

Regards,
Ruprecht


---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: Deliveryproblem via smtp

2000-11-08 Thread Ruprecht Helms

Hi,

the posted problem is no more actual. I have send a testmail from my 
private provider and I have
received it on the destination mailserver.

Regards,
Ruprecht





---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79

---
INTERNOLIX   Standards for Ebusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: No maildir log file??

2000-11-08 Thread Brett Randall

On Wed, 8 Nov 2000, [EMAIL PROTECTED] wrote:

 What you are telling, is completely right..  But, I also written
 that I tried to change the ownershop of the files with chown...

Sorry, must have missed it.

 So, I truncated the file to 0 bytes.. Then I did chown owner.group
 of the file..  This didn't do the job.. I understand that the root
 user did the chown bit, but how can Qmail know that this was done..?

Can you:
1. ls -la ~/
2. ls -la ~/..
3. cat ~/.qmail

 About, the log, you are right about this, but what is the best way
 to clear the log file?

Use multilog, then it 'clears' itself automatically when it reaches a
set size. If you want instructions on how to use it, see Life with
Qmail. (I love that line :)
-- 
"Goto, n.: A programming tool that exists to allow structured programmers
to complain about unstructured programmers."

- Ray Simard