From owner-freebsd-isp Fri Sep 4 08:19:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03820 for freebsd-isp-outgoing; Fri, 4 Sep 1998 08:19:13 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.craxx.com (taz.craxx.com [195.108.198.110]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA03780; Fri, 4 Sep 1998 08:18:46 -0700 (PDT) (envelope-from lva@dds.nl) Received: from uptight (cal050106.student.utwente.nl [130.89.230.96]) by mail.craxx.com (8.9.1a/8.9.1) with ESMTP id RAA01417; Fri, 4 Sep 1998 17:17:35 +0200 (CEST) From: "laurens van alphen" To: Cc: Subject: small LDA c program requested Date: Fri, 4 Sep 1998 17:17:20 +0200 Message-ID: <000501bdd817$1c440870$60e65982@uptight.student.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi all, working with cucipop-1.31 and the new vpop features. there are numerous bugs in the implementation that i basically fixed. my next move was a LDA that will deliver the way cucipop wants it: /var/mail/domain/user: #!/bin/sh umask 077 cat - >> /var/mail/${1}/${2} this indeed works. all i need now i a port to c for speed and security. things that need to be added are: - regex $1 and $2 to match a-z and - and . - check $1 (directory) exists, if not bail - check symlinks in $1 and $2 probably? the sendmail backend is this /etc/mail/virtusertable: user@domain: domain-user /etc/mail/aliases: domain-user: "|/path/to/script domain user" can i boil this in a sendmail Mmailer? am i missing something? can anyone help? suggestions welcome -- laurens van alphen craxx® e-consultants alphen@craxx.com http://craxx.com/ -- de informatie verzonden met dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. gebruik van deze informatie door anderen dan de geadresseerde is verboden. openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. craxx staat niet in voor de juiste en volledige verbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan. -- the information contained in this communication is confidential and may be legally privileged. it is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. if you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. craxx is either liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message