Re: Qmail-Scanner

2001-08-13 Thread Robert Sander

On 14 Aug 2001 02:47:18 +0200,
 Craig Spiers [EMAIL PROTECTED] wrote:
 is there any way to make qmail-scanner leave an email it has been scanned 
 allready? 

You do not want to do this, because between two runs of the qmail-scanner
is one .qmail file, where it is very simple to add a virus...

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: Can I use qmail for this purpose? (newbie)

2001-08-07 Thread Robert Sander

On 8 Aug 2001 07:01:31 +0200,
 Jean-Christian Imbeault [EMAIL PROTECTED] wrote:
 Our office uses Windows and MS Outlook. Can Outlook work with qmail? Can 
 users just POP or IMAP off of qmail? Do I need another piece of software to 
 link the two?

Let me answer this question quickly before Robin awakes. ;-)

Get the Courier imapd from www.inter7.com and you can do
IMAP with every client you like, including Outlook.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: .qmail-everybody?

2001-06-20 Thread Robert Sander

On 20 Jun 2001 15:40:43 +0200,
 David Gartner [EMAIL PROTECTED] wrote:
 Dave,
 
 That was a typo ^^;; The *real* .qmail files read:
 
| /usr/bin/perlscript
 ./Maildir/
 
 And a couple other question come to mind Is there no way to force
 qmail to use the defaultdelivery and the .qmail files?  Also, how does the
 defaultdelivery apply to /var/qmail/alias/.qmail-aliased users?

Use the users/assign mechanism. Read qmail-users(5)

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: Broadcast Message??

2001-06-08 Thread Robert Sander

On 8 Jun 2001 14:34:17 +0200,
 Kirti S. Bajwa [EMAIL PROTECTED] wrote:
 Chris:
 
 One of the company I work for has qmail with 200 users. They have to patch a
 system file which require that the system be re-booted. Instead of just
 shutting down the system, they want to send a email message to everybody
 announcing the planned shutdown.
 
 IS IT A SPAM?
 
 I think in future keep your comments to yourself until you know what the
 hell you are talking about. use your energies for productive work.

No this is not spam, but there are alternatives:

Create a mailinglist where every user is subscribed (automatically when-
ever a new user is added to the system). Have this list moderated by
the sysadmin. Now the sysadmin is able to send mails to everyone.

Use newsgroups.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: 452_Insufficient_system_storage

2001-05-31 Thread Robert Sander

On 31 May 2001 10:12:46 +0200,
 Tom Beer [EMAIL PROTECTED] wrote:
 Hi,
 
 if I send a mail to an excite.de account with some attachements the messages
 will not
 be delivered, because there is insuffiscent system stroage. But why don't I
 get an
 mail that the messages bounces, or would not be delivered, and how can I
 accomplish to get a mail?
 
 
 @40003b15d6e62db5f914 starting delivery 594: msg 224165 to remote
 [EMAIL PROTECTED]
 @40003b15d6e62db652ec status: local 0/10 remote 1/20
 @40003b15d6ed1942ed34 delivery 594: deferral:
 198.3.99.212_failed_on_DATA_command./Remote_host_said:_452_Insufficient_syst
 em_storage/
 @40003b15d6ed194356ac status: local 0/10 remote 0/20

because error code 4xx means temporary failure, the mail is still
in Your queue and delivery will be retried for 7 days (as default).

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: webmail recommendations?

2001-05-23 Thread Robert Sander

Hi!

We are happy with Aeromail, an IMAP-based PHP webmail script (or
scripts). It comes with Debian sid and has a homepage:
http://the.cushman.net/projects/aeromail/

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: Maildrop : Good info/examples ?

2001-04-30 Thread Robert Sander

On 30 Apr 2001 14:50:31 +0200,
 Tom Vandeplas [EMAIL PROTECTED] wrote:

 in ~/.qmail 
|/usr/local/bin/maildrop 
 
 in ~/.mailfilter 
if(/^From: *[EMAIL PROTECTED]/)
{
  to INBOX.qMail List
}
 
 in /etc/maildroprc
DEFAULT=./Maildir

