LWQ and POP3

2001-03-22 Thread Neafevoc K. Marindale

Hello :)

I just setup qmail using Life with qmail, and everything seems to be 
working just fine.  But I wanted to use POP3 with it, and somehow trying to 
add pop3d to tcpserver just isn't working.

I'm still sort of new to he *nix world.  Btw, I'm using FreeBSD 4.2, if it 
matters.  Anyway, this is what script looks like in 
/var/qmail/supervise/qmail-smtpd/run

#!/bin/sh
exec /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
 /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 
2>&1

---
And yeah, I did put my fully qualified domain name in FQDN :)
Do I need to merge these two together?

Be gentle ;)
--
Neafevoc 




Fw: About dot qmail program!

2001-03-22 Thread shenjuefei

can u send me your program? I think u have mistake in useing stream IO or read 
function .
> 
> - Original Message - 
> From: "Silver Dirk" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 22, 2001 12:04 PM
> Subject: About dot qmail program!
> 
> 
> > Hello all,
> > 
> > I write a program use C/C++ language, and put its path into a dot qmail file 
>like this:
> > 
> > |/path/to/my/program/getmailcontent
> > 
> > But I get nothing but headers. So I need urs help how to get the whole mail 
>content from
> > this environment.
> > 
> > Thanks a lot.
> > 
> > Dirk.ye
> > 2001/3/23
> > 
> > 
> 



Re: help for qmail+vpopmail+mysql

2001-03-22 Thread shenjuefei



the database user defined in vpopmail must have the right to 
create new db and table in mysql.
add this user in mysql.
 

  - Original Message - 
  From: 
  Chu Zhaowu 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, March 22, 2001 4:06 PM
  Subject: help for qmail+vpopmail+mysql
  
  hi, sir,
      I have installed qmail+vpopmail+mysql, 
  and all thread have been startup. when I add domain and username into some 
  domain, the directory of the domains and users have been created, but I can't 
  find out the default database and the default table(vpopmail), and can't find 
  the username in mysql. why?
      pls help me, thank you!
   
  chu
  2001/3/22


are there tools to test performance of qmail?

2001-03-22 Thread shenjuefei



 


Re: About dot qmail program!

2001-03-22 Thread shenjuefei

can this program work?



char buffer[1024];

FILE *pFile;
pFile = popen("/var/qmail/bin/forward [EMAIL PROTECTED]","w");
if (!pFile) err_sys("error open pipe file");

while(fgets(stdin,buffer,sizeof(buffer)-1)) 
fputs(buffer,pFile);

if (pclose(pFile)) err_sys("error close pipe");
exit(0);
___

- Original Message - 
From: "Silver Dirk" <[EMAIL PROTECTED]>
To: "shenjuefei" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 4:44 PM
Subject: Re: About dot qmail program!


> ÈçÏ£º
> 
> 
> 
> 
> #define BUFFSIZE 4096
> 
>   char buf[BUFFSIZE];
>   if ((pFile = popen("/var/qmail/bin/forward [EMAIL PROTECTED]", "w")) ==
> NULL)
> fprintf(stdout, "error open pipe file\n");
> 
>   bytes = read(0, buf, BUFFSIZE);
>   while (bytes > 0)
>   {
> if (write(pFile, buf, bytes) != bytes)
>   sys_err(ERROR_WRITE);
> bytes = read(0, buf, sizeof(buf));
>   }
> 
>   if (pclose(pFile) == -1)
> fprintf(stdout, "error close pipe file\n");
> 
> 
> 
> 
> - Original Message - 
> From: "shenjuefei" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 22, 2001 4:35 PM
> Subject: Fw: About dot qmail program!
> 
> 
> > can u send me your program? I think u have mistake in useing stream IO or read 
>function .
> > > 
> > > - Original Message - 
> > > From: "Silver Dirk" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 22, 2001 12:04 PM
> > > Subject: About dot qmail program!
> > > 
> > > 
> > > > Hello all,
> > > > 
> > > > I write a program use C/C++ language, and put its path into a dot qmail 
>file like this:
> > > > 
> > > > |/path/to/my/program/getmailcontent
> > > > 
> > > > But I get nothing but headers. So I need urs help how to get the whole 
>mail content from
> > > > this environment.
> > > > 
> > > > Thanks a lot.
> > > > 
> > > > Dirk.ye
> > > > 2001/3/23
> > > > 
> > > > 
> > > 
> > 
> 



can procmail use with vpopmail?

2001-03-22 Thread shenjuefei



 


vpopmail : virtual user/domain adressing problem

2001-03-22 Thread jcarreiro



hi all !
i'm using vpopmail and qmailadmin together 
with qmail.
all daemons are supervised and 
multilogged.
 
i configured a local domain (e.g myrealdomain.com) 
who works just fine, 
and a virtual domain 
(e.g dummy.org) with several virtual users.
 
ALL virtual users for dummy.org CANNOT 
receive mail but they CAN send.
 
MX records are ok.
/var/qmail/control/locals are ok.
 
got the following error when sended a message to 
[username]@dummy.org :
 
[EMAIL PROTECTED]:Sorry, no mailbox here by that name. 
(#5.1.1)
 
i was 
thinking there's a problem with .qmail files , but i don't know where 
:))

any help will be appreciated.
 
José.
 
 
 
 
 


filtering with perl

2001-03-22 Thread Todd Finney

I've been thrashing at this for a couple of hours, and I'm starting to 
wonder if I'm even on the right track.

The short question:
I'd like to strip a few headers from messages sent to a particular 
address, for the purpose of setting up a anonymous remailer for a 
mailing list.  I have a small perl script that I think should do this, 
but it isn't working.   Is this possible without qmail-filter?  It 
seems like it should be, but I'm starting to doubt it.


The longer question:
I have set up the appropriate .qmail file, which points to a file 
inside DIR called anonymizer.  Inside that file is:

|/usr/local/bin/ezmlm/anonymizer.pl
|/usr/local/bin/ezmlm/ezmlm-send '/home/list/test'

anonymizer.pl, in its barest form, is this:

#!/usr/bin/perl
my $from = 'From: [EMAIL PROTECTED]';
my $list = 'To: [EMAIL PROTECTED]';
while (<>) {
 s/From:\s.+$/$from/o;
 s/To:\s.+$/$list/o;
}
exit 0;

I have confirmed that the messages are actually hitting the script by 
changing the exit code to 100 and catching the bounce.

The script works as expected from the command line:

[alias@sonata alias]$ /usr/local/bin/ezmlm/anonymizer.pl
here
here
From: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

However, messages sent to that test-anonymizer@ address come through 
with neither header altered.

Can someone put me on the right track?

thanks,
Todd












SV: filtering with perl

2001-03-22 Thread Pål Fr. Johansen

UNSUBSCRIBE

-Pa°L


-Opprinnelig melding-
Fra: Todd Finney [mailto:[EMAIL PROTECTED]]
Sendt: 22. mars 2001 11:22
Til: [EMAIL PROTECTED]
Emne: filtering with perl


I've been thrashing at this for a couple of hours, and I'm starting to 
wonder if I'm even on the right track.

The short question:
I'd like to strip a few headers from messages sent to a particular 
address, for the purpose of setting up a anonymous remailer for a 
mailing list.  I have a small perl script that I think should do this, 
but it isn't working.   Is this possible without qmail-filter?  It 
seems like it should be, but I'm starting to doubt it.


The longer question:
I have set up the appropriate .qmail file, which points to a file 
inside DIR called anonymizer.  Inside that file is:

|/usr/local/bin/ezmlm/anonymizer.pl
|/usr/local/bin/ezmlm/ezmlm-send '/home/list/test'

anonymizer.pl, in its barest form, is this:

#!/usr/bin/perl
my $from = 'From: [EMAIL PROTECTED]';
my $list = 'To: [EMAIL PROTECTED]';
while (<>) {
 s/From:\s.+$/$from/o;
 s/To:\s.+$/$list/o;
}
exit 0;

I have confirmed that the messages are actually hitting the script by 
changing the exit code to 100 and catching the bounce.

The script works as expected from the command line:

[alias@sonata alias]$ /usr/local/bin/ezmlm/anonymizer.pl
here
here
From: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

However, messages sent to that test-anonymizer@ address come through 
with neither header altered.

Can someone put me on the right track?

thanks,
Todd











Re: filtering with perl

2001-03-22 Thread Peter van Dijk

On Thu, Mar 22, 2001 at 05:21:52AM -0500, Todd Finney wrote:
[snip]
> I have confirmed that the messages are actually hitting the script by 
> changing the exit code to 100 and catching the bounce.
> 
> The script works as expected from the command line:
> 
> [alias@sonata alias]$ /usr/local/bin/ezmlm/anonymizer.pl
> here
> here
> From: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]

qmail doesn't read your output to reinject it. You'll have to reinsert
the message to go to a second address that does the second part of
your .qmail

Greetz, Peter.



Re: filtering with perl

2001-03-22 Thread Kirill Miazine

You first submit a message to the perl prog, it does its stuff and happily exits 
without doing something with the content
What if you open a pipe from the program to /usr/local/bin/ezmlm/ezmlm-send 
'/home/list/test'?

something like

#!/usr/bin/perl
my $from = 'From: [EMAIL PROTECTED]';
my $list = 'To: [EMAIL PROTECTED]';
open PIPE, '|/usr/local/bin/ezmlm/ezmlm-send /home/list/test';
while (<>) {
s/From:\s.+$/$from/io;
s/To:\s.+$/$list/io;
print PIPE $_;
}
close PIPE;

On Thu, Mar 22, 2001 at 05:21:52AM -0500, Todd Finney wrote:
> I've been thrashing at this for a couple of hours, and I'm starting to 
> wonder if I'm even on the right track.
> 
> The short question:
> I'd like to strip a few headers from messages sent to a particular 
> address, for the purpose of setting up a anonymous remailer for a 
> mailing list.  I have a small perl script that I think should do this, 
> but it isn't working.   Is this possible without qmail-filter?  It 
> seems like it should be, but I'm starting to doubt it.

There's more than one way to do it :)

