Re: forward and environment variables

1999-10-09 Thread Giles Lean


On Sat, 9 Oct 1999 08:41:32 +0100  Peter Gradwell wrote:

> My best idea so far is to deliver all the mail for all the domains 
> and deliver it to ~forwarder/.qmail-default. Then, that 
> .qmail-default file would have two lines
> 
> | rules.pl
> | forward $END_ADDRESS

> - now, the idea is that rules.pl would work out (from a mysql table) 
> where the messages was going and set the environment variable 
> $END_ADDRESS and then exit with the appropriate exit code (100??)

The environment variable won't be set once rules.pl has exited.  An
exit code of 100 will bounce the mail.  I expect you need to forward
the mail within rules.pl to do what you want.

> Now, I can see the following problems - IMHO is it not desirable to 
> pipe the whole message the rule.pl, else AFAIK the perl program may 
> have a huge file in memory.

Only if the perl script reads the message -- if it doesn't read it,
then it won't have to allocate the memory.

Regards,

Giles



Re: tcpserver

1999-10-09 Thread Timothy L. Mayo

On Sat, 9 Oct 1999, Bob Ross wrote:

> I'm running Linux Slackware 2.0.36, Qmail 1.03, this is a mail only
> server. Qmail is installed and running.
> 
> A couple month's ago I tried to install tcpserver and with the help from
> many in this group it would still not work at all, even when it said it
> was installed.
> 
> I have given it a rest and would like to try again.
> 
> I downloaded the release again .84 extracted it in it's own directory
> ran make and then make install setup.
> 
> In the inetd.conf I have removed the smtp line and replaced it with:
> tcpserver -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd &

tcpserver is NOT run from inetd.conf.  Remove this line and do NOT put
anything in inetd.conf for smtp.  Run tcpserver from the command line and
place it in your startup scripts (location depends on your version of
Unix).

> 
> when I restarted the server I tried to send mail to it and would receive
> the error in the logs unable to establish an smtp connection.
> 
> Thanks for any help in advance.
> Bob Ross
> 

-
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



tcpserver

1999-10-09 Thread Bob Ross

I'm running Linux Slackware 2.0.36, Qmail 1.03, this is a mail only
server. Qmail is installed and running.

A couple month's ago I tried to install tcpserver and with the help from
many in this group it would still not work at all, even when it said it
was installed.

I have given it a rest and would like to try again.

I downloaded the release again .84 extracted it in it's own directory
ran make and then make install setup.

In the inetd.conf I have removed the smtp line and replaced it with:
tcpserver -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd &

when I restarted the server I tried to send mail to it and would receive
the error in the logs unable to establish an smtp connection.

Thanks for any help in advance.
Bob Ross



Strange Problem

1999-10-09 Thread Marek Narkiewicz

I have qmail running.  These are the relevant processes:
/usr/local/bin/tcpserver -r -x/etc/tcp.smtp.cdb -c100
 4478 ?S  0:00 tcpserver 0 pop-3 /var/qmail/bin/qmail-popup orbital.
11780 ?S  0:00 qmail-send
11781 ?S  0:00 splogger qmail
11782 ?S  0:00 qmail-lspawn ./Mailbox
11783 ?S  0:00 qmail-rspawn
11784 ?S  0:00 qmail-clean

the two tcpserver lines correspond to the pop and smtp servers. As it stands qmail 
accepts messages (no error or bounce returned) but I can see no reason why the 
emails are not ending up in the correct popbox.  I use vpopmail to handle the pop 
accounts.  Is there anyone who has an idea for me to have a go at or do you need 
more info?  Cheers,
--
Marek Narkiewicz, Webmaster Intercreations
Reply to <-marek @ intercreations . com->
"Ticking away, the moments that make up a dull day"
Pink Floyd
Time



Re: (Fetchmail and Qmail) and losing adressing information

1999-10-09 Thread Sam

On Sat, 9 Oct 1999, Bram Heerink wrote:

> 
> Hey folks,
> 
> If mail comes 2 my Qmail server via SMTP, everything is fine.
> 
> But, if I get mail via Fetchmail, Qmail does not how 2 deliver it.
> 
> For some stupid reason Fetchmail strips off the delivery information.

I do not believe that it should be a POP3 client's job to sort downloaded
mail in any way, shape, fashion, or form.  A POP3 client should simply
download the mail from a remote mailbox into a local mailbox.

If you need to do any kind of post-processing on downloaded mail, use any
one of many mail filtering programs out there to do the job.




Re: Wildcards and users/assign