You really want to subscribe to any mailing-list using an address like
[EMAIL PROTECTED]
Then put ./Maildir/.qmail/ into ~vandeplas/.qmail-qmaillist and
receive all the list's mails to that directory.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



rblsmtpd more verbose to sender

2001-04-23 Thread Robert Sander

Hi!

As we are getting more and more complaints from normal users trying
to send us emails but being rejected because their mailserver is in
MAPS or ORBS, we did set up a webpage with a little explanation and
made rblsmtpd's return error message pointing to that webpage.

The output of rblsmtpd is now something like this:

553 Open relay - see 
http://www.epigenomics.com/bounced.php3?reason=http://www.orbs.org/verify.php3?address=12.11.158.146

The patch is based on the RSS patch for rblsmtpd and just inserts an
arbitrary string in front of the http://; found in most TXT records
returned by MAPS or ORBS. The string is passed to rblsmtpd via a new
argument -w .

You can find the patch on ftp://ftp.epigenomics.org/pub/oss/ucspi-tcp/

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: newbie: relaying

2001-03-28 Thread Robert Sander

On 28 Mar 2001 12:07:40 +0200,
 - = k o l i s k o = - [EMAIL PROTECTED] wrote:

0 root@egarden:qmail# cat locals
egarden.cz
os2.cz
sinaj.cz
0 root@egarden:qmail# cat me
egarden.cz
0 root@egarden:qmail# cat rcpthosta
egarden.cz

0 root@egarden:qmail# telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
helo 220 egarden.cz ESMTP
helo seznam.cz
250 egarden.cz
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
data
354 go ahead
Subject: test relay

this is only relaying test.
kolisko
.
250 ok 985773667 qp 23681
quit
221 egarden.cz
Connection closed by foreign host.

You connected from Your own host. I think You have additionally a cdb
for the tcpserver where qmail-smtpd is running under, where 
RELAYCLIENT="" is set. Look for something like this.
It is perfectly OK when You do selective relaying based on IP-addresses
You know and trust.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: How to get them out of Maildr?

2001-02-13 Thread Robert Sander

On 13 Feb 2001 12:59:43 +0100,
 INSOMNIA - Janusz Oles [EMAIL PROTECTED] wrote:
Yes. but I don't use pine (if there'll be no other solution I will).
I need different way out then pine, I would like to be able to check
mail (let's say form Outlook, which is installed on other computer
running WindowsMe).

Then You have to setup an IMAP-Server, look for courier-imap

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: the rss patch to rblsmtpd

2001-01-31 Thread Robert Sander

On 31 Jan 2001 06:59:09 +0100,
 Mate Wierdl [EMAIL PROTECTED] wrote:
When testing the patch with Russ's test, I get

220 rblsmtpd.local
helo rrss.crynwr.com
250 rblsmtpd.local
mail from:
250 rblsmtpd.local
rcpt to:[EMAIL PROTECTED]
451 Open relay problem - see?
+URL:http://www.mail-abuse.org/cgi-bin/nph-rss?192.203.178.70
Terminating conversation

But the URL just gives  me a form to enter an IP.  Is that correct?

They changed the script on the webserver, it now expects a query-var.
So the full URL now should read like
http://www.mail-abuse.org/cgi-bin/nph-rss?query=192.203.178.70

I think everyone should change their qmail-start script...

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



rblsmtpd patch

2001-01-29 Thread Robert Sander

Hi!

I have made a patch to rblsmtpd that allows to call an arbitrary
program whenever a connecting mailserver is in one of the lists.

I use it to send the postmasters of this host and the respective
domains a short mail saying that they have an open relay and they
should fix it.

This is maybe not what everybody wants, because it generates traffic.
But I have my users in the back complaining about not getting mails
from the outside. So I started to send out mails manually to the
respective postmasters to close their open relays.
This was getting too much work, therefore this patch:

ftp://epigenomics.org/pub/oss/ucspi-tcp/rblsmtpd.patch

