Sendmail 8.11.1 partial port
Pablo Ruiz Garcia
pruiz@ip6seguridad.com
Mon Dec 11 08:32:00 GMT 2000
Well, i got some time last weekend and started up porting sendmail 8.11.1
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.
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 ;) )
More information about the Cygwin
mailing list