[EMAIL PROTECTED] maildrop and postfix - temporary authentication failure

2008-10-09 Thread Da Rock
I'm really about to throw this damn server through a closed window (or
better yet a brick wall). I've searched high and low on google for a
straight answer, and any references in mailing lists give an answer of
read the INSTALL file (as if thats supposed to solve everything).

I have virtual users for email in postfix, and I want to use maildrop to
deliver to the virtual mailboxes. Problem is, when it does use maildrop
it shows an error in the logs as the subject line says.

I've tried everything, checked everything. That supposed magic solution
in the INSTALL file says only ONE thing needs to be set to get it to
work. Maildrop is owned by root and group is mail. The socket is rwx
globally (all this is set by the port install). The executing user for
pipe in postfix is vmail.

I've installed the port with authlib and gdbm (even manually adjusted
the makefile to ensure --enable-userdb). Nada.

The generally consensus is that it should work out of the box- so what
the hell am I doing wrong? Where should I be looking? Specifically: what
is not authenticating? I can manually test maildrop ok. So wtf?

You'll have to excuse my language here- I'm not sure how much hair I
have left after working on this for several days...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLVED] Re: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure

2008-10-09 Thread Da Rock

On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote:
 I'm really about to throw this damn server through a closed window (or
 better yet a brick wall). I've searched high and low on google for a
 straight answer, and any references in mailing lists give an answer of
 read the INSTALL file (as if thats supposed to solve everything).
 
 I have virtual users for email in postfix, and I want to use maildrop to
 deliver to the virtual mailboxes. Problem is, when it does use maildrop
 it shows an error in the logs as the subject line says.
 
 I've tried everything, checked everything. That supposed magic solution
 in the INSTALL file says only ONE thing needs to be set to get it to
 work. Maildrop is owned by root and group is mail. The socket is rwx
 globally (all this is set by the port install). The executing user for
 pipe in postfix is vmail.
 
 I've installed the port with authlib and gdbm (even manually adjusted
 the makefile to ensure --enable-userdb). Nada.
 
 The generally consensus is that it should work out of the box- so what
 the hell am I doing wrong? Where should I be looking? Specifically: what
 is not authenticating? I can manually test maildrop ok. So wtf?
 
 You'll have to excuse my language here- I'm not sure how much hair I
 have left after working on this for several days...

Ok, I know I'm answering my own question here- but this should
definitely be fixed.

In the INSTALL file, someone should change the statement where it says
When using the standalone maildrop build with courier-authlib, one
 of the following configurations must be used:\

to: When using the standalone maildrop build with courier-authlib, ALL
 of the following configurations must be used:

Just after I sent the email I thought I'd check the only thing I hadn't
changed, the setuid bit. There are several reasons why I hadn't had the
guts to do this before- but in my mood I was feeling reckless.

1. The statement in the INSTALL file said only one configuration needed
to be changed.
2. I installed from ports- I would have thought (like most would, and
history has served to provide empirical data) that the install process
would have set this.
3. None of the information I read when searching emphasised this when
all other options are already set- and certainly none based on freebsd.

Anyone else with this issue popping up THIS is the answer- set ALL the
configuration options in the INSTALL file.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure

2008-10-09 Thread herbs
Is there anything in the instructions about the gid or uid? Maybe there
is something wrong. Just an idea..

herbs


On Thu, Oct 09, 2008 at 04:21:20PM +1000, Da Rock wrote:
 I'm really about to throw this damn server through a closed window (or
 better yet a brick wall). I've searched high and low on google for a
 straight answer, and any references in mailing lists give an answer of
 read the INSTALL file (as if thats supposed to solve everything).
 
 I have virtual users for email in postfix, and I want to use maildrop to
 deliver to the virtual mailboxes. Problem is, when it does use maildrop
 it shows an error in the logs as the subject line says.
 
 I've tried everything, checked everything. That supposed magic solution
 in the INSTALL file says only ONE thing needs to be set to get it to
 work. Maildrop is owned by root and group is mail. The socket is rwx
 globally (all this is set by the port install). The executing user for
 pipe in postfix is vmail.
 
 I've installed the port with authlib and gdbm (even manually adjusted
 the makefile to ensure --enable-userdb). Nada.
 
 The generally consensus is that it should work out of the box- so what
 the hell am I doing wrong? Where should I be looking? Specifically: what
 is not authenticating? I can manually test maildrop ok. So wtf?
 
 You'll have to excuse my language here- I'm not sure how much hair I
 have left after working on this for several days...
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert at langhans.com.pl
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SOLVED] Re: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure

2008-10-09 Thread Jeremy Chadwick
On Thu, Oct 09, 2008 at 04:52:29PM +1000, Da Rock wrote:
 
 On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote:
  I'm really about to throw this damn server through a closed window (or
  better yet a brick wall). I've searched high and low on google for a
  straight answer, and any references in mailing lists give an answer of
  read the INSTALL file (as if thats supposed to solve everything).
  
  I have virtual users for email in postfix, and I want to use maildrop to
  deliver to the virtual mailboxes. Problem is, when it does use maildrop
  it shows an error in the logs as the subject line says.
  
  I've tried everything, checked everything. That supposed magic solution
  in the INSTALL file says only ONE thing needs to be set to get it to
  work. Maildrop is owned by root and group is mail. The socket is rwx
  globally (all this is set by the port install). The executing user for
  pipe in postfix is vmail.
  
  I've installed the port with authlib and gdbm (even manually adjusted
  the makefile to ensure --enable-userdb). Nada.
  
  The generally consensus is that it should work out of the box- so what
  the hell am I doing wrong? Where should I be looking? Specifically: what
  is not authenticating? I can manually test maildrop ok. So wtf?
  
  You'll have to excuse my language here- I'm not sure how much hair I
  have left after working on this for several days...
 
 Ok, I know I'm answering my own question here- but this should
 definitely be fixed.
 
 In the INSTALL file, someone should change the statement where it says
 When using the standalone maildrop build with courier-authlib, one
  of the following configurations must be used:\
 
 to: When using the standalone maildrop build with courier-authlib, ALL
  of the following configurations must be used:
 
 Just after I sent the email I thought I'd check the only thing I hadn't
 changed, the setuid bit. There are several reasons why I hadn't had the
 guts to do this before- but in my mood I was feeling reckless.
 
 1. The statement in the INSTALL file said only one configuration needed
 to be changed.
 2. I installed from ports- I would have thought (like most would, and
 history has served to provide empirical data) that the install process
 would have set this.
 3. None of the information I read when searching emphasised this when
 all other options are already set- and certainly none based on freebsd.
 
 Anyone else with this issue popping up THIS is the answer- set ALL the
 configuration options in the INSTALL file.

This should go to freebsd-ports, not freebsd-questions.  I would also
recommend filing a PR about this, since otherwise it's unlikely to get
addressed/fixed.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure

2008-10-09 Thread Paul Schmehl
--On Thursday, October 09, 2008 01:21:20 -0500 Da Rock 
[EMAIL PROTECTED] wrote:




I'm really about to throw this damn server through a closed window (or
better yet a brick wall). I've searched high and low on google for a
straight answer, and any references in mailing lists give an answer of
read the INSTALL file (as if thats supposed to solve everything).

I have virtual users for email in postfix, and I want to use maildrop to
deliver to the virtual mailboxes. Problem is, when it does use maildrop
it shows an error in the logs as the subject line says.

I've tried everything, checked everything. That supposed magic solution
in the INSTALL file says only ONE thing needs to be set to get it to
work. Maildrop is owned by root and group is mail. The socket is rwx
globally (all this is set by the port install). The executing user for
pipe in postfix is vmail.

I've installed the port with authlib and gdbm (even manually adjusted
the makefile to ensure --enable-userdb). Nada.

The generally consensus is that it should work out of the box- so what
the hell am I doing wrong? Where should I be looking? Specifically: what
is not authenticating? I can manually test maildrop ok. So wtf?

You'll have to excuse my language here- I'm not sure how much hair I
have left after working on this for several days...



What you should be doing is posting this to the postfix users list where people 
like Wietse Venema, the developer of Postfix, can answer your questions and 
help you solve your problem.  Seriously.  Sebatian and others there have a 
tremendous amount of experience with Postfix and will be much more help to you 
than most people here.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/