When rblsmtpd is called with the new option "-x /path/to/program", it
calls the program every time a connecting mailserver is blocked and
quits. It calls the given program, which gets all the environment
variables from tcpserver and a new one set by rblsmtpd: $RBLMESSAGE,
which is the message the connecting mailserver was rejected with.

The program now can make decisions based on $TCPREMOTEHOST et. al.
to do anything like sending mail to postmaster@$TCPREMOTEHOST.

I do know that the error should show up in the logs of the remote
host, but when they are misconfigured, it is likely the postmaster
does not look into the logs. I do hope she/he is looking into the
mailbox...

In the ftp-directory is a sample bash script called rblscript that
sends a short mail to the postmaster of the remote host.

Please feel free to send any additions/corrections to me.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



using amavis

2000-12-06 Thread Robert Sander

Hi!

When using amavis, do not forget that You have symlinks for qmail-local
and qmail-remote!
I just made a make setup in qmail-src and the scanscript was overwritten
with the content of qmail-remote. Having a symlink from qmail-local
to the scanscript, qmail-remote was called when qmail-local should
have been called.
Very nasty error... 

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



Re: rblsmtpd and relays.mail-abuse.org

2000-08-11 Thread Robert Sander

On Thu, Aug 10, 2000 at 09:33:22AM -0700, Jon Rust wrote:
snip /usr/local/bin/rblsmtpd -b -t10\
-r rbl.maps.vix.com \
-r dul.maps.vix.com \
-r relays.mail-abuse.org snip

It seems to me that rblsmtpd can only take one "-r" at a time, as I have
version 0.70 that may be a bit old. But they can be ordered in a row, as
in
   rblsmtpd -r rbl.maps.vix.com \
   rblsmtpd -r dul.maps.vix.com \
   rblsmtpd -r relays.mail-abuse.org ...

That seems to be fixed with the version of rblsmtpd in ucspi-tcp 0.86

Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: Maildir Creation

2000-08-11 Thread Robert Sander

On Fri, Aug 11, 2000 at 01:42:21PM +0100, Slider wrote:
 
 
 Hi all,
 
 I am trying to create a small Sun Solaris 5.7 development server! I am
 having trouble creating the Maildir for the user when I am adding him!
 
 Command thus # useradd -s /bin/true -d /usr/home/user -m user
 
 Unfortunately this is not creating the Maildir

Isn't solaris also copying the initial files from /etc/skel or similar?
Then just put a Maildir into that directory.

-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: Slow Slow Mail Delivery, Not Trigger Permissions

2000-07-21 Thread Robert Sander

On Fri, Jul 21, 2000 at 09:02:34AM -0700, [EMAIL PROTECTED] wrote:
  Messages In Queue: 44
  Message in Queue but notyet preprocessed: 0

What does qmail-qread say? Maybe these are just messages that could not
be delivered.

Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin




qmail-vacation

2000-07-20 Thread Robert Sander

Hi!

The link to qmail-vacation on www.qmail.org seems to be broken.
And qmail-vacation.pl on
http://www.kw.nl/~pike/ScripTz/qmail/qmail-vacation-1.3/ is not readable.
I am looking for another location...

Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: qmail-vacation

2000-07-20 Thread Robert Sander

On Thu, Jul 20, 2000 at 07:53:32AM +, Mikael Schmidt wrote:
  The link to qmail-vacation on www.qmail.org seems to be broken.
  I am looking for another location...
 You can get it at ftp.itsec.nu/pub/daemons/qmail

I am in no luck today:

ERROR

The requested URL could not be retrieved



While trying to retrieve the URL: ftp://ftp.itsec.nu/pub/daemons/qmail 

The following error was encountered: 

  Connection Failed 

  The system returned: 

 (113) No route to host

The remote host or network may be down. Please try the request again. 
  
Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: qmail-vacation

2000-07-20 Thread Robert Sander

On Thu, Jul 20, 2000 at 10:43:29AM +0200, Magnus Bodin wrote:
 Here it is:http://x42.com/qmail/contrib/
Yes! x42.com is the place to go, thanks!
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



patch to qmail-vacation

2000-07-20 Thread Robert Sander

Hi!