1999-10-09 Thread Tong YU

Yes.  Use '+' instead of '=' in users/assign.
'+' matches anything.

At 12:51 PM 10/9/99 +0200, Michael Legart wrote:
>Hi there,
>
>Is it possible to make wildcard aliases (*@domain) in a setup using
users/assign?
>
>
>-- 
>Michael Legart
>
>



(Fetchmail and Qmail) and losing adressing information

1999-10-09 Thread Bram Heerink


Hey folks,

If mail comes 2 my Qmail server via SMTP, everything is fine.

But, if I get mail via Fetchmail, Qmail does not how 2 deliver it.

For some stupid reason Fetchmail strips off the delivery information.

Log:
 
Oct  9 18:05:25 guts fetchmail[32199]: 1 message for [EMAIL PROTECTED] at pop.sitelite.nl 
(2506 bytes).
Oct  9 18:05:26 guts qmail: 939485126.569860 new msg 63519
Oct  9 18:05:26 guts qmail: 939485126.570103 info msg 63519: bytes 2794 from 
<[EMAIL PROTECTED]> qp 22425
+uid 514
Oct  9 18:05:26 guts qmail: 939485126.580550 starting delivery 660: msg 63519 to local 
bram@localhost
Oct  9 18:05:26 guts qmail: 939485126.580690 status: local 1/10 remote 0/20  
Oct  9 18:05:26 guts fetchmail[32199]: reading message 1 of 1 (2506 bytes) . flushed

Do you notice the bram@localhost? Because al that mail is sent 2 [EMAIL PROTECTED] or 
[EMAIL PROTECTED]

This is my .fetchmailrc

set daemon 30 # Poll at 5-minute intervals

poll pop.sitelite.nl envelope Delivered-To: 
protocol POP3
user [EMAIL PROTECTED]
pass 
forcecr
fetchall
set syslog

I digged in the archive, I digged in the Fetchmail pages, I'm unable 2 find the answer.

Meaby you folks know how 2 this.
 
Bram





-- 

G U T S   DIGITAL COMMUNICATIONS
HERENGRACHT 5621017 CH AMSTERDAM
TEL 020.33 0 32 60FAX 020.33 0 32 61
WWW.GUTS.NL [EMAIL PROTECTED]




IMAP

1999-10-09 Thread Emmanuel PIERRE

Hi,

I want to build up a system with virtuals email accounts with both POP
and IMAP.

so far, I've seen that only POP can do so.

Can you help me ? 

Regards,

Emmanuel



Re: Concurrency Limits

1999-10-09 Thread Magnus Bodin

On Sat, Oct 09, 1999 at 12:26:55PM +0800, DOODS wrote:
> 
> Hi to everyone!
> I've been using qmail's concurrency limit defaults of 10 for local and 20
> for remote since I first ran qmail. Lately however, I see that my remote
> deliveries always reach the limit.
> All I see in the man pages about limits is their default values. Now how
> can I change these values and should I restart my qmail-send process?
> Thanks in advance and more power to all!

Create the files concurrencyremote and concurrencylocal in your
/var/qmail/control-directory and put the appropriate values there.
Then give qmail-send a kill -HUP.

See further in

http://Web.InfoAve.Net/~dsill/lwq.html#config-files

/magnus
-- 
Selected as MOST useless 1998 -> http://x42.com/



RE: Queue stalls

1999-10-09 Thread Kevin Sawyer

> If you think there are messages in the queue that qmail-send doesn't
> see, identify one by searching the queue. See if you can determine
> when/how it was received.

OK, I'm finally on to something.  I'm seeing this in my logs:

warning: trouble opening local/xx/x; will try again later
warning: trouble opening remote/xx/x; will try again later

So, I went into /var/qmail/queue/mess/xx and looked at the files.  They look
fine.  They are owned qmailq.qmail with mode 0644.  After a few days of not
restarting qmail, there are hundreds of messages like this and there is no
rhyme or reason as to the directory/inode where they live.  If I restart
qmail, they disappear without further error.

That leave the question:  why can qmail-queue put them there in the first
place but qmail-send has trouble opening them until it has been restarted?

--Kevin



Wildcards and users/assign

1999-10-09 Thread Michael Legart

Hi there,

Is it possible to make wildcard aliases (*@domain) in a setup using users/assign?


-- 
Michael Legart



qmail Digest 9 Oct 1999 10:00:04 -0000 Issue 784

1999-10-09 Thread qmail-digest-help


qmail Digest 9 Oct 1999 10:00:04 - Issue 784

