Tom Broadbent | 1 Dec 2003 08:19

mac os x 10.2


i am attempting to compile popa3d on mac os x 10.2.

i don't see a /etc/shadow file, and i do see a /etc/pam.d file.  this 
leads me to believe that pam is used and shadow passwords are not.

however, both shadow.h and the security/*.h files are missing from my 
dev tools include dirs.

any help appreciated.

thanks

Solar Designer | 4 Dec 2003 04:45
Favicon

Re: mac os x 10.2

Tom,

Sorry for the delay, -- I was hoping that someone more knowledgeable
in Mac OS X would help you out, but apparently this list is too small
(just 70 subscribers currently).

On Sun, Nov 30, 2003 at 11:19:59PM -0800, Tom Broadbent wrote:
> i am attempting to compile popa3d on mac os x 10.2.
> 
> i don't see a /etc/shadow file, and i do see a /etc/pam.d file.  this 
> leads me to believe that pam is used and shadow passwords are not.
> 
> however, both shadow.h and the security/*.h files are missing from my 
> dev tools include dirs.

This sounds like a lack of development libraries installed on your
system.  You can probably get them installed.

Alternatively, considering that OS X is rather BSD'ish, you can try
compiling with AUTH_PASSWD and it might just work due to getpwnam(3)
accessing the right password database.  Of course, you won't get the
flexibility of PAM in this way, but you may not need it for your
particular install.

Please post to the list once you have tried that.

--

-- 
Alexander Peslyak <solar@...>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments
(Continue reading)

Tom Broadbent | 4 Dec 2003 07:09

Re: mac os x 10.2


i read that shadow passwords were added in 10.3, though.  this could be 
why there aren't any shadow libs.  but no pam libs?  not sure...

the AUTH_PASSWD suggestion allows popa3d to compile.  it is validating 
passwords in stand-alone mode and, once inetd.conf was changed and 
inetd restarted, it validates via telnet.

sweet.

thanks for the help!

-----------------------------------------------------------

>> i am attempting to compile popa3d on mac os x 10.2.
>>
>> i don't see a /etc/shadow file, and i do see a /etc/pam.d file.  this
>> leads me to believe that pam is used and shadow passwords are not.
>>
>> however, both shadow.h and the security/*.h files are missing from my
>> dev tools include dirs.
>
> This sounds like a lack of development libraries installed on your
> system.  You can probably get them installed.
>
> Alternatively, considering that OS X is rather BSD'ish, you can try
> compiling with AUTH_PASSWD and it might just work due to getpwnam(3)
> accessing the right password database.  Of course, you won't get the
> flexibility of PAM in this way, but you may not need it for your
> particular install.
(Continue reading)

Niklas Lampén | 4 Dec 2003 09:30
Picon

popa3d not writing any logs

I'm running popa3d stand alone on Debian with postfix and pop-before-smtp.
 
Popa3d only writes log entries to /var/log/syslog, not to /var/log/maillog | /var/log/mail.log, where pop-before-smtp seems to be looking for login entries. Is there a way to fix/change this?
 
 
Niklas
 

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/
Boris Kovalenko | 4 Dec 2003 09:45
Picon
Favicon

Re: popa3d not writing any logs

Hello!

    POPA3D only writes to Syslog daemon, not in any files. Just check 
your syslog.conf and reroute messages to files You need.

Regards,
    Boris

Niklas Lampén wrote:

> I'm running popa3d stand alone on Debian with postfix and pop-before-smtp.
>  
> Popa3d only writes log entries to /var/log/syslog, not to 
> /var/log/maillog | /var/log/mail.log, where pop-before-smtp seems to 
> be looking for login entries. Is there a way to fix/change this?
>  
>  
> Niklas
>  
>
>------------------------------------------------------------------------
>
>
>
>###########################################
>This message has been scanned by F-Secure Anti-Virus for Internet Mail.
>For more information, connect to http://www.F-Secure.com/
>  
>

Niklas Lampén | 4 Dec 2003 10:46
Picon

RE: popa3d not writing any logs

I tried to look what I should change in syslog.conf, but I have to say
that I ran into a wall. :)
I would've guessed POPA3D would log as mail, but it doesn't. I would be
very thankful for more help.

The actual problem is pop-before-smtp doesn't get any logins = I cannot
get any relays to outside world. Local relays work just great. I do have
virtual hosts defined in Postfix, if it matters somehow with this.

Niklas

-----Original Message-----
From: Boris Kovalenko [mailto:boris@...] 
Sent: 4. joulukuuta 2003 10:46
To: popa3d-users@...
Subject: Re: popa3d not writing any logs

Hello!

    POPA3D only writes to Syslog daemon, not in any files. Just check 
your syslog.conf and reroute messages to files You need.

Regards,
    Boris

Niklas Lampén wrote:

> I'm running popa3d stand alone on Debian with postfix and
pop-before-smtp.
>  
> Popa3d only writes log entries to /var/log/syslog, not to 
> /var/log/maillog | /var/log/mail.log, where pop-before-smtp seems to 
> be looking for login entries. Is there a way to fix/change this?
>  
>  
> Niklas
>  
>
>-----------------------------------------------------------------------
-
>
>
>
>###########################################
>This message has been scanned by F-Secure Anti-Virus for Internet Mail.
>For more information, connect to http://www.F-Secure.com/
>  
>

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

Boris Kovalenko | 4 Dec 2003 11:12
Picon
Favicon

Re: popa3d not writing any logs

Hello!

    The simplest way is to use
!popa3d
*.*         /some/where/you/neeed

form, or popa3d uses ident of "popa3d" and "daemon" facility by default

Regards,
    Boris

Niklas Lampén wrote:

>I tried to look what I should change in syslog.conf, but I have to say
>that I ran into a wall. :)
>I would've guessed POPA3D would log as mail, but it doesn't. I would be
>very thankful for more help.
>
>The actual problem is pop-before-smtp doesn't get any logins = I cannot
>get any relays to outside world. Local relays work just great. I do have
>virtual hosts defined in Postfix, if it matters somehow with this.
>
>
>Niklas
>
>
>-----Original Message-----
>From: Boris Kovalenko [mailto:boris@...] 
>Sent: 4. joulukuuta 2003 10:46
>To: popa3d-users@...
>Subject: Re: popa3d not writing any logs
>
>
>Hello!
>
>    POPA3D only writes to Syslog daemon, not in any files. Just check 
>your syslog.conf and reroute messages to files You need.
>
>Regards,
>    Boris
>
>
>Niklas Lampén wrote:
>
>  
>
>>I'm running popa3d stand alone on Debian with postfix and
>>    
>>
>pop-before-smtp.
>  
>
>> 
>>Popa3d only writes log entries to /var/log/syslog, not to 
>>/var/log/maillog | /var/log/mail.log, where pop-before-smtp seems to 
>>be looking for login entries. Is there a way to fix/change this?
>> 
>> 
>>Niklas
>> 
>>
>>-----------------------------------------------------------------------
>>    
>>
>-
>  
>
>>
>>###########################################
>>This message has been scanned by F-Secure Anti-Virus for Internet Mail.
>>For more information, connect to http://www.F-Secure.com/
>> 
>>
>>    
>>
>
>
>
>###########################################
>This message has been scanned by F-Secure Anti-Virus for Internet Mail.
>For more information, connect to http://www.F-Secure.com/
>
>
>
>###########################################
>This message has been scanned by F-Secure Anti-Virus for Internet Mail.
>For more information, connect to http://www.F-Secure.com/
>
>  
>

Solar Designer | 4 Dec 2003 15:20
Favicon

Re: popa3d not writing any logs

On Thu, Dec 04, 2003 at 03:12:22PM +0500, Boris Kovalenko wrote:
>    The simplest way is to use
> !popa3d
> *.*         /some/where/you/neeed
> 
> form, or popa3d uses ident of "popa3d" and "daemon" facility by default

Niklas mentioned he's on Debian, and I don't think the syslogd there
is able to route by ident.

Niklas, -- you need to route those messages wherever you want by the
facility value they carry.  You can adjust that in params.h when you
build popa3d.

The reason it's not facility "mail" by default is that "mail" is for
use by MTAs, not by mailbox access programs such as a POP3 server.

--

-- 
Alexander Peslyak <solar@...>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments


Gmane