Re: vacation program's envelope sender

1999-11-29 Thread Giles Lean


On Mon, 29 Nov 1999 17:05:24 -0600  "Chris Garrigues" wrote:

> I'm using Peter Samuel's qmail vacation program and a user
> complained because she got a bounce when it tried to tell a spammer
> that she was on vacation.
> 
> Would it be a bad thing for vacation to set the envelope sender to
> something non-replyable like the mailer-daemon does?

A vacation message is effectively a bounce message; you don't want to
know about it being delivered or not, period.  I suggest therefore
that the envelope sender should be empty.

Dan Bernstein's discussion of mail loops talks about autoresponders
and classifies them as bouncers which *should* use an empty envelope
sender:

http://cr.yp.to/proto/mailloops.txt

Regards,

Giles







Re: relay logging

1999-11-29 Thread DOODS

All connections are logged by tcpserver. Before, mine was in /var/adm or
/var/log. If you want to have the logs for tcpserver on a separate file,
install daemontools. (Forgot the URL for this but you can find it in qmail's
homepage.)
Then replace "/var/qmail/bin/splogger smtpd" in your startup script with
/path/to/multilog t /var/log/smtpd. BTW, you must first create the
/var/log/smtpd dir. Restart your tcpserver and then check if the logs go to
/var/log/smtpd.

Hope this helps.


Noah Sutherland wrote:

> OK, I am using tcpserver to do selective relaying. Is logging done of the
> connections that are rejected? If so, how do I find them. Is there
> something I can grep my log file for? For reference, here's my startup
> line:
>
> /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -c 80 -u 80 -g 80 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
> Also, is there any documentation on splogger? I haven't been able to find
> any.
>
> Sincerely,
> Noah Sutherland   System Administrator - Internet On-Ramp
> [EMAIL PROTECTED]
>
> To get my PGP public key, please email to [EMAIL PROTECTED]
> or you can get it at BAL's public key server at http://pgp.ai.mit.edu/

--

Regards,

Edward Castillo-Jakosalem




relay logging

1999-11-29 Thread Noah Sutherland

OK, I am using tcpserver to do selective relaying. Is logging done of the
connections that are rejected? If so, how do I find them. Is there
something I can grep my log file for? For reference, here's my startup
line:

/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -c 80 -u 80 -g 80 0 smtp 
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &

Also, is there any documentation on splogger? I haven't been able to find
any.

Sincerely,
Noah Sutherland   System Administrator - Internet On-Ramp
[EMAIL PROTECTED]

To get my PGP public key, please email to [EMAIL PROTECTED]
or you can get it at BAL's public key server at http://pgp.ai.mit.edu/



[Q] How to Configure Qmail to be a Selective NON-Relay

1999-11-29 Thread 배성식

Hi~

I use qmail-1.03 + mysql at RedHat 6.0 for free mail service.

I set control/rcpthosts as empty so my mailserver is open relay.


I want selectively not relay for special sender domain to prevent spam mail.

How can I configure qmail to be a selective non-relay?

I already set control/badmailfrom as following :

@sbsmail.co.kr

but It seems not work.

thank you.





delivery priority

1999-11-29 Thread Subba Rao


How can I set delivery priority to high or normal? Is this something
done by MTA,MDA or MUA? I am thinking it is by MUA, but in my case, Mutt does
not have anything to do with setting the priority to mail.

Any pointers appreciated.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



Re: Error message in .qmail

1999-11-29 Thread martin

This is the perfect use for the bouncesaying command.

You could replace 'exit 100' with 'bouncesaying "Sorry I'm not going to
send this message"'

This will give a "hard error" and the informative error message that
you have passed as an argument to bouncesaying.

-Martin

On 30 Nov, Jan Stanik wrote:
  : Hi,
  : 
  : I have this line in .qmail-default file:
  : 
  : | [ "$HOST" = "domain.sk" ] && exit 100 || exit 0
  : 
  : which returns a "hard error" message to the sender, if host domain 
  : is "domain.sk". What I need is put to that message exact reason 
  : of undelivery (e.g. "User uknown"). How can I do that?
  : 
  : 

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



Error message in .qmail

1999-11-29 Thread Jan Stanik

Hi,

I have this line in .qmail-default file:

| [ "$HOST" = "domain.sk" ] && exit 100 || exit 0

which returns a "hard error" message to the sender, if host domain 
is "domain.sk". What I need is put to that message exact reason 
of undelivery (e.g. "User uknown"). How can I do that?




vacation program's envelope sender

1999-11-29 Thread Chris Garrigues

I'm using Peter Samuel's qmail vacation program and a user complained because 
she got a bounce when it tried to tell a spammer that she was on vacation.

