Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 11 Dec 2000 21:15:23 -0800 From: "Stephen C. Biggs" Subject: Re: Sendmail 8.11.1 partial port In-reply-to: <20001211173335.A148@OOPS.ip6seguridad.com> To: cygwin AT cygwin DOT com Reply-to: s_c_biggs AT bigfoot DOT com Message-id: <3A3543EB.19740.172C8D@localhost> MIME-version: 1.0 X-Mailer: Pegasus Mail for Win32 (v3.12c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal On 11 Dec 2000, at 17:33, Pablo Ruiz Garcia wrote: > > Well, i got some time last weekend and started up porting sendmail 8.11.1 > What a coincidence. This is exactly what I am doing. I got a really snotty letter from Shapiro with something along the lines of "you, of course, are on your own"... so be it... I solved my problems myself. Serious jerk. Unix bigot. I think I am doing it right, but now I am trying to get bind to compile, since I am using a binary distribution that I don't really trust. I have never been a sendmail user, so this is kind of the hard way to learn how to use a package. > > First i use SleepyCat Berkely DB in rpm format i find somewhere, may be > sourceforce ? > > I'm actually able to "send mail" (this mail is sent using sendmail+mutt over > cygwin 1.1.6), but sendmail returns 71 after sending mail, i'm not too much sure why. > > I got problems with Berkely DB, probably beacuse it is 3.1.17 and sendmail > 8.11.1 works with 3.0 (AFAIK), anyway it isn't now the big problem.. > I have commented out #O AliasFile=/etc/mail/aliases on .cf file, > I will look at this problems, but as i said there are other things first. > Make sure you have libdb.a as your 3.1 library in /lib and Build seems to want db.h both in /usr/include and /usr/include/db3. If you have this, then Build will do the rest, defining -DNEWDB. If you want, I can send you my CYGWIN_NT-4.0 and the Build that I had to hack up a bit to get around the stupid translations to WINNT. I can't get mail.local to build because it needs F_LOCK > The big problem now is Permission/(set)[GU]ID/(get)[GU]ID && file locking issues > > > There are all syslog messages over a mail transaccion: > > > --- > : eBBGGfG00319: from=pruiz AT oops DOT ip6seguridad DOT com, size=40, class=0, nrcpts=1, msgid=<200012111616 DOT eBBGGfG00319 AT oops DOT ip6seguridad DOT com>, proto=SMTP, daemon=MTA, relay=localhost [127.0.0.1]. > > : eBBGGfG00319: SYSERR(root): cannot rename(./tfeBBGGfG00319, ./qfeBBGGfG00319), uid=500: Permission denied. > > : eBBGGfG00319: to=pci AT myrealbox DOT com, ctladdr=pruiz AT oops DOT ip6seguridad DOT com (1004/548), delay=00:00:11, xdelay=00:00:02, mailer=esmtp, pri=120040, relay=smtp.myrealbox.com. [192.108.102.201], dsn=2.0.0, stat=Sent (OK). > --- > > The problem fits on deliver.c but now i got no time to look at this. I have been reading about people trying to port sendmail, and this is my initial work, i wish it can be usefull. > > > Actualy it runs as TrustedUser=Administrator:Administrators, and it's started > from inetd using srvany.exe > > I've tried firedaemon (works with ssh and some other things) but i make some > crap with EventViewer output and i can't see syslog output from sendmail > i must use regedit to correct this.. so i don't recomend using firedaemon. > > May when other problems are fixed, it can be modified to run as a service > itshelf like inetd does. > > W/o too much to say.. > > -- > Pablo Ruiz Garcia (Pci) > Consultor de Seguridad > IP6 Seguridad. (pruiz AT ip6seguridad DOT com) > Tiger Team (Hax0r Group ;) ) > > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com