> 
> 
> The longer question:
> I have set up the appropriate .qmail file, which points to a file 
> inside DIR called anonymizer.  Inside that file is:
> 
> |/usr/local/bin/ezmlm/anonymizer.pl
> |/usr/local/bin/ezmlm/ezmlm-send '/home/list/test'
> 
> anonymizer.pl, in its barest form, is this:
> 
> #!/usr/bin/perl
> my $from = 'From: [EMAIL PROTECTED]';
> my $list = 'To: [EMAIL PROTECTED]';
> while (<>) {
>  s/From:\s.+$/$from/o;
>  s/To:\s.+$/$list/o;
> }
> exit 0;
> 
> I have confirmed that the messages are actually hitting the script by 
> changing the exit code to 100 and catching the bounce.
> 
> The script works as expected from the command line:
> 
> [alias@sonata alias]$ /usr/local/bin/ezmlm/anonymizer.pl
> here
> here
> From: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> However, messages sent to that test-anonymizer@ address come through 
> with neither header altered.
> 
> Can someone put me on the right track?
> 
> thanks,
> Todd
> 
> 
> 
> 
> 
> 
> 
> 
> 
-- 
Kirill



qmail Digest 22 Mar 2001 11:00:00 -0000 Issue 1311

2001-03-22 Thread qmail-digest-help


qmail Digest 22 Mar 2001 11:00:00 - Issue 1311

Topics (messages 59423 through 59503):