Would it be a bad thing for vacation to set the envelope sender to something 
non-replyable like the mailer-daemon does?

Chris

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


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

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



 PGP signature


Re: control/locals

1999-11-29 Thread Dustin Marquess


 Make sure you send qmail-send a SIGHUP signal (eg: kill -HUP pid) 
in order to make it reread the file.

 Also, if it's a virtual domain, you probably want it in 
control/virtualdomains and not control/locals.

 -Dustin

At 04:34 PM 11/29/99 , Brian Moon wrote:
>Hi,
>
>I keep getting bounces on a virtual domain.
>
> >Hi. This is the qmail-send program at chandra025.circle.net.
> >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.
> >
> ><[EMAIL PROTECTED]>:
> >Sorry. Although I'm listed as a best-preference MX or A for that host,
> >it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
>
>
>It is listed in control/locals:
>
>chandra025.circle.net
>dealmac.com
>dealnews.com
>deal-mac.com
>deal-pc.com
>dealpc.com
>dealchat.com
>
>
>Can someone help?
>
>Brian.
>--
>http://brian.threadnet.com
>



Re: control/locals

1999-11-29 Thread Keith Warno

Hmm this may sound silly, but did you add that host to locals and not
restart qmail?


- Original Message -
From: Brian Moon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 29 November 1999, Monday 17:34
Subject: control/locals


> Hi,
>
> I keep getting bounces on a virtual domain.
>
> >Hi. This is the qmail-send program at chandra025.circle.net.
> >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.
> >
> ><[EMAIL PROTECTED]>:
> >Sorry. Although I'm listed as a best-preference MX or A for that host,
> >it isn't in my control/locals file, so I don't treat it as local.
(#5.4.6)
>
>
> It is listed in control/locals:
>
> chandra025.circle.net
> dealmac.com
> dealnews.com
> deal-mac.com
> deal-pc.com
> dealpc.com
> dealchat.com
>
>
> Can someone help?
>
> Brian.
> --
> http://brian.threadnet.com
>
>
>
>



Re: urgent help?

1999-11-29 Thread Brad Shelton

On Mon, Nov 29, 1999 at 08:23:51PM +0700, waskita adijarto wrote:
> On Mon, 29 Nov 1999, Arisandy Arief wrote:
> 
> > Date: Mon, 29 Nov 1999 16:15:16 +0700
> > From: Arisandy Arief <[EMAIL PROTECTED]>
> > To: Qmail List <[EMAIL PROTECTED]>
> > Subject: urgent help? 
> > 
> > hi...
> > my Qmail server already run until 157 days but now...when I try send to some
> > mailbox the message didn't arrive until now?? why??
> > qmail-qstat :
> > 
> > messages in queue: 17106
> > messages in queue but not yet preprocessed: 37

What does '/var/qmail/queue/lock/trigger' look like?

Should look like this:

prw--w--w-   1 qmails   qmail   0 Nov 29 17:29 trigger

Boy this is an often occurring problem

> wow, there are so many messages in queue.
> 
> probably:
> #1. you've just injected thousands of messages, OR 
> #2. the server cannot deliver the messages to the destinations.
> 
> you may want to look at your qmail log to see what happen with the
> messages. are many of them rejected ? time outs ? if #2 is your problem,
> what are the destinations ? what are the sources ?
> 
> what is your control/concurrencuremote ? control/concurrencylocal ?
> 
> > and now my /var/qmail/queue use 50% of partition?? before that just 3-10%
> > what should I do??
> 
> some that my work:
> - increase control/concurrencyremote (max number depends especially on 
>   amount of RAM)
> - check your internet link
> - decrease control/queuelifetime
> 
> -waskita-
> 

-- 
Brad Shelton  On Line Exchange  http://online-isp.com



control/locals

1999-11-29 Thread Brian Moon

Hi,

I keep getting bounces on a virtual domain.

>Hi. This is the qmail-send program at chandra025.circle.net.
>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.
>
><[EMAIL PROTECTED]>:
>Sorry. Although I'm listed as a best-preference MX or A for that host,
>it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)


It is listed in control/locals:

chandra025.circle.net
dealmac.com
dealnews.com
deal-mac.com
deal-pc.com
dealpc.com
dealchat.com


Can someone help?

Brian.
--
http://brian.threadnet.com





Problem installing - Sorry, _no_mailbox_here_by_that_name.

1999-11-29 Thread Jennifer Tippens

Hello,
I'm having a problem installing qmail.  I have been using Life with
qmail as a guide.  I have everything installed and the 4 qmail daemons
are running along with a couple of supervise, multilogs, a svscan and a
tcpserver.
defaultdelivery is:
./Maildir/