I have made a little patch to qmail-vacation. It had the nasty behaviour
to regexp the Delivered-To lines. Very uncomfortable if you are dealing
with virtual domains...
See attachment.

Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin


--- vacation.pl.origThu Jul 20 16:09:37 2000
+++ vacation.pl Thu Jul 20 16:09:51 2000
@@ -411,8 +411,8 @@
 
 if ($check_to_and_cc)
 {
-   ($to) = ($header =~ /To:\s+(.*)/i);
-   ($cc) = ($header =~ /Cc:\s+(.*)/i);
+   ($to) = ($header =~ /^To:\s+(.*)/i);
+   ($cc) = ($header =~ /^Cc:\s+(.*)/i);
$to .= ', ' . $cc if $cc;
$to = lc($to);
 



Re: CNAME_lookup_failed_temporarily._(#4.4.3)

2000-07-06 Thread Robert Sander

On Wed, Jul 05, 2000 at 01:12:42PM -0400, Dave Sill wrote:
 Claudinei Luis Bianchini [EMAIL PROTECTED] wrote:
 
 I had applied the patch for this and work very well with BIND.
 recently, I changed to DNScache and this message came back. 
 
 where's the problem ??
 
 Exactly. What makes you think this message indicates a problem on your 
 end?

That exactly was my question about one week ago. How do I know where the
problem is?

Greetings
-- 
Robert Sander
Epigenomics AG   www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: CNAME-Lookup-Failure

2000-06-30 Thread Robert Sander

On Thu, Jun 29, 2000 at 10:33:50AM -0400, Christopher K Davis wrote:
 Have you installed one of the qmail "big DNS" patches such as
 URL: http://www.ckdhr.com/ckd/qmail-103.patch ?  It looks like their
 ANY response can easily be larger than 512 octets.

But does qmail not just do a MX lookup?

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



CNAME-Lookup-Failure

2000-06-29 Thread Robert Sander

Hi!

We have a qmail-system that is running fine, as expected. The only problem is
that my users are not able to send mails to techfak.uni-bielefeld.de because
of "CNAME lookup failed temporarily. (#4.4.3)" happening.
I got this mail from their admin that says, it is a qmail fault. The error
is in the used version of libresolv. I cannot believe this.
Please give me some statements to help me argue. ;-)

- Begin forwarded message -

Hallo,

[EMAIL PROTECTED]:
CNAME lookup failed temporarily. (#4.4.3)

wie ich vermutet habe ist das ein Problem mit "qmail" im Zusammenspiel mit
der Resolver-Library. "qmail" ist an der Stelle ``broken by design'' und
der eigentliche Fehler steckt in der eingesetzten Version der libresolv.

Wenden Sie sich bitte an Ihren Netz-/Systemverwalter, um das Problem dort
beheben zu lassen.

Gruss,
  Peter Koch

- End forwarded message -

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: CNAME-Lookup-Failure

2000-06-29 Thread Robert Sander

On Thu, Jun 29, 2000 at 10:22:06AM +0200, Magnus Bodin wrote:
 Do you have any internal DNS:s?

I have them, but it also looks okay: host -t mx techfak.uni-bielefeld.de
techfak.uni-bielefeld.deMX  300 mail1.rrz.Uni-Koeln.DE
techfak.uni-bielefeld.deMX  100 gemma.techfak.uni-bielefeld.de

 (dnsmxip comes in your qmail-distribution)
Oh, yes, but it didn't got installed...

I think, these MX's were set up after my first complaint...

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



local delivery strangeness?

2000-06-23 Thread Robert Sander

Hi!

Where has this message gone?

Jun 23 18:39:05 einstein qmail: 961778345.318647 new msg 16012
Jun 23 18:39:05 einstein qmail: 961778345.318807 info msg 16012: bytes 294 from  qp 
30890 uid 71
Jun 23 18:39:05 einstein qmail: 961778345.326744 starting delivery 27207: msg 16012 to 
local @einstein.epigenomics.de
Jun 23 18:39:05 einstein qmail: 961778345.327033 status: local 1/10 remote 0/20
Jun 23 18:39:05 einstein qmail: 961778345.329393 delivery 27207: success: 
Jun 23 18:39:05 einstein qmail: 961778345.329472 status: local 0/10 remote 0/20
Jun 23 18:39:05 einstein qmail: 961778345.329529 end msg 16012

It came from me, speaking smtp over telnet and doing a mistake with mail from
and rcpt to ;-)...

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: local delivery strangeness?

2000-06-23 Thread Robert Sander

On Fri, Jun 23, 2000 at 06:55:59PM +0200, Steffan Hoeke wrote:
 On Fri, Jun 23, 2000 at 06:53:06PM +0200, Robert Sander wrote:
  Hi!
  
  Where has this message gone?
 Have you checked /var/qmail/alias/Mailbox or /var/qmail/alias/Maildir/ ?
 If memory serves that's where messages end up with which qmail doesn't know
 what to do...
 The other alternative is the postmaster's mailbox 

My alias does not have a Maildir, but a .qmail that points to me, and with
postmaster the same...

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: IMHO, qmail should exit ....

2000-05-29 Thread Robert Sander

On Mon, May 29, 2000 at 06:19:46AM -, Russell Nelson wrote:
 It's *always* a mistake for an alias to match a real user's name.

No, I do not think so. It is even impossible to determine all the aliases at
startup, because the underlying system is a "living" one. And in ~alias
there may exist .qmail-user entries for existing users. They are used when
the homedir of the user is not accessible.

Greetings
-- 
Robert Sander www.gurubert.de



Re: IMHO, qmail should exit ....

2000-05-29 Thread Robert Sander

On Mon, May 29, 2000 at 12:23:54PM +0200, Peter van Dijk wrote:
 For the 'unaccessible homedir' part: you have a good point, but
 users/assign is really a much better solution for that.
Yes, but this is just another place for me to define aliases, or not?
And why it is so much better than plain ~alias/.qmail, performance left aside?

Greetings
-- 
Robert Sander www.gurubert.de



Re: IMHO, qmail should exit ....

2000-05-29 Thread Robert Sander

On Mon, May 29, 2000 at 01:25:14PM -0400, Russell Nelson wrote:
 any of them.  If so, qmail should not start up, because something is
 Obviously Wrong.  I'm not talking about -default files, just the rest
 of them.

No, I do not think that there is something wrong when there are
alias entries for existing users. I need them, because I have
some of my users homedir mounted via an unreliable network.

Greetings
-- 
Robert Sander www.gurubert.de



Re: qmail-local

2000-05-26 Thread Robert Sander

Hi!

I have now another solution, that is better, I think:

There are two hosts, einstein and raman, serving the users home on both
side of the WaveLAN. einstein is the main MX, raman the MX for the other
side. ramanuser is a user behind the WaveLAN. On einstein the files
~alias/.qmail-ramanuser and ~alias/.qmail-ramanuser-default exist and contain
"|/usr/bin/forward $[EMAIL PROTECTED]"
The homedir of ramanuser is NFS-mounted on einstein from raman. The information
is deployed via NIS.

Under normal conditions einstein retrieves all mail and delivers them to the
users homedir, for some user via NFS. Now if the NFS is not accessible
because of an WaveLAN-outage, the ~alias/.qmail-ramanuser* files are used
and the mail should be forwarded to raman via SMTP. And because raman is
not reachable, the mail gets queued, generated by a temporary failure.
Without that qmail-local would generate a permanent failure, resulting
in a bounce message.

The setup on raman is similar, it provides local mail delivery on the other
side of the WaveLAN.

Any comments?

Greetings
-- 
Robert Sander www.gurubert.de



qmail-local

2000-05-23 Thread Robert Sander

Hi!

I made this patch to qmail-local.c to enable only a temporary error if the
NFS-mounted Homedir is not present:


--- qmail-local.c.orig  Tue May 23 09:11:37 2000
+++ qmail-local.c   Tue May 23 09:11:43 2000
@@ -586,7 +586,7 @@
  qmesearch(fd,flagforwardonly);
  if (fd == -1)
if (*dash)
- strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)");
+ strerr_die1x(111,"Sorry, no mailbox here by that name. (#5.1.1)");
 
  if (!stralloc_copys(ueo,sender)) temp_nomem();
  if (str_diff(sender,""))