Topics (messages 31400 through 31429):

Re: IMAP & qmail
31400 by: Claudiu Balciza

configuring users on the FLY
31401 by: Amit Vadehra
31408 by: Ken Jones

Re: New mail notification
31402 by: Lorens Kockum

External Mailgateway
31403 by: Christian Wiese

Re: Problems with own mailing list...q
31404 by: Dave Sill

same domain on two mailservers
31405 by: Jan Stanik
31406 by: Russell Nelson
31413 by: Troy Morrison
31414 by: Adam D . McKenna
31426 by: Russell Nelson
31427 by: Russell Nelson

Qmail sets speed record!
31407 by: Fred Lindberg
31409 by: Roger Merchberger
31411 by: Lyndon Griffin
31417 by: thomas.erskine-dated-98a31fa227211846.crc.ca

Re: eXtreme forwarding - is it possible ?
31410 by: Kai MacTane

Modify Header, reply-to and from...
31412 by: Arne Bernin

Re: problem with svscan in daemontools 0.61
31415 by: George Hong

Re: Queue stalls
31416 by: Dave Sill

Re: 2) Triple Bounce
31418 by: jarrid jeeby

Setting up Maildirs  mail
31419 by: Joel Foote

Re: Beware when patching Solaris machines
31420 by: Giles Lean

qmail pop srvice
31421 by: Gustavo V G C Rios
31422 by: Sam
31423 by: Gustavo V G C Rios
31424 by: Sam
31425 by: courtney.whtz.com

Concurrency Limits
31428 by: DOODS

forward and environment variables
31429 by: Peter Gradwell

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



I'm using imap-4.5-3mdir1.i386.rpm and it works

Claudiu

-Original Message-
From: Alexander Grekhov <[EMAIL PROTECTED]>
To: qmail <[EMAIL PROTECTED]>
Date: Friday, October 08, 1999 02:16
Subject: IMAP & qmail


>Does anyone use any IMAP server with maildirs? I'm going to install mail
>server where all our company e-mail will be stored and I think IMAP is more
>suitable for this purpose than POP. Cyrus does not seem to support maildirs
>and I did not find any patches for it. WU-IMAP seems to be the only
>solution.
>
>I'd like to know if anyone is using such configuration as "production
>server".
>
>Thanks
>
>Alexander
>
>
>





HI,
I would like to creat a hotmail kind of a free mail system where a user
can give his/her details and create an id on my system. This means that the
software has to interface with a few files of qmail and create a user on the
fly.. how can i do that . is there any software in the market that will give
me this kind of functionality.
Thanks


Amit Vadehra

ICQ #: 43481951






Sure,

We are using:
1) qmail-1.03
2) ucspi
3) daemontools
4) vpopmail 
5) sqwebmail
6) A little cgi program that allows people to signup. 
   It will be included in the next release of vpopmail.

The next release of vpopmail will also have a new directory structure
to support >200,000 users more efficently.

Ken Jones
Inter7

Amit Vadehra wrote:
> 
> HI,
> I would like to creat a hotmail kind of a free mail system where a user
> can give his/her details and create an id on my system. This means that the
> software has to interface with a few files of qmail and create a user on the
> fly.. how can i do that . is there any software in the market that will give
> me this kind of functionality.
> Thanks
> 
> Amit Vadehra
> 
> ICQ #: 43481951




On the qmail list [EMAIL PROTECTED] wrote:
>   First sorry if this question is answered in docs.

It probably is ... somewhere :-)

>   My problem is that I want the "You have new mail" notification to
>use Maildir (a patch for bash or a PAM module or a biff program).

xbuffy does it really well.  It's not technically difficult,
anyway (you just test for the emptiness/non-emptiness of the
directory $MAILDIR/new).





Hi folks,

I' ve running a Qmail 1.03 server for our intranet.
Now I want to set up an external mailgateway behind a firewall.
All mails from the inernal Qmail server to a remote site should be send
directly into a POP3 mailbox of the mailgateway. If the mailgateway
recognize it has outgoing messages it should contact the mailserver of
our ISP to transfer the hole messages from outgoing mailbox.
In the other direction the mailgateway should poll all incoming messages
from the POP3 mailbox from our ISP's mailserver and should directly send
all messages to the internal Qmail server.

Q: How can I solve these Problems ?

Thank you very much

Christian





"Volker Jung" <[EMAIL PROTECTED]> wrote:

>please let me describe in detail what problems I have working with
>qmail correctly. I have a database with about 2 mail adresses
>inside. To everyone of that adresses I wish to