I have done:
qmail-pw2u < /etc/passwd > /var/qmail/users/assign
qmail-newu
qmail cdb

cd /home/jennifer
su jennifer
maildirmake ./Maildir

Under aliases, I have the the following files and they all contain the
one word, jennifer:
.qmail-root
.qmail-postmaster
.qmail-mailer-daemon

So, I start qmail:
qmail start

and check /var/log/qmail/current
and I get a status line - no errors there.

So I try to send an empty message to the user jennifer:
echo to: jennifer | /var/qmail/bin/qmail-inject

There is no mail in /home/jennifer/Maildir/new
and
tail /var/log/qmail/current
gives:

longnumberhere info msg 442894: bytes 1913 from <#@[]> qp 5516 uid 501
longnumberhere
longnumberhere
longnumberhere
longnumberhere
longnumberhere




qdologs-1.1 available

1999-11-29 Thread Peter Green

This package is something I posted to the list a while back. It's been
prettied up, documented (somewhat), and released under the GPL.

Home: 
Download: 

'archive-maillogs' backs up qmail maillogs based on day. The script can read
active qmail log directories or process existing archives (to split them up,
for instance).

'process-maillogs' reports on an archived qmail maillogs. Currently, it
reports the overall stats (using zoverall from qmailanalog) and RBL and DUL
stats. (Any of these three can be turned off.)

Please direct any questions on these packages my way.  Check out more
OSS at Gospelcom at ! 

/pg
-- 
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]



Can't receive external mail

1999-11-29 Thread Bruce Fletcher

I've set up qmail on an OpenBSD 2.5/i386 box.  Most of the tests
in TEST.deliver and TEST.receive work fine, but I can't get the
box to receive mail externally.  Here's the error message:

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

   - Transcript of session follows -
procmail: Denying special privileges for
"/www/home/.com/.info/procmailrc"
procmail: Couldn't read
"/www/home/.com/.info/procmailrc"
550 <[EMAIL PROTECTED]>... Can't create output

I can send mail to the 'bruce' account by telnetting to
the SMTP port on the box as described in the test documents, so
I would expect an external mail message to work as well.

I'm curious about these messages from procmail; I used
/var/qmail/boot/home as my /var/qmail/rc, not boot/proc, and I
don't understand why someone is looking for files under /www,
which is not a directory on my box. (it is an http server, though)

How do I begin to debug this?

Thanks for any help,
- Bruce



Re: virtualdomains setup trouble

1999-11-29 Thread Philip Gabbert


Yup.. But what you need to do is:
[EMAIL PROTECTED]:tony

and in your directory have: .qmail-root
with a single line: [EMAIL PROTECTED]

Now, qmail does not deliver any mail to root. Qmail will deliver any mail for
root via what's specified in the .qmail-root file located in the aliases
directory in your qmail directory.
There is also an ability to have a .qmail-postmaster file which works as a
catch all for localhost.

Philip

tony cricelli wrote:

> Philip,
>
> That did it!  I had a blank .qmail-default   Doh!!
> I knew it had to be something simple that I would slap my head
> with!  Thanks for the help.
>
> Now, is it possible for qmail to send mail to a virtual domain
> to different poeple. For example in virtualdomains I would like
> to put:
>
> stockdigest.net:tony
> [EMAIL PROTECTED]:[EMAIL PROTECTED]
>
> --tony
> - Original Message -
> From: "Philip Gabbert" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, November 28, 1999 10:23 PM
> Subject: Re: virtualdomains setup trouble
>
> >
> > In the .qmail-default file that's located in tony's directory you need to
> > have "./Maildir/"
> > I found that I'm having to use .qmail-default insead of .qmail, so I would
> > try that.
> >
> > Pretty much copy or rename your .qmail file to .qmail-default.
> >
> > Philip
> >
> > > From: "tony cricelli" <[EMAIL PROTECTED]>
> > > Date: Sat, 27 Nov 1999 02:11:30 -0800
> > > To: <[EMAIL PROTECTED]>
> > > Subject: Re: virtualdomains setup trouble
> > >
> > > Here is what I have:
> > >
> > > grep stock /var/qmail/control/rcpthosts
> > > stockdigest.net
> > > stockdigest.com
> > > stock-digest.com
> > >
> > > grep stock /var/qmail/control/virtualdomains
> > > stockdigest.net:tony
> > > stockdigest.com:tony
> > > stock-digest.com:tony
> > >
> > > Should the .qmail-default have anything special in there?
> > >
> > > --tony
> > >
> > > - Original Message -
> > > From: "John White" <[EMAIL PROTECTED]>
> > > To: "tony cricelli" <[EMAIL PROTECTED]>
> > > Sent: Sunday, November 28, 1999 7:53 PM
> > > Subject: Re: virtualdomains setup trouble
> > >
> > >
> > >> What are the results of:
> > >>
> > >> grep stock /var/qmail/control/rcpthosts
> > >> grep stock /var/qmail/control/virtualdomains
> > >>
> > >
> > >
> >
> >