Some of my users homedirs are mounted over an unreliable network (aka WaveLAN)
that could sometimes fail. I need the qmail-local to just fail temporarily
and try the delivery later again.

Are the any side-effects with this? And how long is the timeout for the
temporary deferral?

Greetings
-- 
Robert Sander www.gurubert.de



Re: qmail-local

2000-05-23 Thread Robert Sander

On Tue, May 23, 2000 at 10:03:16AM +0200, Petr Novotny wrote:
 
 A message to a non-existent mailbox will also be held in queue 
 and bounced after a long time. Not too nice, if the sender just 
 misspelled the address and learns that not before a week.

Yes, but that should be ok, especially when I decrease the queuelifetime.

Greetings
-- 
Robert Sander www.gurubert.de



Re: vpopmail, virtual users and procmail - possible?

2000-03-04 Thread Robert Sander

On Sat, Mar 04, 2000 at 12:30:00AM +0100, Peter Bieringer wrote:
 Now procmail should sort out all e-mails from maillists and forward them to
 "list4peter". At the moment, this works well on a sendmail-based system,
 but I want to move it to qmail.

Just subscribe to all list with adresses like [EMAIL PROTECTED]
You do not need procmail for mailinglists with qmail.

Greetings
-- 
Robert Sander www.gurubert.de



