Date: Fri, 4 Sep 1998 17:17:20 +0200 From: "laurens van alphen" <lva@dds.nl> To: <freebsd-isp@FreeBSD.ORG> Cc: <freebsd-security@FreeBSD.ORG> Subject: small LDA c program requested Message-ID: <000501bdd817$1c440870$60e65982@uptight.student.utwente.nl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501bdd817$1c440870$60e65982>