Something's wrong with SMTP

1999-11-29 Thread romulus

Hi, folks!

Today some trouble arose when I tried to get my mail from my Mail SP:
fetchmail did its job as it has been doing it for weeks -- until all
of a sudden I read the following lines on the screen:

  smtp connection to localhost failed.
  exit status=0
  query status=10

Perhaps some further info could help fixing the problem:

My fetchmail version: 5.0.0 My qmail version: 1.03

The contents of my .fetchmail file:

poll mail.arcor-ip.de proto pop3 user r.matthiaslampert with pass
** forcecr keep

Maybe the command line fetchmail is called with could be helpful, too:

fetchmail --smtpaddress homeoftux.netofrome.de -v

The --smtpaddress part is needed for qmail to accept mail that is
actually delivered for 'localhost'.

If you need the contents of my control/alias files for qmail, here you
have it!

virtualdomains:
:alias-ppp
[EMAIL PROTECTED]:alias-arcormail
[EMAIL PROTECTED]:alias-arcormail

rctphosts:
homeoftux.netofrome.de

~alias/.qmail-arcormail-romulus:
&[EMAIL PROTECTED]

Something must be wrong here, and I don't even know whether this is a
qmail question at all -- I already expect some flames for bothering
the qmail mailing list with fetchmail questions.

I know Dan Bernstein is not a fetchmail enthusiast at all, but he
hasn't provided or at least mentioned any satisfactory alternatives to
it -- yet.

Could you?

--
 Matthias Lampert, Hamburg



RE: qmail + sslwrap

1999-11-29 Thread Van Liedekerke Franky

The problem in this approach is that you make a new connection to localhost.
This messes up things like 
serialmail... and the -exec option doesn't accept options for the program,
unless you hack up the source.
I've heard about stunnel as well. Which of the two packages is the favorite?

Franky