where to get cyclog

2000-02-28 Thread Robert Sander

Hi!

My question is now, where do I get cyclog from? I just downloaded 
daemontools-0.61 (all my sources state that it is included there), but after 
compiling nothing looks like an executable named cyclog...

Greetings
-- 
Robert Sander www.gurubert.de



Re: SMTP in distributed DOS

2000-02-21 Thread Robert Sander

On Mon, Feb 21, 2000 at 05:18:55PM +, Michael Shields wrote:
 
 Return-Path: 
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 15733 invoked by alias); 21 Feb 2000 17:17:31 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 15730 invoked for bounce); 21 Feb 2000 17:17:30 -
 Date: 21 Feb 2000 17:17:30 -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: failure notice
 Lines: 29
 Xref: challah.msrl.com MSRL.COM:10378

This is obviously a bounce generated by qmail running on challah.msrl.com 
which I believe does not belong to AOL, or does it?

I have also teh feeling that AOL silently drops error messages...

-- 
Robert Sander www.gurubert.de



Re: Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/

2000-02-15 Thread Robert Sander

On Tue, Feb 15, 2000 at 03:15:51PM +0545, Shashi Dahal wrote:
 Dear all !
 
 For some time now, I have been getting a lot of messages like
 "Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/"

This happens if you do not set the default delivery method at qmail-startup in 
the rc-file. It happens to me when I edited /etc/init.d/qmail with "ae" where 
ae looses a linebreak and suddenly two lines were commented out where I only 
want to have one commented out ...

Use better editors is my advice ;-)

Greetings
-- 
Robert Sander www.gurubert.de



Re: Virtual Domains Aliases

2000-02-04 Thread Robert Sander

On Fri, Feb 04, 2000 at 08:39:01AM -0500, [EMAIL PROTECTED] wrote:

Set up an entry in virtualdomains like

vdomain.foo:alias-virtual-vdomain

Every mail to [EMAIL PROTECTED] would be redirected to the local 
[EMAIL PROTECTED]

Set up an ~alias/.qmail-virtual-vdomain-default that contains

|/var/qmail/bin/forward `echo $LOCAL | cut -f 4- -d "-"`

That cuts the first three parts of alias-virtual-vdomain-user revealing the 
real username. Look into dot-qmail(5) for explanations of the 
Enverinmoentvariables.

Greetings
-- 
Robert Sander www.gurubert.de



Re: Virtual Domains Aliases

2000-02-04 Thread Robert Sander

