This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Sendmail 8.11.1 partial port


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@oops.ip6seguridad.com, size=40, class=0, nrcpts=1, msgid=<200012111616.eBBGGfG00319@oops.ip6seguridad.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@myrealbox.com, ctladdr=pruiz@oops.ip6seguridad.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@ip6seguridad.com)
> Tiger Team (Hax0r Group ;) )
> 
> 
> 
> 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]