> --
> From: Chris Johnson[SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 29, 1999 5:47 PM
> To:   Van Liedekerke Franky
> Cc:   'qmail list'
> Subject:  Re: qmail + sslwrap
> 
> On Mon, Nov 29, 1999 at 09:24:42AM +0100, Van Liedekerke Franky wrote:
> > Hi,
> > 
> > has anyone succeeded in using sslwrap together with tcpserver for
> qmail-pop?
> > And would that person mind sharing his experience?
> 
> I've been using it for ages. I followed the sslwrap documentation to
> create the
> certificates and whatnot, and here's the script I use to start it up:
> 
> #!/bin/sh
> 
> exec tcpserver -RH -c10 -u444 -g444 0 spop3 /usr/local/libexec/sslwrap \
> -cert /usr/local/openssl/certs/server.pem -port 110
> 
> UID and GID 444 belong to an unprivileged user and group I created;
> there's no
> reason to run it with root privileges.  
> 
> I have qmail-popup/qmail-pop3d running in the conventional way on port
> 110.
> 
> Chris
> 



Re: Qmail Send sleep time..

1999-11-29 Thread Dave Sill

Philip Gabbert <[EMAIL PROTECTED]> wrote:

>Place this into the FAQ. Say something like:
>First thing to check for most problems with qmail is trigger. It must have
>permissions looking like:
>etc.. 

Something like:

  http://Web.InfoAve.Net/~dsill/lwq.html#trigger

Perhaps?

-Dave



Re: qmail + sslwrap

1999-11-29 Thread Chris Johnson

On Mon, Nov 29, 1999 at 09:24:42AM +0100, Van Liedekerke Franky wrote:
> Hi,
> 
> has anyone succeeded in using sslwrap together with tcpserver for qmail-pop?
> And would that person mind sharing his experience?

I've been using it for ages. I followed the sslwrap documentation to create the
certificates and whatnot, and here's the script I use to start it up:

#!/bin/sh

exec tcpserver -RH -c10 -u444 -g444 0 spop3 /usr/local/libexec/sslwrap \
-cert /usr/local/openssl/certs/server.pem -port 110

UID and GID 444 belong to an unprivileged user and group I created; there's no
reason to run it with root privileges.  

I have qmail-popup/qmail-pop3d running in the conventional way on port 110.

Chris



vpopmail 3.4.10 stable released

1999-11-29 Thread Ken Jones


vpopmail 3.4.10 stable is now available
http://www.inter7.com/vpopmail/

All current 3.4.10 beta users are encouraged to upgrade.

New features in 3.4.10:
- mysql and cdb support
- new adaptive user directory layout which optimizes inode 
  usage for 10 to 10 million accounts
- new C api and library 
- many bug fixes and enhancements

Ken Jones
Inter7



Re: __canary_death_handler

1999-11-29 Thread A. van Drie


Hi,

please ignore the original message.

gcc stackguard was installed on the machine, and i don't wanna use that.
I'll restart :)

Thanx anyway...

Arjen.


On Mon, 29 Nov 1999, A. van Drie wrote:

> 
> Hi,
> 
> can anybody help me out?
> while running `make setup check` i get the seemingly undocumented
> errors (i read the FAQ and other docs):
> 
> ---
> ./load auto-str substdio.a error.a str.a
> auto-str.o: In function `puts':
> auto-str.o(.text+0x4b): undefined reference to `__canary_death_handler'
> auto-str.o: In function `main':
> auto-str.o(.text+0x14b): undefined reference to `__canary_death_handler'
> substdio.a(substdo.o): In function `allwrite':
> substdo.o(.text+0x77): undefined reference to `__canary_death_handler'
> substdio.a(substdo.o): In function `substdio_flush':
> substdo.o(.text+0xd7): undefined reference to `__canary_death_handler'
> substdo.o(.text+0x113): undefined reference to `__canary_death_handler'
> substdio.a(substdo.o)(.text+0x1b3): more undefined references to
> `__canary_death_handler' follow
> collect2: ld returned 1 exit status
> make: *** [auto-str] Error 1
> -
> 
> I also ran ldconfig, i think i'm missing a lib...
> 
> Thank you,
> Arjen van Drie.
> 
> 
> 

--__--__--__--__--__--__--__--__--__--

Indien vanaf dit adres een testmail is  
verstuurd voor Vuurwerk Internet, wordt 
in principe niet gereageerd op replies  
hierop. U kunt uw reply versturen aan   
[EMAIL PROTECTED]

__--__--__--__--__--__--__--__--__--__



Re: Weird thing with ETRN patch

1999-11-29 Thread Timothy L. Mayo

On Mon, 29 Nov 1999, Paulo Jan wrote:

[snip]

> 74,77d73
> < void smtp_etrn()
> < {
> <   out("250 ok\r\n");
> < }
> 236,237c232
> <   smtp_greet("250-"); 
> <   out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n");

This line is the problem.  It should read:

out("\r\n250-PIPELINING\r\n250-8BITMIME\r\n250 ETRN\r\n");
  ^ Must be a '-' not a ' '. :)

> ---
> >   smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
> 413d407
> < , { "etrn", smtp_etrn, flush }
> 
> 
> 
> 
>   Paulo Jan.
>   DDnet.
> 

-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax



Weird thing with ETRN patch

1999-11-29 Thread Paulo Jan

Hi all:

Today I tried to recompile qmail-smtpd to make it recognize the ETRN
command, following Anand Buddhdev's mail to this list from last june
(BTW: thanks for your clarification about setlock). I already have
serialmail and AutoTURN set up, and this change was just so that
qmail-smtpd didn't answer an "Unimplemented" to the clients that sent an
ETRN command.
The patch that Anand proposed in his mail was, from what I can see,
trivial:

-Add an ", { "etrn", smtp_etrn, flush }" line to the "smtpcommands
part.
-Add a smtp_etrn function, that just returns "250 ok".
-Add "ETRN" to the line that advertises the capabilities of the server.