On Fri, Feb 04, 2000 at 03:01:11PM -, Petr Novotny wrote:

  Set up an ~alias/.qmail-virtual-vdomain-default that contains
  
  |/var/qmail/bin/forward `echo $LOCAL | cut -f 4- -d "-"`
  
  That cuts the first three parts of alias-virtual-vdomain-user
  revealing the real username.
 
 $DEFAULT would do just fine.

But is $DEFAULT not the complete address [EMAIL PROTECTED], or am I missing 
something here, is it just the user-part?

BTW: the man page is qmail-command(8)

Greetings
-- 
Robert Sander www.gurubert.de



Re: Virtual Domains Aliases

2000-02-04 Thread Robert Sander

On Fri, Feb 04, 2000 at 11:02:09AM -0500, Chris Johnson wrote:

 Mail to [EMAIL PROTECTED] is delivered locally as virtual-vdomain-user. If that
 ends up being handled by ~alias/.qmail-virtual-vdomain-default, then $DEFAULT
 is user, i.e. the address with virtual-vdomain stripped off. If the address
 wound up being handled by .qmail-virtual-default, then $DEFAULT would have been
 vdomain-user. It's the portion of the address that matches the -default part of
 the .qmail-... file.

I see, I just thought -default matches the complete [EMAIL PROTECTED] part.

Then it is very (and more performant) in .qmail-virtual-vdomain-default:

|/usr/bin/forward $DEFAULT

should do it.

Greetings
-- 
Robert Sander www.gurubert.de



Re: Virtual Domains Aliases

2000-02-04 Thread Robert Sander

On Fri, Feb 04, 2000 at 11:12:59AM -0500, Chris Johnson wrote:
  Then it is very (and more performant) in .qmail-virtual-vdomain-default:
  |/usr/bin/forward $DEFAULT
  should do it.
 
 That'll deliver the mail locally. If you want to do that, just make it a local
 domain. I don't think that's what you want to do.
 
 If all mail for this domain is to be sent off to some other server, just list
 the domain in rcpthosts, remove it from locals and virtualdomains, and put:
 
 vdomain.foo:mailserver.for.vdomain.foo
 
 in control/smtproutes. Unless I misunderstand your original question, this is
 all you need to do.

It was not my original question. But the thread was useful to me because I 
have a setup with a mailserver handling several domains and every user is a 
local one. I have set up virtualdomains in the described way to handle them. 
But $DEFAULT would just do it, too.

Greetings
-- 
Robert Sander www.gurubert.de



Re: Rretriving from mail server

2000-01-31 Thread Robert Sander

On Mon, Jan 31, 2000 at 08:01:06PM +0600, Md. Sifat Ullah Patwary wrote:

 This is not the answer of my question. I can work with qmail-ppp3d. Its the
 qmail pop3 setver. My question was how can I use qmail as fetchmail.

Just use fetchmail and let it deliver to the local smtp port.

-- 
Robert Sander www.gurubert.de



Re: subdomain qmail locals

2000-01-28 Thread Robert Sander

On Fri, Jan 28, 2000 at 12:27:52AM -0600, Scott Beck wrote:

 I just downloaded that patch. You said you do not have any benchmark
 results from it but do you think is will be faster to do
 ^([^\.]+\.)?domain$ or list 3000 sub.domain. Both at this point are
 an option.

Look at the implementation. I am using the regex functions from libc, 
compiling the patterns when starting qmail-send and then only matching aginst 
them. It should be reasonably fast, but as stated I have no numbers because I 
have not a big mailserver.

Greetings
-- 
Robert Sander www.gurubert.de



Re: subdomain qmail locals

2000-01-27 Thread Robert Sander

On Thu, Jan 27, 2000 at 12:48:51PM -0500, Dave Sill wrote:
 Scott Beck [EMAIL PROTECTED] wrote:
 How do I set *.domain as a local delivery in
 /var/qmail/control/locals or do I need to do something entirly
 different?
 There's no wildcard mechanism for control/locals. You'll need to list
 all of the domains.

You could give my patch a try, which adds regular expressions to
 control/locals. But I have no numbers on performance issues.

Look at http://beteigeuze.cs.tu-berlin.de/linux/qmail/