Re: no mailbox here(#5.1.1)
59423 by: Jörgen Persson
59426 by: Shirish Bhagwat
59428 by: Jörgen Persson

Re: delete msg in queue
59424 by: Jörgen Persson

forward problem
59425 by: Evgeni Dobrev
59443 by: Harald Hanche-Olsen

Re: no mailbox here(#5.1.1) - don't works!
59427 by: Massimo Quintini
59429 by: Jörgen Persson
59430 by: Massimo Quintini
59431 by: Johan Almqvist
59456 by: Kep Brown

Re: qmail large usuage
59432 by: Federico Edelman Anaya
59439 by: Peter van Dijk

question
59433 by: Ciprian Iftode
59435 by: Kirill Miazine

redundant mail servers
59434 by: Gopi Sundaram
59437 by: Mark Delany
59438 by: J.J. Gallardo
59440 by: Gopi Sundaram
59441 by: Peter van Dijk
59444 by: Mark Delany
59449 by: Gopi Sundaram
59450 by: Peter van Dijk
59451 by: Mark Delany
59452 by: Peter van Dijk
59453 by: Gopi Sundaram
59454 by: Peter van Dijk
59455 by: Peter van Dijk

Supervise logging - RH 6.2
59436 by: Iain Morrison
59486 by: Timothy Legant

Re: virus
59442 by: Harald Hanche-Olsen

Re: multiple checkpassword routines
59445 by: Peter Green
59446 by: Peter Green

First time Install
59447 by: Carl Jeptha

Re: qmail install troubles
59448 by: Dave Sill
59462 by: Nick Kocharhook

handling bounces
59457 by: Brett
59459 by: Mark Delany

Qmail + NAT
59458 by: MIS - Ben Murphy
59460 by: Laurence Brockman
59461 by: MIS - Ben Murphy

554 too many hops?
59463 by: Brad Dameron
59466 by: Andy Bradford
59479 by: Charles Cazabon

tcpserver rblsmtpd
59464 by: Brad Dameron
59487 by: Timothy Legant

disappearing messages
59465 by: Gopi Sundaram
59467 by: Kris Kelley
59468 by: schoon.amgt.com
59470 by: schoon.amgt.com
59473 by: Kris Kelley
59475 by: schoon.amgt.com
59483 by: Rodolfo Sampaio

heavy traffic on port 25
59469 by: Krzysztof Wychowalek
59471 by: Mark Delany
59472 by: Jack Thomas
59474 by: Hubbard, David
59477 by: Krzysztof Wychowalek
59478 by: Charles Cazabon

VERP problems
59476 by: Brett
59480 by: Charles Cazabon
59481 by: Brett

what pop3 daemon is better?
59482 by: keng heng
59484 by: Charles Cazabon

About dot qmail program!
59485 by: Silver Dirk
59494 by: shenjuefei
59497 by: shenjuefei

sending attachment mail via qmail
59488 by: Essy Ren
59489 by: Kep Brown

qmail-send dependent on log?
59490 by: Sumith
59492 by: Vincent Schonau

help for qmail+vpopmail+mysql
59491 by: Chu Zhaowu
59495 by: shenjuefei

LWQ and POP3
59493 by: Neafevoc K. Marindale

are there tools to test performance of qmail?
59496 by: shenjuefei

can procmail use with vpopmail?
59498 by: shenjuefei

vpopmail : virtual user/domain adressing problem
59499 by: jcarreiro

filtering with perl
59500 by: Todd Finney
59501 by: Pål Fr. Johansen
59502 by: Peter van Dijk
59503 by: Kirill Miazine

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]


--



On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
> 
> My QMAIL sends notification "Sorry, no mailbox here by that name.
> (#5.1.1)"  to the sender for any unknown user in my domain.
> 
> I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
[snip]

let me rephrase you
> I want these messages in a mailbox (e.g. postmaster)...how ???

Aaah... much better

  # echo postmaster > ~alias/.qmail-default

Jörgen




Hi, what if my .qmail-default already contains following line
=-=-=
| fastforward -d /etc/aliases.cdb
=-=-=

Can I still add it there?

- shirish

Jörgen Persson wrote:

> On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
> >
> > My QMAIL sends notification "Sorry, no mailbox here by that name.
> > (#5.1.1)"  to the sender for any unknown user in my domain.
> >
> > I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
> [snip]
>
> let me rephrase you
> > I want these messages in a mailbox (e.g. postmaster)...how ???
>
> Aaah... much better
>
>   # echo postmaster > ~alias/.qmail-default
>
> Jörgen





On Wed, Mar 21, 2001 at 05:21:57PM +0530, Shirish Bhagwat wrote:
> Hi, what if my .qmail-default already contains following line
> =-=-=
> | fastforward -d /

Re: filtering with perl

2001-03-22 Thread Todd Finney

Thanks, that appears to do the trick.  I tried doing that with 
qmail-inject, and it didn't work.

I surprised that I can't just modify the stream.  I thought that was 
the whole point of program delivery.   Doing it this way precludes 
checking the message with ezmlm-reject, but I suppose that's not too 
big a deal.

thanks again,
Todd


At 05:38 AM 3/22/01, Kirill Miazine wrote:
>You first submit a message to the perl prog, it does its stuff and 
>happily exits without doing something with the content
>What if you open a pipe from the program to 
>/usr/local/bin/ezmlm/ezmlm-send '/home/list/test'?
>
>something like
>
>#!/usr/bin/perl
>my $from = 'From: [EMAIL PROTECTED]';
>my $list = 'To: [EMAIL PROTECTED]';
>open PIPE, '|/usr/local/bin/ezmlm/ezmlm-send /home/list/test';
>while (<>) {
> s/From:\s.+$/$from/io;
> s/To:\s.+$/$list/io;
> print PIPE $_;
>}
>close PIPE;





newbie: qmail + vpopmail

2001-03-22 Thread - = k o l i s k o = -

Hi all!

I have now installed qmail and vpopmail from debian distr.

when i tried send a message to local user the message stored in
/var/spool/mail
directory. But when i tried get the message trought pop3 i got error that
$home/maildir
not exist...

how is possible set qmail to store messages to $home/maildir?
or how is possible to configure vpopmail to get messages from
/var/spool/mail?

Tx.

S pozdravem,
Michal Kolesar
+420 608 225025
[EMAIL PROTECTED]
http://www.egarden.cz
server of free unix services





Re: newbie: qmail + vpopmail

2001-03-22 Thread Robin S. Socha

* - = k o l i s k o = - <[EMAIL PROTECTED]> [010322 06:33]:
> I have now installed qmail and vpopmail from debian distr.

Packages suck. Why don't you install from source?

> when i tried send a message to local user the message stored in
> /var/spool/mail directory. But when i tried get the message trought
> pop3 i got error that $home/maildir not exist...

Read the manual you must. Understand problem you will.

> how is possible set qmail to store messages to $home/maildir?
> or how is possible to configure vpopmail to get messages from
> /var/spool/mail?

The latter is IMO not desirable. I've put up my config files on the web.
I'm running a setup as described in http://mail.socha.net/about/
https://mail.socha.net/cgi-bin/cvsweb/supervise/?cvsroot=CVSROOT

You are probably looking for 
https://mail.socha.net/cgi-bin/cvsweb/supervise/pop3/run?rev=1.1.1.1&content-type=text/x-cvsweb-markup&cvsroot=CVSROOT

vpopmail has its own mailinglist, BTW.



Re: qmail-send dependent on log?

2001-03-22 Thread Sumith

>
> >No deliveries were happening on our qmail server, since I changed the
> >qmail/log/run file installed from qmail rpms to that required by
"isoqlog"
> >(qmail-loganalyzer)
>
> > #!/bin/sh
> > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
!isoqlogappend ./main
>
> >Mails started coming in once I reverted back to the original log
file.
>
> >What went wrong, does qmail-send require proper log files to deliver the
> >mails.
>
> From http://cr.yp.to/daemontools/multilog.html>:
>
>Note that running processor may block any program feeding input to
>multilog.
>
> If isoqlogappend blocks; multilog blocks, which blocks qmail-send.
>

Where does that leave mewhat can I do to make isoqlog work

- Sumith




RH 6.2 - qmail logging

2001-03-22 Thread Iain Morrison

I would just like to thank you all for your help in getting qmail running on 
my server.

Thanks everyone.

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




sh ./run ? ermmmmm

2001-03-22 Thread Alan Lee

root 19125  0.5  0.3   828  204 ttyp3S00:26   0:00 supervise
qmail-send
root 19126  0.0  0.3   828  204 ttyp3S00:26   0:00 supervise log
root 19127  4.0  0.3   828  204 ttyp3S00:26   0:00 supervise
qmail-smtpd
root 19128  0.0  0.3   828  204 ttyp3S00:26   0:00 supervise log
qmaill   19129  0.5  0.3   836  204 ttyp3S00:26   0:00
/usr/local/bin/multilog t /var/log/qmail
qmails   19130  2.0  0.4   876  264 ttyp3S00:26   0:00 qmail-send
qmaill   19131  1.5  0.3   836  204 ttyp3S00:26   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
root 19136  0.0  0.3   836  232 ttyp3S00:26   0:00 qmail-lspawn
./Mailbox
qmailr   19137  0.5  0.3   836  232 ttyp3S00:26   0:00 qmail-rspawn
qmailq   19138  0.5  0.3   832  224 ttyp3S00:26   0:00 qmail-clean
root 19523  0.0  1.3  2376  836 ttyp3R00:26   0:00 ps aux
root 19531  0.0  0.7  1116  468 ttyp3S00:26   0:00 sh ./run
root 19532  0.0  0.7  1112  468 ttyp3R00:26   0:00 sh ./run


root 19125  0.0  0.3   828  204 ttyp3S00:26   0:00 supervise
qmail-send
root 19126  0.0  0.3   828  204 ttyp3S00:26   0:00 supervise log
root 19127  2.1  0.3   828  204 ttyp3S00:26   0:01 supervise
qmail-smtpd
root 19128  0.0  0.3   828  204 ttyp3S00:26   0:00 supervise log
qmaill   19129  0.0  0.3   836  204 ttyp3S00:26   0:00
/usr/local/bin/multilog t /var/log/qmail
qmails   19130  0.0  0.4   876  264 ttyp3S00:26   0:00 qmail-send
qmaill   19131  0.3  0.3   844  232 ttyp3S00:26   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
root 19136  0.0  0.3   836  232 ttyp3S00:26   0:00 qmail-lspawn
./Mailbox
qmailr   19137  0.0  0.3   836  232 ttyp3S00:26   0:00 qmail-rspawn
qmailq   19138  0.0  0.3   832  224 ttyp3S00:26   0:00 qmail-clean
root 29228  0.0  1.3  2376  836 ttyp3R00:27   0:00 ps aux
root 29236  0.0  0.7  1116  468 ttyp3S00:27   0:00 sh ./run
root 29237  0.0  0.7  1112  468 ttyp3R00:27   0:00 sh ./run


Notice the sh ./run ... and how many PID's its gone up in a matter of about
20 seconds.. This only happens when QMAIL is working... What
could be causeing this to happen? Qmail works... I can send/receive via
any domain its currently hosting?  What files you wana see of mine?

Regards




Re: heavy traffic on port 25

2001-03-22 Thread Paulo Jan

"Hubbard, David" wrote:
> 
> Check the logging from your tcpserver on port 25, if
> you see a lot of status 256's over and over, like one
> to ten per second, then it could be a broken Microsoft
> SMTP Service server trying to deliver mail to you.  MS's
> SMTP Service tries to send emails without the
> qmail-required carriage return line feed (\r\n) on the
> end of the lines so the connection is rejected with a
> 442 (number may be wrong) error, a code to tell the
> server to retry again later.  Sometimes these stupid
> servers will instead start retrying as often as they
> can make connections given the available bandwidth.  One
> of my qmail servers is on an OC3 and I was seeing about
> 10 connections per second from one of these machines
> which took up quite a bit of bandwidth.
> 
> Here's the MS article:
> 
> http://support.microsoft.com/support/kb/articles/Q224/9/83.ASP
> 
> Dave
> 

I agree that it's probably that; it already happened to me a couple of
times. The last time, I found out by doing a netstat during several days
when the incoming traffic was unusually high and finding out one SMTP
connection that didn't die and was always there, even when there wasn't
any other traffic. I connected to the port 25 of that host, and what did
I find?

"Microsoft SMTP MAIL ready blah blah blah..."




Paulo Jan.
DDnet.



Re: newbie: qmail + vpopmail

2001-03-22 Thread Wes Wannemacher

On Thu, Mar 22, 2001 at 06:40:14AM -0500, Robin S. Socha wrote:
> * - = k o l i s k o = - <[EMAIL PROTECTED]> [010322 06:33]:
> > I have now installed qmail and vpopmail from debian distr.
> 
> Packages suck. Why don't you install from source?

Debian packages don't suck. If you are on a Debian list you will
probably get flamed for installing from source, whereas on the qmail
list, you get flamed for not installing from source. Ahh, life is full
of Catch 22s.

> 
> > when i tried send a message to local user the message stored in
> > /var/spool/mail directory. But when i tried get the message trought
> > pop3 i got error that $home/maildir not exist...
> 
> Read the manual you must. Understand problem you will.
> 
> > how is possible set qmail to store messages to $home/maildir?
> > or how is possible to configure vpopmail to get messages from
> > /var/spool/mail?

The startup script that Debian uses defaults to this delivery method so
that you can easily install IMAP/POP servers, etc. You have to change
the startup script in /etc/init.d and make sure you 'maildirmake' for
all your users.

->Wes


-- 
~~~
Wesley Wannemacher
Instructor / Network Administrator
University of Northwestern Ohio
http://www.unoh.edu/
[EMAIL PROTECTED]
~~~

: The following (relative to AutoSplit 1.03) attempts to please everyone
: and perhaps pleases no one:

I think that's way cool.
 -- Larry Wall in <[EMAIL PROTECTED]>




Re: newbie: qmail + vpopmail

2001-03-22 Thread Robin S. Socha

* Wes Wannemacher <[EMAIL PROTECTED]> [010322 08:51]:
> On Thu, Mar 22, 2001 at 06:40:14AM -0500, Robin S. Socha wrote:
> > * - = k o l i s k o = - <[EMAIL PROTECTED]> [010322 06:33]:

> > > I have now installed qmail and vpopmail from debian distr.
> > Packages suck. Why don't you install from source?
> Debian packages don't suck. 

Packages suck. I'm running 5 different operating systems. And just one
set of supervise scripts. Go figure. It's nice to have binary packages
for certain things, but qmail is not one of them. YMMV.

> If you are on a Debian list you will probably get flamed for
> installing from source, whereas on the qmail list, you get flamed for
> not installing from source. Ahh, life is full of Catch 22s.

While Debian is one of the better Linux distributions, their packages
can be very questionable. This thread goes to underline DJB's position
stated in http://cr.yp.to/compatibility.html EoD.



Re: About dot qmail program!

2001-03-22 Thread Charles Cazabon

Silver Dirk <[EMAIL PROTECTED]> wrote:
> 
> I write a program use C/C++ language, and put its path into a dot qmail file
> like this:
> 
> |/path/to/my/program/getmailcontent
> 
> But I get nothing but headers. So I need urs help how to get the whole mail
> content from this environment.

Either the message that you received had no body, or your program is buggy.
qmail feeds the whole message to your program, headers plus body, all in
one go.  `man qmail-command` for more 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: LWQ and POP3

2001-03-22 Thread Charles Cazabon

Neafevoc K. Marindale <[EMAIL PROTECTED]> wrote:
> 
> I just setup qmail using Life with qmail, and everything seems to be 
> working just fine.  But I wanted to use POP3 with it, and somehow trying to 
> add pop3d to tcpserver just isn't working.

What "doesn't work"?  What error messages do you get?  What shows up in the
logs?

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: newbie: qmail + vpopmail

2001-03-22 Thread Adrian Ho

On Thu, 22 Mar 2001, Robin S. Socha wrote:

> Packages suck.

Short, sharp and entirely "motherhood" in nature.  I like it.  8-)

> I'm running 5 different operating systems. And just one set of
> supervise scripts. Go figure. It's nice to have binary packages for
> certain things, but qmail is not one of them. YMMV.

No package manager I know stops you from creating and installing a qmail
package that puts the stuff Where Dan Wants Them, and generally respects
http://cr.yp.to/compatibility.html.  Since that URL says nothing about
packages[*], and everything about Where Things Go, does this suck?

[*] For _that_, http://cr.yp.to/slashpackage.html.  Which doesn't condemn
packages like you did, but suggests a neater way to implement them.

-- 
Adrian Ho   [EMAIL PROTECTED]






vpopmail

2001-03-22 Thread Andrew Wafula

Hi,

I don't know if this is the right place for this question but I have seen
alot of questions on virtual domains so I guess it wont hurt to ask.

I have had only a single domain on my qmail machine so I was using system
accounts, which we want to keep. Now the guys high up have decided to add
another domain which is meant to be a virtual domain since it serves mail
for another office which connects thru the Internet.

I set up vpopmail and it is working since I managed to create the virtual
domain and some users. My question is how do I authenticate pop3 for both
the virtual domain and the system accounts on the same machine.

I am running qmail-pop3d under svscan and my script is:

exec tcpserver 0 110 /var/qmail/bin/qmail-popup my.domain.co.ke \
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

my.domain.co.ke is the domain which we were using system accounts.

Andrew





mail not forwarding

2001-03-22 Thread Virginia Chism

My server is a UNIX box with BSDi 4.0, Apache, Qmail, and Frontpage.

In order for my FP client to forward email from an 'alias' address on her
page to her personal address, I added  'SMTPHost mymailserver.address.com'
in the frontpage.cnf AND her
domainname.cnf file.  I then  made 'herdomain.org' virtual, and forward mail
out of an appropriate
.qmail file directly:

echo "herdomain.org:alias-herdomain" >>/var/qmail/control/virtualdomains
echo "&forwardaddress" >~alias/.qmail-herdomain-info

then restarted the system.  I was told NOT to put her in locals, but might
have missed a step.  From the error messages listed below it appears I
should put her in rcpthosts.  Just want to check as I am a newbie and
definitely NOT the guru you folks are!

Please advise.  And thanks in advance!


> tail -f  /usr/var/log/daemon.log

Mar 22 09:22:42 midnightsun named[1321]: sysquery: findns error (NXDOMAIN)
on fiskrri.org?
Mar 22 09:22:43 midnightsun named[1321]: Lame server on 'dns1.telalink.net'
(in'telalink.NET'?): [206.228.179.10].53 'NS1-AUTH.SPRINTLINK.NET': learnt
(A=198.41.0.4,NS=213.177.194.5)
Mar 22 09:22:43 midnightsun [EMAIL PROTECTED][3741]:
connect from imo-m05.mx.aol.com


Returned mail message:

The original message was received at Thu, 22 Mar 2001 10:22:36 -0500 (EST)
from root@localhost

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>

   - Transcript of session follows -
... while talking to midnightsun.chismtrail.com.:
>>> RCPT To:<[EMAIL PROTECTED]>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
550 <[EMAIL PROTECTED]>... User unknown


Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.1.1
Remote-MTA: DNS; midnightsun.chismtrail.com
Diagnostic-Code: SMTP; 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)
Last-Attempt-Date: Thu, 22 Mar 2001 10:23:14 -0500 (EST)


Received: from [EMAIL PROTECTED]
by imo-m05.mx.aol.com (mail_out_v29.5.) id n.6.13d2732c (17530)
 for <[EMAIL PROTECTED]>; Thu, 22 Mar 2001 10:22:36 -0500 (EST)
Return-path: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 22 Mar 2001 10:22:36 EST
Subject: test
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: AOL 5.0 for Windows sub 130




--- Headers 
Return-Path: <>
Received: from  rly-xb05.mx.aol.com (rly-xb05.mail.aol.com [172.20.105.106])
by air-xb02.mail.aol.com (v77_r1.21) with ESMTP; Thu, 22 Mar 2001
10:23:29 -0500
Received: from  imo-m05.mx.aol.com (imo-m05.mx.aol.com [64.12.136.8]) by
rly-xb05.mx.aol.com (v77_r1.21) with ESMTP; Thu, 22 Mar 2001 10:23:15 1900
Received: from localhost (localhost)
  by imo-m05.mx.aol.com (8.8.8/8.8.8/AOL-5.0.0)
  with internal id KAA26512;
  Thu, 22 Mar 2001 10:23:14 -0500 (EST)
Date: Thu, 22 Mar 2001 10:23:14 -0500 (EST)
From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
Subject: Returned mail: User unknown
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="KAA26512.985274594/imo-m05.mx.aol.com"
Auto-Submitted: auto-generated (failure)





Re: mail not forwarding

2001-03-22 Thread Charles Cazabon

Virginia Chism <[EMAIL PROTECTED]> wrote:
> I then  made 'herdomain.org' virtual, and forward mail
> out of an appropriate
> .qmail file directly:
> 
> echo "herdomain.org:alias-herdomain" >>/var/qmail/control/virtualdomains
> echo "&forwardaddress" >~alias/.qmail-herdomain-info
> 
> then restarted the system.  I was told NOT to put her in locals, but might
> have missed a step.  From the error messages listed below it appears I
> should put her in rcpthosts.  Just want to check as I am a newbie and
> definitely NOT the guru you folks are!

Yes, put "herdomain.org" in rcpthosts, or mail for that domain will not
be accepted over SMTP.

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: mail not forwarding

2001-03-22 Thread Virginia Chism

OK.  I meant to change that.  sorry!

This is in '/usr/var/qmail/alias'

.qmail-fiskrri-info .qmail-postmaster   .qmail-webmaster
.qmail-mailer-daemon.qmail-root Maildir
midnightsun% pwd

and  .qmail-fiskrri-info loopks like this:
&[EMAIL PROTECTED]


-Original Message-
From: Johan Almqvist [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:50 AM
To: Virginia Chism
Subject: Re: mail not forwarding


* Virginia Chism <[EMAIL PROTECTED]> [010322 16:40]:
> echo "herdomain.org:alias-herdomain"
>>/var/qmail/control/virtualdomains
> echo "&forwardaddress" >~alias/.qmail-herdomain-info
> Please advise.  And thanks in advance!

Give us the real domain names, or we won't help you.

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




Re: mail not forwarding

2001-03-22 Thread Johan Almqvist

* Virginia Chism <[EMAIL PROTECTED]> [010322 16:58]:
> OK.  I meant to change that.  sorry!
> 
> This is in '/usr/var/qmail/alias'
> 
> .qmail-fiskrri-info .qmail-postmaster   .qmail-webmaster
> .qmail-mailer-daemon.qmail-root Maildir
> midnightsun% pwd
> 
> and  .qmail-fiskrri-info loopks like this:
> &[EMAIL PROTECTED]

What do you have in control/rcpthosts? contol/virtual?

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

 PGP signature


Re: newbie: qmail + vpopmail

2001-03-22 Thread Wes Wannemacher

On Thu, Mar 22, 2001 at 09:16:37AM -0500, Robin S. Socha wrote:
> * Wes Wannemacher <[EMAIL PROTECTED]> [010322 08:51]:
> > On Thu, Mar 22, 2001 at 06:40:14AM -0500, Robin S. Socha wrote:
> > > * - = k o l i s k o = - <[EMAIL PROTECTED]> [010322 06:33]:
> 
> > > > I have now installed qmail and vpopmail from debian distr.
> > > Packages suck. Why don't you install from source?
> > Debian packages don't suck. 
> 
> Packages suck. I'm running 5 different operating systems. And just one
> set of supervise scripts. Go figure. It's nice to have binary packages
> for certain things, but qmail is not one of them. YMMV.
> 
> > If you are on a Debian list you will probably get flamed for
> > installing from source, whereas on the qmail list, you get flamed for
> > not installing from source. Ahh, life is full of Catch 22s.
> 
> While Debian is one of the better Linux distributions, their packages
> can be very questionable. This thread goes to underline DJB's position
> stated in http://cr.yp.to/compatibility.html EoD.
> 

I am not really trying to start a flame war, but the .deb of qmail does
build from source and respects most of DJBs beliefs. I just didn't want
people to get the idea that Debian packages are near as bad as RPMs. I
do appreciate that you see Debian as a 'better Linux distribution'.

->W

-- 
~~~
Wesley Wannemacher
Instructor / Network Administrator
University of Northwestern Ohio
http://www.unoh.edu/
[EMAIL PROTECTED]
~~~

To Perl, or not to Perl, that is the kvetching.
 -- Larry Wall in <[EMAIL PROTECTED]>




RE: mail not forwarding

2001-03-22 Thread Virginia Chism


This is in '/usr/var/qmail/alias'

.qmail-fiskrri-info .qmail-postmaster   .qmail-webmaster
.qmail-mailer-daemon.qmail-root Maildir
midnightsun% pwd

and  .qmail-fiskrri-info looks like this:
&[EMAIL PROTECTED]

Would I add herdomain to rcpthosts by:  'echo "fiskrri.org"
>>/var/qmail/comtrol/rcpthosts'

and restart again?



-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: mail not forwarding


Virginia Chism <[EMAIL PROTECTED]> wrote:
> I then  made 'herdomain.org' virtual, and forward mail
> out of an appropriate
> .qmail file directly:
>
> echo "herdomain.org:alias-herdomain"
>>/var/qmail/control/virtualdomains
> echo "&forwardaddress" >~alias/.qmail-herdomain-info
>
> then restarted the system.  I was told NOT to put her in locals, but might
> have missed a step.  From the error messages listed below it appears I
> should put her in rcpthosts.  Just want to check as I am a newbie and
> definitely NOT the guru you folks are!

Yes, put "herdomain.org" in rcpthosts, or mail for that domain will not
be accepted over SMTP.

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




Attachments via /usr/bin/sendmail

2001-03-22 Thread Alex Le Fevre

How would I go about attaching encoded files (i.e.
jpg, gif, etc.) via the mailwrapper? I'm trying to
write a Perl script that first uploads a file (which
I've done no problem), and then e-mails it out to a
specified address. I've seen some examples that
mentioned uuencoding, but I'm not sure if this would
be right for all types of attachments.

Thanks,
Alex Le Fevre

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



QMTP

2001-03-22 Thread Federico Edelman Anaya

Hi!

I'm running Qmail-1.03 (big-dns.patch, big-concurrency.patch,
badmailfrom.patch, AND qmail-1.03-qmtpc.patch), daemontools, ucspi-tcp
on testing servers.

I add on my DNS:

INMX12800mail.myserver.com. ; for SMTP service
INMX12801mail.myserver.com. ; for QMTP service

I'm running under the supervise script the qmtpd service ... when I send
a mail to myserver.com, the qmail-remote communicate to SMTP instead of
QMTP :(

Why??

Thanks! :)




Re: heavy traffic on port 25

2001-03-22 Thread Krzysztof Wychowalek

On 21 Mar 01, at 18:39, Charles Cazabon wrote:

> > What is more interesting is that even if I stop qmail, the traffic
> > is still coming to the port 25 in the same amount. :-o

> qmail-smtpd is sometimes started separately, typically under
> tcpserver. It won't stop when you stop the main qmail processes.

What is happening is funny. I stop Qmail, and the at the same time 
when IPTRAF reports huge amount of SMTP packets incoming, in 
the iplogger logs I have no SMTP attempts at all. When I start 
Qmail, in the logger and qmail logs, I have some SMTP data 
coming (like two-three messages every 10 minutes... it was 6 in 
the morning when I tried it), and IPTRAF still reports 1 MB of data 
per minute coming to port 25.

And not only IPTRAF is reporting that, but my provider also, and I 
pay for every GB of traffic. Now it seems that I will go bankrupt 
really soon :-(



Krzysztof Wychowalek
ICQ# 34184303
GSM +48600225435
PGP Key ID 0xEA9D2A3C



Re: QMTP

2001-03-22 Thread Dan Peterson

  Federico Edelman Anaya <[EMAIL PROTECTED]> wrote:

> INMX12800mail.myserver.com. ; for SMTP service
> INMX12801mail.myserver.com. ; for QMTP service
> 
> I'm running under the supervise script the qmtpd service ... when I send
> a mail to myserver.com, the qmail-remote communicate to SMTP instead of
> QMTP :(

Because the SMTP-related MX has a lower distance than the QMTP-related MX.
If you have one MX host that supports QMTP and SMTP (which it has to), just
create one MX record with a distance of 12801.

-- 
Dan Peterson <[EMAIL PROTECTED]> http://danp.net



Re: QMTP

2001-03-22 Thread Chris Johnson

On Thu, Mar 22, 2001 at 02:38:34PM +, Federico Edelman Anaya wrote:
> I'm running Qmail-1.03 (big-dns.patch, big-concurrency.patch,
> badmailfrom.patch, AND qmail-1.03-qmtpc.patch), daemontools, ucspi-tcp
> on testing servers.
> 
> I add on my DNS:
> 
> INMX12800mail.myserver.com. ; for SMTP service
> INMX12801mail.myserver.com. ; for QMTP service
> 
> I'm running under the supervise script the qmtpd service ... when I send
> a mail to myserver.com, the qmail-remote communicate to SMTP instead of
> QMTP :(

Read http://cr.yp.to/proto/mxps.txt. You want to remove the 12800 entry and
leave only the 12801 entry. Hosts that support QMTP will see the 12801
preference and attempt to communicate via QMTP; hosts that don't will try SMTP.

Chris

 PGP signature


10,000 outbound emails

2001-03-22 Thread Bill Parker

Hi All,

I have qmail running on a pent-133 w/32MB, kernel 2.2.14,
tcpserver, qmailadmin, vpopmail, amavis-0.2.1, and NAI's anti-virus
software.  Everything is working just fine, however, one of the
supervisors wants to send 10,000 emails through the box to various
users (aka a mass mailing).  Does anyone see any problems with
doing something like this, or would you need more information about
my current configuration of qmail?

-Bill




Re: sh ./run ? ermmmmm

2001-03-22 Thread Harald Hanche-Olsen

+ "Alan Lee" <[EMAIL PROTECTED]>:

| Notice the sh ./run ... and how many PID's its gone up in a matter of about
| 20 seconds..

Um, your run files don't run qmail-start, tcpserver and whatever in
the background, do they?  They shouldn't.  On the contrary, run should
do some setup is necessary, then exec some long-running daemon.

For example, here is one of my run files:

; cat /service/qmail/run 
#!/bin/sh
PATH=/var/qmail/bin:$PATH
exec env - PATH=$PATH qmail-start ./Mailbox 2>&1

- Harald



RE: Attachments via /usr/bin/sendmail

2001-03-22 Thread Kep Brown

Give it a try.  I did and the gif came through correctly.

Command
(cat ants-logo.gif|uuencode ants-logo.gif;echo "Hi
Kep")|/var/qmail/bin/qmail-inject [EMAIL PROTECTED]
om

Kep

  _

  ants.com   scout 

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] 




-Original Message-
From: Alex Le Fevre [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 8:59 AM
To: [EMAIL PROTECTED]
Subject: Attachments via /usr/bin/sendmail


How would I go about attaching encoded files (i.e.
jpg, gif, etc.) via the mailwrapper? I'm trying to
write a Perl script that first uploads a file (which
I've done no problem), and then e-mails it out to a
specified address. I've seen some examples that
mentioned uuencoding, but I'm not sure if this would
be right for all types of attachments.

Thanks,
Alex Le Fevre

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/




Re: 10,000 outbound emails

2001-03-22 Thread Kurth Bemis

At 01:01 PM 3/22/2001, Bill Parker wrote:

I don't see any problem with the machine - i do however see a problem with 
the situation.  Isn't a mass unsolicited mail called spam :-)

~kurth

>Hi All,
>
> I have qmail running on a pent-133 w/32MB, kernel 2.2.14,
>tcpserver, qmailadmin, vpopmail, amavis-0.2.1, and NAI's anti-virus
>software.  Everything is working just fine, however, one of the
>supervisors wants to send 10,000 emails through the box to various
>users (aka a mass mailing).  Does anyone see any problems with
>doing something like this, or would you need more information about
>my current configuration of qmail?
>
>-Bill




RE: Attachments via /usr/bin/sendmail

2001-03-22 Thread Alex Le Fevre

That made it come through as a bunch of gobbledygook
to my mail...but that's OK, because I know what I have
to write on my mailwrapper to get it to see that it's
an attachment. I think that suggestion will do the
trick. Thanks!

Alex Le Fevre

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



cyrus authenticating out of CDB

2001-03-22 Thread Gaston

Hallo,
does anyone know whereelse I can get the patch for cyrus to use the
cdb-file?
I already tried:
http://www.periapt.com/qmail-cyrus/
http://www.compusense.com/qmail-cyrus/
with no success :(

Thanks


-- 
* dark greets liw with a small yellow frog.

* liw kisses the frog and watches it transform to a beautiful nerd
  girl, takes her out to ice cream, and lives happily forever after
  with her

 liw: Umm it's too late to have the frog back?

 PGP signature


Re: VERP problems

2001-03-22 Thread Dave Sill

"Brett" <[EMAIL PROTECTED]> wrote:

>I'm trying to implement VERP for my own user address, that is, an address
>that's not a mailing list.
>
>I found a VERP page (quoted below) and according to that I should touch
>~/.qmail-me-owner and ~/.qmail-me-owner-default. Then if I set the
>QMAILINJECT environment variable to 'r', I'm ready to go. I call:
>
>echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
>
>and I check the log. The mail is sent to [EMAIL PROTECTED] not
>[EMAIL PROTECTED] as I was lead to believe would occur
>automatically. Then when it bounces, it goes to [EMAIL PROTECTED] You see, it
>adds that "-" after "me" like it's trying to do the VERP address but then
>doesn't add the noone info. I know I'm messing up a step (perhaps several)
>but I don't know where. Anyone? I'm humbled by all your linux/qmail/computer
>stuff in general knowledge. Thanks again.

No, you're not messing anything up. There are two kinds of bounces:
those generated remotely and those generated locally. If the local
system is not able to pass a message off to a remote system, the
bounce generated will be local--from your qmail--and it'll go to the
"me-" address rather than the me-user%host VERP address. This is done
this way because the local bounce can contain multiple undeliverable
addresses. To process these bounces, you need to parse the
QSMBF-format bounce message that qmail generates.

-Dave



Mostly OT: New qmail server security concerns

2001-03-22 Thread Roger Merchberger

This is mostly off-topic so I apologize for any lost bandwith & whatnot,
but here goes:

We're looking at building a new qmail server at my ISP (running Linux) and
we may be implementing software raid for the home directories & the qmail
queue to help reduce I/O latency, which unfortunately precludes me from
running (my nice secure distro of choice) Caldera...

Redhat (6.2 & 7.0) & Suse (7.0) support software raid, but from unfortunate
personal experience, I've found they are about as secure as a steel sieve
full of Win98 CD's...

What are other folks here using to keep their nice, secure MTA secure
across the rest of the box? (info on distros, utilities, etc. most welcome.)

Emails off-list to [EMAIL PROTECTED] or [EMAIL PROTECTED] would be much
appreciated, and if enough folks are interested, I'll print a summary and
post that to the list... but as this primarily off-topic, I don't want to
waste too many people's bandwidth.

Thanks Bazillions,
Roger "Merch" Merchberger
--
Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
Recycling is good, right???  Ok, so I'll recycle an old .sig.

If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.



RE: mail not forwarding

2001-03-22 Thread Virginia Chism


I did the following:

  'echo "fiskrri.org" >>/var/qmail/control/rcpthosts'

and tested it.  It worked without having to restart.  Thanks to all who had
suggestions and help!



-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: mail not forwarding


Virginia Chism <[EMAIL PROTECTED]> wrote:
> I then  made 'herdomain.org' virtual, and forward mail
> out of an appropriate
> .qmail file directly:
>
> echo "herdomain.org:alias-herdomain"
>>/var/qmail/control/virtualdomains
> echo "&forwardaddress" >~alias/.qmail-herdomain-info
>
> then restarted the system.  I was told NOT to put her in locals, but might
> have missed a step.  From the error messages listed below it appears I
> should put her in rcpthosts.  Just want to check as I am a newbie and
> definitely NOT the guru you folks are!

Yes, put "herdomain.org" in rcpthosts, or mail for that domain will not
be accepted over SMTP.

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




same VERP problem

2001-03-22 Thread Brett

I'm still having the same annoying problem with the VERP implementation. How
do I get it running on my home email address? That is, all emails I send out
from [EMAIL PROTECTED], if bounced, I want sent back to
[EMAIL PROTECTED] Thanks.




RE: Attachments via /usr/bin/sendmail

2001-03-22 Thread Alex Le Fevre

Hmmm...I thought I had it, but not quite. For some
reason, my Perl script is outputting to the screen,
not my mailwrapper. Are there any limitations on what
you can send to the mailwrapper? My program is below:

#!/usr/bin/perl

$fileout = system("/bin/cat
/home/www/schnarff/images/chili.jpg |
/usr/bin/uuencode /home/www/schnarff/chili.jpg");
$bound = "---bound";

open (MAIL, "|/usr/bin/sendmail -t");
print MAIL "To: alexlefevre\@yahoo.com\n";
print MAIL "Mime-Version: 1.0\n";
print MAIL "Content-Type: multipart/mixed;
boundary=\"$bound\"; charset=\"iso-8859-1\"\n";
print MAIL "$bound\n";
print MAIL "Content-Type: image/jpg;
name=\"chili.jpg\"\n";
print MAIL "Content-Disposition: attachment;
filename=\"chili.jpg\"";
print MAIL "Content-Transfer-Encoding: uuencode";
print MAIL "$fileout";
close MAIL;


Alex

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: mail not forwarding

2001-03-22 Thread Virginia Chism

Left out the 'tail -f /var/log/maillog' that makes me think the thing works!
It is at the end.

I did the following:

  'echo "fiskrri.org" >>/var/qmail/control/rcpthosts'

and tested it.  It worked without having to restart.  Thanks to all who had
suggestions and help!

Mar 22 12:45:54 midnightsun qmail: 985286754.978160 new msg 277787
Mar 22 12:45:54 midnightsun qmail: 985286754.979816 info msg 277787: bytes
1926
from <[EMAIL PROTECTED]> qp 4319 uid 132
Mar 22 12:45:55 midnightsun qmail: 985286755.097156 starting delivery 3313:
msg
277787 to local [EMAIL PROTECTED]
Mar 22 12:45:55 midnightsun qmail: 985286755.106468 status: local 1/10
remote 0/
20
Mar 22 12:45:55 midnightsun qmail: 985286755.308502 new msg 277788
Mar 22 12:45:55 midnightsun qmail: 985286755.310075 info msg 277788: bytes
2039
from <[EMAIL PROTECTED]> qp 4322 uid 131
Mar 22 12:45:55 midnightsun qmail: 985286755.498510 starting delivery 3314:
msg
277788 to remote [EMAIL PROTECTED]
Mar 22 12:45:55 midnightsun qmail: 985286755.506404 status: local 1/10
remote 1/
20
Mar 22 12:45:55 midnightsun qmail: 985286755.508564 delivery 3313: success:
did_
0+1+0/qp_4322/

Mar 22 12:46:22 midnightsun qmail: 985286782.688541 delivery 3314: success:
63.2
08.208.85_accepted_message./Remote_host_said:_250_ok_985286782_qp_10777/




RE: mail not forwarding

2001-03-22 Thread Virginia Chism

I did the following:

  'echo "fiskrri.org" >>/var/qmail/control/rcpthosts'

and tested it.  It seems to have worked without having to restart.  Thanks
to all who had suggestions and help!

This is from  'tail -f /var/log/maillog'

Mar 22 12:45:54 midnightsun qmail: 985286754.978160 new msg 277787
Mar 22 12:45:54 midnightsun qmail: 985286754.979816 info msg 277787: bytes
1926
from <[EMAIL PROTECTED]> qp 4319 uid 132
Mar 22 12:45:55 midnightsun qmail: 985286755.097156 starting delivery 3313:
msg
277787 to local [EMAIL PROTECTED]
Mar 22 12:45:55 midnightsun qmail: 985286755.106468 status: local 1/10
remote 0/
20
Mar 22 12:45:55 midnightsun qmail: 985286755.308502 new msg 277788
Mar 22 12:45:55 midnightsun qmail: 985286755.310075 info msg 277788: bytes
2039
from <[EMAIL PROTECTED]> qp 4322 uid 131
Mar 22 12:45:55 midnightsun qmail: 985286755.498510 starting delivery 3314:
msg
277788 to remote [EMAIL PROTECTED]
Mar 22 12:45:55 midnightsun qmail: 985286755.506404 status: local 1/10
remote 1/
20
Mar 22 12:45:55 midnightsun qmail: 985286755.508564 delivery 3313: success:
did_
0+1+0/qp_4322/

Mar 22 12:46:22 midnightsun qmail: 985286782.688541 delivery 3314: success:
63.2
08.208.85_accepted_message./Remote_host_said:_250_ok_985286782_qp_10777/




Re: LWQ and POP3

2001-03-22 Thread Dave Sill

"Neafevoc K. Marindale" <[EMAIL PROTECTED]> wrote:

>I just setup qmail using Life with qmail, and everything seems to be 
>working just fine.  But I wanted to use POP3 with it, and somehow trying to 
>add pop3d to tcpserver just isn't working.
>
>I'm still sort of new to he *nix world.  Btw, I'm using FreeBSD 4.2, if it 
>matters.  Anyway, this is what script looks like in 
>/var/qmail/supervise/qmail-smtpd/run
>
>#!/bin/sh
>exec /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
> /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
>
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
>exec /usr/local/bin/softlimit -m 200 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 
>2>&1
>
>---
>And yeah, I did put my fully qualified domain name in FQDN :)

Good.

You can't combine two services in one run script. You need to set up a
separate service for qmail-pop3.

See:

  http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223

For instructions on setting up qmail-pop3d the LWQ way.

-Dave



RE: VERP problems

2001-03-22 Thread Brett

Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't
know to send 'me-*' eamil through to 'me' even though I've touched
~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777.

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re: VERP problems


"Brett" <[EMAIL PROTECTED]> wrote:

>I'm trying to implement VERP for my own user address, that is, an address
>that's not a mailing list.
>
>I found a VERP page (quoted below) and according to that I should touch
>~/.qmail-me-owner and ~/.qmail-me-owner-default. Then if I set the
>QMAILINJECT environment variable to 'r', I'm ready to go. I call:
>
>echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
>
>and I check the log. The mail is sent to [EMAIL PROTECTED] not
>[EMAIL PROTECTED] as I was lead to believe would occur
>automatically. Then when it bounces, it goes to [EMAIL PROTECTED] You see, it
>adds that "-" after "me" like it's trying to do the VERP address but then
>doesn't add the noone info. I know I'm messing up a step (perhaps several)
>but I don't know where. Anyone? I'm humbled by all your
linux/qmail/computer
>stuff in general knowledge. Thanks again.

No, you're not messing anything up. There are two kinds of bounces:
those generated remotely and those generated locally. If the local
system is not able to pass a message off to a remote system, the
bounce generated will be local--from your qmail--and it'll go to the
"me-" address rather than the me-user%host VERP address. This is done
this way because the local bounce can contain multiple undeliverable
addresses. To process these bounces, you need to parse the
QSMBF-format bounce message that qmail generates.

-Dave




Re: same VERP problem

2001-03-22 Thread Dave Sill

"Brett" <[EMAIL PROTECTED]> wrote:

>I'm still having the same annoying problem with the VERP implementation. How
>do I get it running on my home email address? That is, all emails I send out
>from [EMAIL PROTECTED], if bounced, I want sent back to
>[EMAIL PROTECTED] Thanks.

Did you read my reply?

-Dave



Re: VERP problems

2001-03-22 Thread Charles Cazabon

Brett <[EMAIL PROTECTED]> wrote:
> Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't
> know to send 'me-*' eamil through to 'me' even though I've touched
> ~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777.

Making the files world-writable is bad, and qmail won't use them if they
are.

To make username-me-* email deliverable, you need a .qmail-me-default file.
.qmail-me-owner-default doesn't match "username-me-foo".

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: VERP problems

2001-03-22 Thread Dave Sill

"Brett" <[EMAIL PROTECTED]> wrote:

>Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't
>know to send 'me-*' eamil through to 'me' even though I've touched
>~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777.

Try touching .qmail-default. Neither ~/.qmail-me-owner noed
~/.qmail-me-owner-default will match "me-".

-Dave



RE: VERP problems

2001-03-22 Thread Brett

Okay, yes, now I'm getting me- emails sent to the me mailbox. This is
progress. But I'm still a little confused about your previous email:

"No, you're not messing anything up. There are two kinds of bounces:
those generated remotely and those generated locally. If the local
system is not able to pass a message off to a remote system, the
bounce generated will be local--from your qmail--and it'll go to the
"me-" address rather than the me-user%host VERP address. This is done
this way because the local bounce can contain multiple undeliverable
addresses. To process these bounces, you need to parse the
QSMBF-format bounce message that qmail generates."

>From this, I gather that in order to collect the email addresses of these
bounces, I need to write a script that goes through the me mailbox and
extracts the email addresses from the bounce messages. I can do this (though
it seems like there must be a better way). But when does the VERP
functionality present itself? I send a message to [EMAIL PROTECTED]
and that server tells me 'beets is unknown' -- isn't that a remote bounce?
Shouldn't the email be returned to
[EMAIL PROTECTED]? Because it isn't; I'm still
getting those sent to [EMAIL PROTECTED] Or is this still considered a local
bounce? If this is a local bounce then how do I simulate a remote bounce?
I'm going to be Bcc-ing a bunch of people and I just need a reliable way to
determine the addresses that bounce. Thank you everyone for helping me so
far.


-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: RE: VERP problems


"Brett" <[EMAIL PROTECTED]> wrote:

>Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't
>know to send 'me-*' eamil through to 'me' even though I've touched
>~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777.

Try touching .qmail-default. Neither ~/.qmail-me-owner noed
~/.qmail-me-owner-default will match "me-".

-Dave




help people

2001-03-22 Thread Dixon Canario

Hi.

Please forgive the directness of this plea for help! We
have a qmail
server which is bouncing all email sent to it for any
recipients, and
I was hoping that somebody would be kind enough to point us
in the
right direction before all our hair goes grey.

The bounces we're getting look like this:


Hi. This is the qmail-send program at ourhost.com.
I'm afraid I wasn't able to deliver your message to the
following
addresses.
This is a permanent error; I've given up. Sorry it didn't
work out.

:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



hey with Sorry, no mailbox here by that name. (#5.1.1)

2001-03-22 Thread Dixon Canario

Dear all,

My qmail server works without any problem yesterday. But
Today, I found
my qmail server can't work anymore. This including all
email accounts
and all virtual domains, even I can't log into qmailadmin
The return message saying something like :

Hi. This is the qmail-send program at xx.com.
I'm afraid I wasn't able to deliver your message to the
following
addresses.
This is a permanent error; I've given up. Sorry it didn't
work out.

:
Sorry, no mailbox here by that name. (#5.1.1)

Can any one guide me to the right direction and tell me how
can I fix the problem?

Thanks in advanced.

Regards,
Dixon


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Connection unexpectedly terminated

2001-03-22 Thread Carey Jung

Hi,

We have a sporadic problem with qmail hanging and eventually timing out when
popping certain messages.  tcpdump shows that qmail is apparently not
handling the RETR command properly (see below).  Everything is fine until it
"OK"'s the RETR command from the client, but then it immediately follows
that with a FIN packet, terminating the connection.

If we move the offending hung message out of the Maildir/new directory, then
the client is able to pop the remaining messages.  If we put it back,
send/receive stalls again.  We can not see anything out of the ordinary in
the message itself, and, in fact, we are able to fetch it from other
clients.

Has anyone seen this before?  Why is qmail-pop3d/tcpserver terminating the
connection without sending the mail to the client?

tcpdump output
--
client > server: S 1646064:1646064(0)
server > client: S 2361285140:2361285140(0) ack 1646065
client > server: . 1:1(0) ack 1
server > client: P 1:46(45) ack 1   (+OK
<[EMAIL PROTECTED]>)
client > server: P 1:15(14) ack 46  (user cmunson)
server > client: . 46:46(0) ack 15  (ack)
server > client: P 46:52(6) ack 15  (+OK )
client > server: P 15:29(14) ack 52 (pass cm2ns0n)
server > client: P 52:58(6) ack 29  (+OK )
client > server: P 29:35(6) ack 58  (STAT)
server > client: P 58:74(16) ack 35 (+OK 31 4646947)
client > server: P 35:41(6) ack 74  (UIDL)
server > client: P 74:80(6) ack 41  (+OK )
server > client: P 80:616(536) ack 41   (UIDL data...)
server > client: P 616:1073(457) ack 41 (more UIDL data...)
client > server: . 41:41(0) ack 616 (ack)
client > server: . 41:41(0) ack 1073(ack)
server > client: P 1073:1332(259) ack 41(remaining UIDL data...)
client > server: P 41:50(9) ack 1332(RETR 31)
server > client: P 1332:1338(6) ack 50  (+OK )
server > client: F 1338:1338(0) ack 50  (close connection)
client > server: . 50:50(0) ack 1339(ack)
client > server: F 50:50(0) ack 1339(close connection)
server > client: . 1339:1339(0) ack 51  (ack)

environment:
---
- qmail 1.0.3, w/tcpserver, vpopmail, etc.
- Outlook 2000 client.  Also seen it once with Eudora.




Re: Connection unexpectedly terminated

2001-03-22 Thread Mark Delany

On Thu, Mar 22, 2001 at 04:43:09PM -0600, Carey Jung wrote:
> Hi,
> 
> We have a sporadic problem with qmail hanging and eventually timing out when
> popping certain messages.  tcpdump shows that qmail is apparently not
> handling the RETR command properly (see below).  Everything is fine until it
> "OK"'s the RETR command from the client, but then it immediately follows
> that with a FIN packet, terminating the connection.

Who sends the FIN? The client or the server?

> If we move the offending hung message out of the Maildir/new directory, then
> the client is able to pop the remaining messages.  If we put it back,
> send/receive stalls again.  We can not see anything out of the ordinary in
> the message itself, and, in fact, we are able to fetch it from other
> clients.

Sounds like a client bug. There are plenty of them? What's the client
OS, what's the client program?

I've certainly seen plenty of clients gag on unusual content.

Regards.


> 
> Has anyone seen this before?  Why is qmail-pop3d/tcpserver terminating the
> connection without sending the mail to the client?
> 
> tcpdump output
> --
> client > server: S 1646064:1646064(0)
> server > client: S 2361285140:2361285140(0) ack 1646065
> client > server: . 1:1(0) ack 1
> server > client: P 1:46(45) ack 1 (+OK
> <[EMAIL PROTECTED]>)
> client > server: P 1:15(14) ack 46(user cmunson)
> server > client: . 46:46(0) ack 15(ack)
> server > client: P 46:52(6) ack 15(+OK )
> client > server: P 15:29(14) ack 52   (pass cm2ns0n)
> server > client: P 52:58(6) ack 29(+OK )
> client > server: P 29:35(6) ack 58(STAT)
> server > client: P 58:74(16) ack 35   (+OK 31 4646947)
> client > server: P 35:41(6) ack 74(UIDL)
> server > client: P 74:80(6) ack 41(+OK )
> server > client: P 80:616(536) ack 41 (UIDL data...)
> server > client: P 616:1073(457) ack 41 (more UIDL data...)
> client > server: . 41:41(0) ack 616   (ack)
> client > server: . 41:41(0) ack 1073  (ack)
> server > client: P 1073:1332(259) ack 41(remaining UIDL data...)
> client > server: P 41:50(9) ack 1332  (RETR 31)
> server > client: P 1332:1338(6) ack 50(+OK )
> server > client: F 1338:1338(0) ack 50  (close connection)
> client > server: . 50:50(0) ack 1339(ack)
> client > server: F 50:50(0) ack 1339(close connection)
> server > client: . 1339:1339(0) ack 51  (ack)
> 
> environment:
> ---
> - qmail 1.0.3, w/tcpserver, vpopmail, etc.
> - Outlook 2000 client.  Also seen it once with Eudora.
> 



Re: hey with Sorry, no mailbox here by that name. (#5.1.1)

2001-03-22 Thread Nick (Keith) Fish

Dixon Canario wrote:
> 
> Dear all,
> 
> My qmail server works without any problem yesterday. But
> Today, I found
> my qmail server can't work anymore. This including all
> email accounts
> and all virtual domains, even I can't log into qmailadmin
> The return message saying something like :
> 
> Hi. This is the qmail-send program at xx.com.
> I'm afraid I wasn't able to deliver your message to the
> following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't
> work out.
> 
> :
> Sorry, no mailbox here by that name. (#5.1.1)
> 
> Can any one guide me to the right direction and tell me how
> can I fix the problem?
> 
> Thanks in advanced.
> 
> Regards,
> Dixon

What rc file do you use to initialize qmail and what does it look like?

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: Connection unexpectedly terminated

2001-03-22 Thread Fabrizio Fresco

Carey Jung scrive:

> Hi, 
> 
> We have a sporadic problem with qmail hanging and eventually timing out when
> popping certain messages.  tcpdump shows that qmail is apparently not
> handling the RETR command properly (see below).  Everything is fine until it
> "OK"'s the RETR command from the client, but then it immediately follows
> that with a FIN packet, terminating the connection. 
> 
> If we move the offending hung message out of the Maildir/new directory, then
> the client is able to pop the remaining messages.  If we put it back,
> send/receive stalls again.  We can not see anything out of the ordinary in
> the message itself, and, in fact, we are able to fetch it from other
> clients. 
> 
> Has anyone seen this before?  Why is qmail-pop3d/tcpserver terminating the
> connection without sending the mail to the client?

Yes I saw it before :-(
I' having the same problem and not only with pop3, but also when sending an 
email with an attachment.
The transfer of the attach begin an the server send out a fin packet and 
drop the connection, sometimes happens immediatly sometimes after a little 
transfer.
I saw it with outlook and outlook express, the mail server is behind a linux 
firewall. I made alot of investigation about this problem and it dont seem a 
network problem implicable to the firewall.
If you find a solution please let me know. 


 --
Fabrizio Fresco 



Re: hey with Sorry, no mailbox here by that name. (#5.1.1)

2001-03-22 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Nick (Keith) Fish wrote:

>> :
>> Sorry, no mailbox here by that name. (#5.1.1)

Have you verified that user accounts resolve in general -- i.e., if
you use an external authenticator, such as LDAP, is it functioning?

- -- 
David Talkington
Prairienet
[EMAIL PROTECTED]
217-244-1962

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc



-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOrqgHb1ZYOtSwT+tAQFdDQf/RjcphMNkUtBxk5gx5NBYmyon9eW3qt7t
skrdq1bHruFlRfRPPh2gmA7lV0+9xo2Lr2kjFb1kWgWGP3/YMT+KT0KBOptS8laJ
O69xkdH28V0D8V01q3dHhkMJCqQa5wlXvoFZeOQSZNMwcNpemQrAuwUCsJplNrPm
aBLKmLD2zc5LGu5nJcOPojvVpEvT8Py+aozxEUCzh2EF2m8qrDxiQIvULYQdHllA
QUmMmP1wkBa0n+cDoTD3AhE0Aj8rry3i6FAX78M6tZYAVd95M+7Kf3/sqmMrUed4
s4yhnJqgsA+9pSsu2upQIsi/ATUdSIPCvSzIjpN4/zYkS5AbmbqPfA==
=Z7V5
-END PGP SIGNATURE-





outgoing mail to be forwarded to another email

2001-03-22 Thread KIM



Hi,


Is it possible in qmail if I want to have a copy for all the mail sent by
one of the user? example

all mails sent by the email address [EMAIL PROTECTED] will have an automatic
cc copy to [EMAIL PROTECTED]?

please help...

thanks




bounce mail

2001-03-22 Thread KY Lui
Title: bounce mail





Hello


my qmail server is running. however, i found that some sent mail are bounced back.
please attached the log of qmail.
the email content doesn't have any scripting, it is only text message
is there any settings to cause this?
is it the problem of the firewall in the remote side?
what is the possible causes?


thanks
KY


= here is the log from qmail =
new msg 2725647
info msg 2725647: bytes 7744 from <[EMAIL PROTECTED]> qp 11518 uid 0
starting delivery 559: msg 2725647 to remote [EMAIL PROTECTED]
status: local 0/10 remote 6/255
delivery 555: success: 209.228.32.104_accepted_message./Remote_host_said:_250_ok_985234495_qp_22693/
status: local 0/10 remote 5/255
end msg 2725638
delivery 557: success: 209.185.123.151_accepted_message./Remote_host_said:_250_[SMTPD]:_OK/
status: local 0/10 remote 4/255
end msg 2725641
delivery 554: success: 209.185.123.196_accepted_message./Remote_host_said:_250_[SMTPD]:_OK/
status: local 0/10 remote 3/255
end msg 2725622
delivery 556: success: 216.32.243.136_accepted_message./Remote_host_said:_250_Requested_mail_action_okay,_completed/
status: local 0/10 remote 2/255
end msg 2725639
delivery 559: failure: Connected_to_203.184.222.2_but_sender_was_rejected./Remote_host_said:_553_Requested_action_not_taken:_mailbox_name_not_allowed/

status: local 0/10 remote 1/255
bounce msg 2725647 qp 11521
end msg 2725647
=== end of log 


= here is the log from qmail =
new msg 2725647
info msg 2725647: bytes 7744 from <[EMAIL PROTECTED]> qp 11518 uid 0
starting delivery 559: msg 2725647 to remote [EMAIL PROTECTED]
status: local 0/10 remote 6/255
delivery 555: success: 209.228.32.104_accepted_message./Remote_host_said:_250_ok_985234495_qp_22693/
status: local 0/10 remote 5/255
end msg 2725638
delivery 557: success: 209.185.123.151_accepted_message./Remote_host_said:_250_[SMTPD]:_OK/
status: local 0/10 remote 4/255
end msg 2725641
delivery 554: success: 209.185.123.196_accepted_message./Remote_host_said:_250_[SMTPD]:_OK/
status: local 0/10 remote 3/255
end msg 2725622
delivery 556: success: 216.32.243.136_accepted_message./Remote_host_said:_250_Requested_mail_action_okay,_completed/
status: local 0/10 remote 2/255
end msg 2725639
delivery 559: failure: Connected_to_203.184.222.2_but_sender_was_rejected./Remote_host_said:_553_Requested_action_not_taken:_mailbox_name_not_allowed/

status: local 0/10 remote 1/255
bounce msg 2725647 qp 11521
end msg 2725647
=== end of log 






svscan and heavy load

2001-03-22 Thread Aleksander Olsen

Hi

Starting qmail with 'qmail start' and get the
echo 'Starting qmail: svscan.'

The first time i started qmail like this, i wasnt aware of the problem.
The load was 0.00 and after 5 mins with qmail and svscan running, the load
was closing up to 10.00. -

Why ? This is a p133 and 64mb ram. Anyone?

Thanks! ;)

Aleksander





perl script in qmail

2001-03-22 Thread Essy Ren

how can I make script like this if i am using perl :

if grep -i /usr/backup/erro $mysql
then echo to: [EMAIL PROTECTED]
fi





Content Types

2001-03-22 Thread Alex Le Fevre

I've solved my earlier problem of getting my script to
output an encoded file to the mailwrapper. My only
problem is, I'm having real trouble getting mail
agents to see the attachment properly.

Using this script:

#!/usr/bin/perl

$fileout = `cat /home/www/schnarff/images/chili.jpg |
/usr/local/bin/base64
/home/www/schnarff/images/chili.jpg`;
$bound = "---bound";

open (MAIL, "|/usr/bin/sendmail -t");
print MAIL "To: alexlefevre\@yahoo.com\n";
print MAIL "Mime-Version: 1.0\n";
print MAIL "Content-Type: multipart/mixed;
boundary=\"$bound\"; charset=\"iso-8859-1\"\n";
print MAIL "$bound\n";
print MAIL "Content-Type: text/plain; format=flowed;
charset=iso-8859-1\n";
print MAIL "Content-Transfer-Encoding: 7bit\n";
print MAIL "Here is the attachment!\n";
print MAIL "$bound\n";
print MAIL "Content-Type: image/jpg;
name=\"chili.jpg\"\n";
print MAIL "Content-Disposition: attachment;
filename=\"chili.jpg\"";
print MAIL "Content-Transfer-Encoding: base64";
print MAIL "$fileout";
close MAIL;

Mail goes to Yahoo just fine, which shows that there's
an attachment on the Inbox screen. When I try to
access the message, though, there's nothing there --
not even my text. What could be the problem? I'm
taking the content-type, etc. from mail I sent using
sqwebmail.

Thanks,
Alex

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



me contents

2001-03-22 Thread Flash

Howdy Sportsfans !

Everything working fine, box is both BIND and qmail.

/var/qmail/control/me currently contains 'ns1.flashsys.com' which was
picked up by the config script at compile time.

For appearances sake in the headers I would like 'me' to contain
'mail.flashsys.com' instead.  Will I break anything if I edit the file?

Thanks
Flash




New to Qmail, probably a stupid question...

2001-03-22 Thread Tyrone Mills

Hello all,

I've got QMail running on a Redhat 7 machine, works fine delivering local
mail, but when I try and send mail out to the Internet, it never goes
anywhere. The /var/log/maillog records several error mesages from sendmail,
saying "Service unavailable". The first thing I thought was, what the hell
is sendmail doing with this! But then I see that QMail has sendmail in it's
install dir, so I'm assuming it's not "THE Sendmail", rather a helper util
named sendmail.

Is it just a helper, or is the Anti-Christ getting in there and trying to
take my mail away from QMail?

Thanks,

Tyrone


UNIX is user-friendly, it's just picky about who its friends are... 


 winmail.dat


Re: New to Qmail, probably a stupid question...

2001-03-22 Thread Chris Johnson

On Thu, Mar 22, 2001 at 09:04:04PM -0800, Tyrone Mills wrote:
> The /var/log/maillog records several error mesages from sendmail,
> saying "Service unavailable".

Don't paraphrase. Just show us the actual log entries.

Chris

 PGP signature


RE: New to Qmail, probably a stupid question...

2001-03-22 Thread Tyrone Mills

Thanks Chris,

You're right, I should have included the logs, but the machine couldn't
E-Mail... I was about to ftp them over when I realized the problem. I had a
bad hostname for the machine, as soon as I fixed it, it's happily sending
mail to the Internet.

Thanks for your time, sorry for the noise on the list.

-Original Message-
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:18 PM
To: Tyrone Mills
Cc: [EMAIL PROTECTED]
Subject: Re: New to Qmail, probably a stupid question...


On Thu, Mar 22, 2001 at 09:04:04PM -0800, Tyrone Mills wrote:
> The /var/log/maillog records several error mesages from sendmail,
> saying "Service unavailable".

Don't paraphrase. Just show us the actual log entries.

Chris




Re: New to Qmail, probably a stupid question...

2001-03-22 Thread Jack Thomas

> I've got QMail running on a Redhat 7 machine, works fine delivering local
> mail, but when I try and send mail out to the Internet, it never goes
> anywhere. The /var/log/maillog records several error mesages from
sendmail,
> saying "Service unavailable". The first thing I thought was, what the hell
> is sendmail doing with this! But then I see that QMail has sendmail in
it's
> install dir, so I'm assuming it's not "THE Sendmail", rather a helper util
> named sendmail.

Tyrone,

Please post the relevant sections of your logs to the mail list, so that the
qmail community can examine them and try to help you.

Thank you

Jack
[EMAIL PROTECTED]





RE: Connection unexpectedly terminated

2001-03-22 Thread Carey Jung

> >
> > We have a sporadic problem with qmail hanging and eventually
> timing out when
> > popping certain messages.
>

I just saw this problem again.  Ran tcpdump and captured the pop-3
conversation below.  What's interesting is that client is only retrieving 1
message, instead of the 7 present.  The server sends the message, the client
acks it, but then doesn't request any more messages.  So, apparently the
server is waiting for the next command and not getting it.  On the other
hand, the client is apparently expecting more data, but not getting it, or
it's confused about how many messages it's received, so the client times out
and sends a FIN packet.

Carey

20:55:04.168387 < client > server: S 595822:595822(0)
20:55:04.168410 > server > client: S 1790652965:1790652965(0) ack 595823
20:55:04.356445 < client > server: . 1:1(0) ack 1
20:55:04.861660 > server > client: P 1:46(45) ack 1 [+OK
<25027.985316104@xxx>]
20:55:05.043873 < client > server: P 1:15(14) ack 46 [USER xxx]
20:55:05.043927 > server > client: . 46:46(0) ack 15 ack
20:55:05.044035 > server > client: P 46:52(6) ack 15 [+OK ]
20:55:05.211407 < client > server: P 15:26(11) ack 52 [PASS ]
20:55:05.221566 > server > client: P 52:58(6) ack 26 [+OK ]
20:55:05.385687 < client > server: P 26:32(6) ack 58 [STAT]
20:55:05.385823 > server > client: P 58:72(14) ack 32 [+OK 7 123284]
20:55:05.727457 < client > server: P 32:38(6) ack 72 [UIDL]
20:55:05.727545 > server > client: P 72:78(6) ack 38 [+OK ]
20:55:05.727596 > server > client: P 78:366(288) ack 38 [UIDL data...]
20:55:05.961556 < client > server: . 38:38(0) ack 366
20:55:06.141839 < client > server: P 38:46(8) ack 366 [RETR 1]
20:55:06.141928 > server > client: P 366:372(6) ack 46 [+OK ]
20:55:06.142022 > server > client: P 372:908(536) ack 46 [536 bytes, message
1 data...]
20:55:06.142036 > server > client: P 908:1352(444) ack 46 [444 bytes,
message 1 data...]
20:55:06.142107 > server > client: P 1352:1888(536) ack 46 [536 bytes,
message 1 data...]
20:55:06.142119 > server > client: P 1888:2349(461) ack 46 [461 bytes,
message 1 data...]
20:55:06.142196 > server > client: P 2349:2885(536) ack 46 [536 bytes,
message 1 data...]
20:55:06.142208 > server > client: P 2885:3313(428) ack 46 [428 bytes,
message 1 data...]
20:55:06.679129 < client > server: . 46:46(0) ack 908
20:55:06.679162 > server > client: P 3313:3849(536) ack 46 [536 bytes,
message 1 data...]
20:55:06.687235 < client > server: . 46:46(0) ack 1888
20:55:06.869646 < client > server: . 46:46(0) ack 2885
20:55:07.024157 < client > server: . 46:46(0) ack 3849
20:55:07.024181 > server > client: P 3849:3851(2) ack 46 [2 bytes, message 1
data]
20:55:07.573063 < client > server: . 46:46(0) ack 3851 [all data acked]
20:56:01.567188 < client > server: F 46:46(0) ack 3851 [client sends FIN]
20:56:01.567214 > server > client: . 3851:3851(0) ack 47
20:56:01.567419 > server > client: F 3851:3851(0) ack 47 [server sends FIN]
20:56:01.777954 < client > server: . 47:47(0) ack 3852




Re: tcpserver rblsmtpd

2001-03-22 Thread Rick Updegrove


- Original Message -
From: "Brad Dameron" <[EMAIL PROTECTED]>
> Anyone have a good example of using the tcpserver rblsmtpd with qmail?
>
> I am currently using "/usr/local/bin/tcpserver -c 120 -D -x
> /mail/etc/tcp.smtp.cdb -u 501 -g 500 0 smt
> p /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &" as
my
> start line in my rc.local file.


I use a LWQ style - vpopmail enbabled supervised run script


#!/bin/sh
# Note: concurrencyincoming is a feature of this script.
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 400 \
tcpserver -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/rblsmtpd \
-r relays.orbs.org \
-r rbl.maps.vix.com \
-r blackholes.mail-abuse.org \
-r dialups.mail-abuse.org \
-r 'relays.mail-abuse.org:Open relay problem - see
http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>' \
qmail-smtpd 2>&1


Hope this helps

Rick Up




qmail queue

2001-03-22 Thread Sumith



Hello All
 
Excuse me if this question has been repeated a lot 
of times...
 
I've install qmail from memphis rpms. also VPOPMAIL 
4.9.8-1
 
How can I know how many concurrent qmail deliveries 
are taking place on my qmail server, both qmail-local and 
qmail-remote
 
I have applied the qmail-concurrent-patch, and 
big-todo-patch
 
There is no concurrencylocal and concurrencyremote 
presently in /var/qmail/control
 
If the default is 10 for concurrencylocal and 20 
for concurrency remote (which lwq says)what would be the safe number to 
increase this to on my PIII 800 , 512 MB RAM, IDE hard disk handling about 500 
virtual domains.
 
I hope that some one helps me to clear my 
doubts.
 
Regards
Sumith


multiple virtualdomains and no locals

2001-03-22 Thread Martin Dougiamas

OK, I'm going round in circles with this one ... help!

I have a server which has real users on it: user1, user2, user3.
They all have Maildirs set up for them.

The server is known as domain1.com, domain2.com and domain3.com
"control/me" is "domain1.com".

I want these to work:

   user1 at domain1.com
   user2 at domain2.com
   user3 at domain3.com

but I want all OTHER combinations to be bounced!

Obviously (?) I can't put anything in the "control/locals" file,
because whatever I put in there appears to activate ALL the 
local user accounts for that domain.

So I put something like this in the control/virtualdomains file:

  domain1.com:alias-domain1
  domain2.com:alias-domain2
  domain3.com:alias-domain3

and in ~alias I made files like this:

  .qmail-domain1-user1
  .qmail-domain2-user2
  .qmail-domain3-user3

But what do I put in these files?  I tried putting this sort of thing,
as per the manual:

  eg ~alias/.qmail-domain-user2:
 
  /home/user2/Maildir/

but I get "Unable_to_chdir_to_maildir" errors.  I also tried just 

  user2

but I get "Sorry,_no_mailbox_here_by_that_name" errors, because I guess
it's looking for a .qmail-domain1-user2 alias ... 

So what should I be doing?

Thanks,
Martin
--
### Martin Dougiamas ###
### http://dougiamas.com ###