I'm adding the diff below, at the end of the mail. Even for a complete
C ignorant like me, it should be obvious that the above mentiond changes
are trivial. Right? Well, I compile it, substitute for old binary
(stopping qmail-smtpd first, of course)... and all hell breaks loose.
A few minutes later, my coworkers tell me that they can't send mail
using Netscape, which gives a "Protocol error" or some other similarly
unhelpful message. Outlook Express, Eudora and manually telnetting to
port 25 can send mail fine. We also check that the sendmail server of
one of our customers, which receives mail for another domain, can't send
mail to our server, leaving an error message that says: "SMTP DATA-1
protocol error: 250 ok".
Since the mail server is in production and we're on office hours, we
can't really experiment too much, so I copy over the old qmail-smtpd
binary. Then, minutes later, I try to recompile the patched
qmail-smtpd.c again, taking extra care this time to delete all the
object files that existed from the last compilation (I think I deleted
them the first time, but just in case...). The result is exactly the
same.
Now the question: why does this happen? Not that it's a life or death
matter, since AutoTURN is working anyway, but I just can't understand
how such a trivial patch can cause these problems. Maybe one of the "250
ok" messages in the source has a newline or return carriage missing (or
has an extra one), but I just checked, and all the ones added by the
patch end in "\r\n", so...
(I'm using Linux 2.0.34 with GCC 2.7.2. I used the same environment to
compile the qmail 1.03 that we use and didn't have any problems).
Oh, yes, the diff between the modified qmail-smtpd.c and the original
one:


74,77d73
< void smtp_etrn()
< {
<   out("250 ok\r\n");
< }
236,237c232
<   smtp_greet("250-"); 
<   out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n");
---
>   smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
413d407
< , { "etrn", smtp_etrn, flush }




Paulo Jan.
DDnet.



Re: relay

1999-11-29 Thread Fred Lindberg

On Mon, 29 Nov 1999 09:33:14 +0100, Hans Sandsdalen wrote:

>I would prefer a solution where qmail responded with this message
>when it is talking to the "other end" (not accept the mail at all).
>
>qmail does not accept a mail when the from field is in the
>badmailfrom file  :)

qmail-smtpd.c. Look at badmailfrom implementation. Your hack is a
simpler version. All you do is check if '%' is in the recpient address.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)




__canary_death_handler

1999-11-29 Thread A. van Drie


Hi,

can anybody help me out?
while running `make setup check` i get the seemingly undocumented
errors (i read the FAQ and other docs):

---
./load auto-str substdio.a error.a str.a
auto-str.o: In function `puts':
auto-str.o(.text+0x4b): undefined reference to `__canary_death_handler'
auto-str.o: In function `main':
auto-str.o(.text+0x14b): undefined reference to `__canary_death_handler'
substdio.a(substdo.o): In function `allwrite':
substdo.o(.text+0x77): undefined reference to `__canary_death_handler'
substdio.a(substdo.o): In function `substdio_flush':
substdo.o(.text+0xd7): undefined reference to `__canary_death_handler'
substdo.o(.text+0x113): undefined reference to `__canary_death_handler'
substdio.a(substdo.o)(.text+0x1b3): more undefined references to
`__canary_death_handler' follow
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1
-

I also ran ldconfig, i think i'm missing a lib...

Thank you,
Arjen van Drie.




Re: help!!! failure notice (fwd)

1999-11-29 Thread Peter Haworth

> 
> I installed qmail and with procmail so that all mails will be sent to
> $HOME/.qmail 

So you are using .qmail as a mail box?


> i just couldnt understand...for the first time  i send a remote
> message...there seems to be no problem...it successfully be
> delivered.but well the second time it bounces and seems dont know what
> the main problem is...this shown below are the bounce message from where
> my qmail is locatedsaying that there no mailbox by my newly created
> accountanybody could help me please?

Actually, since .qmail is your mailbox, after you receive the first message, it
is treated as delivery instructions for all subsequent messages. The error is
actually saying that each line of your first message is not a valid address.

.qmail is for delivery instructions only. Try delivering to $HOME/Mailbox