Greetings
-- 
Robert Sander



Re: ANNOUNCE: /var/qmail/control/locals and regex

1999-09-21 Thread Robert Sander

[EMAIL PROTECTED] (Claus Färber) wrote:

 Much of work?
 All you have to do is (untested):
 controls/virtualdomains:
 .example.com:alias-piffle
 alias/.qmail-default:
 |forward "$DEFAULT"
 (Yes, that's less work than applying a patch!)
 Inconsistent?
 Maybe.

I see, but is that documented anywhere?

And I still think this is the "territory" auf control/locals because I do
not have a "virtual"domain, but a real one ;-)

Greetings
-- 
[EMAIL PROTECTED]
innominate AG
networking people
fon: +49.30.308806-45  fax: -77 web: http://innominate.de



Re: ANNOUNCE: /var/qmail/control/locals and regex

1999-09-21 Thread Robert Sander

On Tue, Sep 21, 1999 at 10:13:28AM -0400, Adam D . McKenna wrote:

  And I still think this is the "territory" auf control/locals because I do
  not have a "virtual"domain, but a real one ;-)
 
 Don't reject a solution because you don't like the semantics.

I do not reject it, I just offer another solution. Let the people decide.
And the performance. (Could anybody test my patch?)

Greetings
-- 
Robert Sander   "Is it Friday yet?"
  @Home http://home.pages.de/~gurubert
pgp available there



Re: ANNOUNCE: /var/qmail/control/locals and regex

1999-09-19 Thread Robert Sander

Russell Nelson [EMAIL PROTECTED] wrote:
 What problem does this solve that a virtualdomain does not?  Yes,
 control/locals allows only literal entries, but control/virtualdomains 
 allows wildcards of the form ".foo.bar:piffle" to match "biff.foo.bar".
 It also allows "baz.foo.bar:" to *not* be caught by the preceding entry.

Yes, that is possible, but then I have to setup a user piffle, and his
.qmail file has to filter the mailadresses and deliver the mail to the
correct local user. I think this is too much work and a kind of
inconsistency.

If aI have only [EMAIL PROTECTED], then I would do it this way
with an entry in virtualdomains like his.virtual.domin:someuser or alike.

But I have (virtually ;-) a big network of hosts, and everyone has the
same users (over NIS). I think it is more easier with one line in locals
like ^(.*\.){0,1}mydomain.net$ than the construct mentioned above.

Greetings
-- 
Robert Sander   "Is it Friday yet?"
  @Home http://home.pages.de/~gurubert
pgp available there



ANNOUNCE: /var/qmail/control/locals and regex

1999-09-17 Thread Robert Sander

Hi!

There is now a webpage for the regex-patch at

http://beteigeuze.cs.tu-berlin.de/linux/qmail/

-- 
Greetings

Robert Sander
home.pages.de/~gurubert, pgp available there



Re: locals and regex

1999-09-17 Thread Robert Sander

Hi!

So this must be worked out in the docs, or?

Greetings
-- 
Robert Sander   "Is it Friday yet?"
  @Home http://home.pages.de/~gurubert
pgp available there



/var/qmail/control/locals and regex

1999-09-15 Thread Robert Sander

Hi!

I made a patch to qmail-1.02 to have regular expressions in
.../control/locals. This avoids the need to put every host in the local
domain into that file. I think it is stable, but Your mileage may vary.

I haven't testet it under heavy load, it depends on how fast the regexec
function is. Maybe it could be faster than the old hash-function when
dealing with a large amount of hostnames, but I am not sure.

Now case ignoring extended regular expression are allowed in locals. And
if you prepend a regular expression with "!", it is negated. Order is now
important, the first match counts. Doing it this way you can have a
general regex for your domain and before that a special one excepting
some hostnames.

Please send any comments to me via personal mail.

P.S.: my SYSTYPE is linux-2.2.12-:i386-:-:ppro-:-

Greetings
-- 
Robert Sander   "Is it Friday yet?"
  @Home http://home.pages.de/~gurubert
pgp available there

 qmail_regex.tar.gz