> -- Forwarded message --
> Date: 26 Nov 1999 06:11:21 -
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: failure notice
> 
> Hi. This is the qmail-send program at server.linux.cebu.pilnet.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)
> 
> :
> Sorry, no mailbox here by that name. (#5.1.1)

-- 
Peter Haworth   [EMAIL PROTECTED]
There are two major things to come out of Berkeley, LSD and BSD.  We
don't believe this to be a coincidence. - Jeremy S. Anderson



Re: relay

1999-11-29 Thread thomas . erskine-dated-62b97174ec7b6ff0

On Sun, 28 Nov 1999, Hans Sansdalen wrote:

[snip]
> >qmail does not support the percenthack per default.
> >You have to manually add support for it by creating
> >/var/qmail/control/percenthack. So no worries. 
> 
> I created the file. Is that all? I could not find it documented
> anywhere? Is an empty file enough?

For any of qmail's control files "man qmail-control" is your friend.
It'll tell you which control file gets read by which program.

> I want an email with a "to" address with ".*%.*@.*" to be rejected.

So if someone has an address which happens to have a "%" in it (which is
completely legal in the local part) you want to refuse delivery?  Or only
for local deliveries?  The reason that the control file is called
percenthack, is that it's not a standard, it's just a kludge to ask a
particular host to relay to somewhere else, originally as a gateway to
some other mail system.  If that host doesn't know about the expected
meaning of the percent hack, it will attempt to deliver it locally.

The "problem" is as Russ has said that certain (all, that I've seen)  
relay-checking code assumes that acceptance of the percent-hacked address
implies that the host will relay.  As qmail accepts (almost) everything
and checks it later, the bounce refusing to relay is generated later.

[snip]

-- 
"Life is much too important to be taken seriously."
Thomas Erskine<[EMAIL PROTECTED]>(613) 998-2836



Re: urgent help?

1999-11-29 Thread waskita adijarto

On Mon, 29 Nov 1999, Arisandy Arief wrote:

> Date: Mon, 29 Nov 1999 16:15:16 +0700
> From: Arisandy Arief <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: urgent help? 
> 
> hi...
> my Qmail server already run until 157 days but now...when I try send to some
> mailbox the message didn't arrive until now?? why??
> qmail-qstat :
> 
> messages in queue: 17106
> messages in queue but not yet preprocessed: 37

wow, there are so many messages in queue.

probably:
#1. you've just injected thousands of messages, OR 
#2. the server cannot deliver the messages to the destinations.

you may want to look at your qmail log to see what happen with the
messages. are many of them rejected ? time outs ? if #2 is your problem,
what are the destinations ? what are the sources ?

what is your control/concurrencuremote ? control/concurrencylocal ?

> and now my /var/qmail/queue use 50% of partition?? before that just 3-10%
> what should I do??

some that my work:
- increase control/concurrencyremote (max number depends especially on 
  amount of RAM)
- check your internet link
- decrease control/queuelifetime

-waskita-



qmail Digest 29 Nov 1999 11:00:01 -0000 Issue 834

1999-11-29 Thread qmail-digest-help


qmail Digest 29 Nov 1999 11:00:01 - Issue 834

Topics (messages 33666 through 33684):

Re: relay
33666 by: Magnus Bodin
33667 by: Hans Sansdalen
33671 by: Fred Lindberg
33682 by: Hans Sandsdalen

cyclog: warning: unable to create...
33668 by: Julian Alvarez Venegas
33672 by: Fred Lindberg

virtualdomains setup trouble
33669 by: tony cricelli
33670 by: Brad Shelton
33673 by: tony cricelli
33674 by: Philip Gabbert
33675 by: tony cricelli
33676 by: tony cricelli
33677 by: Philip Gabbert
33679 by: tony cricelli

a blacklist for qmail to handle
33678 by: Dongping Deng

Re: Maildir format
33680 by: Mikko Hänninen

qmail + sslwrap
33681 by: Van Liedekerke Franky

urgent help?
33683 by: Arisandy Arief

performance problem/todo backlogs
33684 by: petervd.vuurwerk.nl

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 Sun, Nov 28, 1999 at 11:42:45AM +0100, Hans Sansdalen wrote:
> At 19:30 27.11.99 +0100, Magnus Bodin wrote:
> >On Sat, Nov 27, 1999 at 06:24:28PM +0100, Hans Sansdalen wrote:
> >> Hi 
> >> 
> >> I'm used to sendmail, the the response "We do not relay" when
> >> people use "%...@domain" in the to field. I have tried to 
> >> make qmail give some response of the same kind, but I haven't 
> >> succeded. Tried the wildmat-0.2-patch, but it was not for version
> >> 1.03?
> >
> >qmail does not support the percenthack per default.
> >You have to manually add support for it by creating
> >/var/qmail/control/percenthack. So no worries. 
> 
> I created the file. Is that all? I could not find it documented
> anywhere? Is an empty file enough?
> 
> I want an email with a "to" address with ".*%.*@.*" to be rejected.

You should NOT create the file if you want these to be rejected. 
As I said: "qmail does not support the percenthack per default."

So if you want to reject this, then remove the percenthack file.
(But if you want to support it, yes an empty file is enough).

If you want to REJECT the mails, then you must patch qmail. (I don't know
the patch you need). 

But if you can live with just bouncing them, then look at my former
suggestion. 

/magnus

-- 
http://x42.com/




At 12:10 28.11.99 +0100, Magnus Bodin wrote:
>On Sun, Nov 28, 1999 at 11:42:45AM +0100, Hans Sansdalen wrote:
>> At 19:30 27.11.99 +0100, Magnus Bodin wrote:
>> >On Sat, Nov 27, 1999 at 06:24:28PM +0100, Hans Sansdalen wrote:
>> >> Hi 
>> >> 
>> >> I'm used to sendmail, the the response "We do not relay" when
>> >> people use "%...@domain" in the to field. I have tried to 
>> >> make qmail give some response of the same kind, but I haven't 
>> >> succeded. Tried the wildmat-0.2-patch, but it was not for version
>> >> 1.03?
>> >
>> >qmail does not support the percenthack per default.
>> >You have to manually add support for it by creating
>> >/var/qmail/control/percenthack. So no worries. 
>> 
>> I created the file. Is that all? I could not find it documented
>> anywhere? Is an empty file enough?
>> 
>> I want an email with a "to" address with ".*%.*@.*" to be rejected.
>
>You should NOT create the file if you want these to be rejected. 
>As I said: "qmail does not support the percenthack per default."
>
>So if you want to reject this, then remove the percenthack file.
>(But if you want to support it, yes an empty file is enough).
>
>If you want to REJECT the mails, then you must patch qmail. (I don't know
>the patch you need). 
>

Anyone have an idea? And if, where do I find it?

Tried to use the wildmat-0.2 patch (with uses a file badmailpatterns), but
that was not for qmail-1.03.

>But if you can live with just bouncing them, then look at my former
>suggestion. 
>
>/magnus
>
>-- 
>http://x42.com/
>
>





On Sat, 27 Nov 1999 18:24:28 +0100, Hans Sansdalen wrote:

>I'm used to sendmail, the the response "We do not relay" when
>people use "%...@domain" in the to field. I have tried to 
>make qmail give some response of the same kind, but I haven't 

What's wrong with:

| echo "$LOCAL" | grep -v '%' >/dev/null 2>&1 || { echo "We do not
relay"; exit 100; }

in ~alias/.qmail-default


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






Fred Lindberg wrote:
> 
> On Sat, 27 Nov 1999 18:24:28 +0100, Hans Sansdalen wrote:
> 
> >I'm used to sendmail, the the response "We do not relay" when
> >people use "%...@domain" in the to field. I have tried to
> >make qmail give some response of the same kind, but I haven't
> 
> What's wrong with:
> 
> | echo "$LOCAL" | grep -v '%' >/dev/null 2>&1 || { echo "We do not
> relay"; exit 100; }
> 
> in ~alias/.qmail-default
> 
> -Sincere

performance problem/todo backlogs

1999-11-29 Thread petervd

My situation:
PII-500/512MB
2 9GB scsi disks (one for /var/qmai/queue, one for the rest of the system)
user homedirs mounted over NFS (but that's not relevant here)
running stock redhat 1000fd 2.0.36 linux kernel (from RPM)

I'm running a small script that injects 1000 distinct messages, all destined
for either devnull@localhost or devnull@remotehost, in the localhost case
corresponding to a .qmail file with just '#' in it.
On this particular machine, concurrency never goes higher than 4 or 5 as long
as the script is periodically injecting messages. Looking at qmail-qstat
periodically during the run shows the number of unpreprocessed messages (aka
in the todo/ queue) growing to about 130 at the moment the 1000th message is
injected. Only then (when the script stops injecting) qmail-send suddenly
gains speed and concurrency does hit the roof, with the second number in
qmail-qstat quickly dropping.

Tests on other machines (our heavily loaded shellserver, or my homebox which
is not half as powerful) show very different results: qmail is not even
slightly impressed with the numerous injections and handles everything
gracefully, with a todo/ queue never bigger than 1 or 2 messages.

The bad results were observed on a heavily patched qmail, my first suspect
was the big-todo patch. Removing it made no difference. I tried a completely
vanilla qmail, with no difference either.

Anobody got any ideas? The machine is not swapping heavily.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



urgent help?

1999-11-29 Thread Arisandy Arief

hi...
my Qmail server already run until 157 days but now...when I try send to some
mailbox the message didn't arrive until now?? why??
qmail-qstat :

messages in queue: 17106
messages in queue but not yet preprocessed: 37

and now my /var/qmail/queue use 50% of partition?? before that just 3-10%
what should I do??

thanks...



Re: relay

1999-11-29 Thread Hans Sandsdalen

Fred Lindberg wrote:
> 
> On Sat, 27 Nov 1999 18:24:28 +0100, Hans Sansdalen wrote:
> 
> >I'm used to sendmail, the the response "We do not relay" when
> >people use "%...@domain" in the to field. I have tried to
> >make qmail give some response of the same kind, but I haven't
> 
> What's wrong with:
> 
> | echo "$LOCAL" | grep -v '%' >/dev/null 2>&1 || { echo "We do not
> relay"; exit 100; }
> 
> in ~alias/.qmail-default
> 
> -Sincerely, Fred
> 
> (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)

I would prefer a solution where qmail responded with this message
when it is talking to the "other end" (not accept the mail at all).

qmail does not accept a mail when the from field is in the
badmailfrom file  :)
-- 
/hans



qmail + sslwrap

1999-11-29 Thread Van Liedekerke Franky

Hi,

has anyone succeeded in using sslwrap together with tcpserver for qmail-pop?
And would that person mind sharing his experience?

Thanks!

Franky