Re: [vchkpw] Use onchange for add user to ezmlm

2008-04-12 Thread Ismail YENIGUL
Hi Alessio,

A sample script may look like the following:


#!/bin/sh

cmd=$1;

  if [ $cmd = add_user ]
  then

  email=$2;  # [EMAIL PROTECTED], see README.onchange

  /usr/local/bin/ezmlm-sub ~vpopmail/domain/listname $email

fi

 if [ $cmd = del_user ]
  then

  email=$2;  # [EMAIL PROTECTED], see README.onchange

  /usr/local/bin/ezmlm-unsub ~vpopmail/domain/listname $email

fi


Not: Be sure that ~vpopmail/etc/onchange is executable

Thanks.


Tuesday, April 8, 2008, 8:08:11 PM, you wrote:

 On my qmail+vpopmail installation i want use the feature of onchange script to
 automatically add users to an ezmlm list when they are created.

 Users are added through vpopmaild.

 I read the documentation for onchange, but I am not very clear how it works.

 Could someone give me an example on how to create a script for 
 ~vpopmail/etc/onchange ?

 Many thanks.



-- 

Ismail YENIGUL
Yönetici/Manager
Servis ve Destek Bölümü/System Services and Support Division
Tel: +90 216-470 94 23
Fax: +90 216-470 95 08
http://www.endersys.com.tr


!DSPAM:4800fcde120501398410658!



Re[2]: [vchkpw] SMTP Authenticaton

2008-04-12 Thread Ismail YENIGUL
Wouter,

If you still want to try smtp auth on the different server.
You can install vpopmail on the smtp auth server with the same config
on your mail server. And you can define the remote vpopmail
db(mysql or pgsql) in your smtp auth server vpopmail.mysql file.
So you don't have to define the domains in the smtp auth server.
I am already using this configuration at one of our customers without
any problem.


Thanks.

Saturday, April 12, 2008, 8:33:22 AM, you wrote:

 Hi,

 Thank you for your suggestions. I have implemented it in the same way you
 have
 seems to work now :)

 Thanks again and have a nice weekend.

 - Wouter

 - Original Message - 
 From: Tonix (Antonio Nati) [EMAIL PROTECTED]
 To: vchkpw@inter7.com
 Sent: Thursday, April 10, 2008 4:56 PM
 Subject: Re: [vchkpw] SMTP Authenticaton


 Tonix (Antonio Nati) ha scritto:

 I guess you use vpopmail.
 Sorry for the stupid deduction, I confused this mailing list with the 
 general qmail mailing list :-).

 Tonino
 If you use chkuser patch (on for qmail/vpopmail), or Shupp's toaster 
 which includes chkuser, you can force a server to accept only 
 authenticated sessions. So, you can set up a dedicated port (like the 
 submission port) or a dedicated IP only for this purpose.

 See http://www.interazioni.it/opensource/chkuser/ for more details.

 Tonino

 Wouter van der Schagt ha scritto:
 My apologies, you already mentioned it.. by firewall restriction.

 Another question.. spammers could still connect if they knew they were 
 supposed
 to connect to port 587 am i correct? Or did you find a way around this 
 as well?

 Thanks
 - Wouter

 - Original Message - From: Alastair Battrick [EMAIL PROTECTED]
 To: vchkpw@inter7.com
 Sent: Thursday, April 10, 2008 4:39 PM
 Subject: Re: [vchkpw] SMTP Authenticaton


 Wouter van der Schagt wrote:
 An option for us to setup a different server that only handles smtp 
 functionality for our client, however the problem then is that a
 domain needs to exist on two servers. one for the popbox and one for
 smtp authentication to work. Or is it possible for the vpopmail to
 connect to the database on the other mailserver for authentication or
 would that be too slow? Does anybody have any other suggestions
 perhaps?

 Hi Wouter

 I ran into this same problem. I got around it by creating a SMTP
 submission port that accepts SMTP Auth emails into the server on port 
 587. Port 25 only accepts messages from our spam appliance by firewall 
 restriction.

 Each mail client has to be set to use port 587 and SMTP Auth of course.
 -- 
 Alastair Battrick












 -- 
 
[EMAIL PROTECTED]Interazioni di Antonio Nati 
 http://www.interazioni.it 
 @interazioni.it   
 


 

 


 




-- 

Ismail YENIGUL
Yönetici/Manager
Servis ve Destek Bölümü/System Services and Support Division
Tel: +90 216-470 94 23
Fax: +90 216-470 95 08
http://www.endersys.com.tr


!DSPAM:4800fed4120501759827712!



[vchkpw] errors with 'vdeluser'

2008-04-12 Thread D. Hilbig

Whether I run as root or vpopmail, the same error occurs.

When I run:
  ./vdeluser [EMAIL PROTECTED]
I receive: 
  Failed to delete user from auth backend
  Error: Illegal username

But it does seem to delete the user from the database because when I
run it again:
  ./vdeluser [EMAIL PROTECTED]
I receive:
  Error: User does not exist

Also, it doesn't delete the user's mailbox directory.  After I manually
delete it, I can run ./vadduser [EMAIL PROTECTED] without error.

Why is this?


I'm using vpopmail with mysql.

It is a fresh install of vpopmail v5.4.25 on CentOS v5.1 (x86 32-bit)
with the following configuration options:

./configure --enable-learn-passwords \
  --enable-onchange-script \
  --enable-spamassassin \
  --enable-spamc-prog=/usr/bin/spamc \
  --enable-auth-module=mysql \
  --enable-sql-logging \
  --enable-mysql-limits \
  --enable-valias

And, since I'm new to vpopmail, should I be logged in as the root
or vpopmail user for all the user-mailbox administration commands?


!DSPAM:480139b3120501092519218!



[vchkpw] not auto-learning passwords

2008-04-12 Thread D. Hilbig

I configured vpopmail v5.4.25 with the
--enable-learn-passwords option.

I created a user without a password:
  ./vadduser -n [EMAIL PROTECTED]

I then logged into Courier-IMAP's pop3d-ssl with:
  USER [EMAIL PROTECTED]
  PASS anything
and it let me login.

I then did it again but with a different password
and I was able to login again.

I looked in the mysql table vpopmail.vpopmail to see
that the password field wasn't updated.

What's going on here?  Where is the failure?
Hopefully not a short between the floor and the keyboard. ;)


vpopmail v5.4.25 on CentOS Linux v5.1 (x86 32-bit).

My configuration options:

./configure --enable-learn-passwords \
  --enable-onchange-script \
  --enable-spamassassin \
  --enable-spamc-prog=/usr/bin/spamc \
  --enable-auth-module=mysql \
  --enable-sql-logging \
  --enable-mysql-limits \
  --enable-valias


!DSPAM:48013e51120505172610489!



Re: [vchkpw] errors with 'vdeluser'

2008-04-12 Thread Steve Fatula


On Apr 12, 2008, at 5:37 PM, D. Hilbig wrote:


Whether I run as root or vpopmail, the same error occurs.

When I run:
 ./vdeluser [EMAIL PROTECTED]
I receive:
 Failed to delete user from auth backend
 Error: Illegal username

But it does seem to delete the user from the database because when I
run it again:
 ./vdeluser [EMAIL PROTECTED]
I receive:
 Error: User does not exist

Also, it doesn't delete the user's mailbox directory.  After I  
manually

delete it, I can run ./vadduser [EMAIL PROTECTED] without error.


Same for me. It's a bug.

Steve


!DSPAM:48015610120502619667917!



Re: [vchkpw] errors with 'vdeluser'

2008-04-12 Thread Quey

D. Hilbig wrote:

Whether I run as root or vpopmail, the same error occurs.

When I run:
  ./vdeluser [EMAIL PROTECTED]
I receive: 
  Failed to delete user from auth backend

  Error: Illegal username

  

I don't see that error here with mysql/vpopmail.
Perhaps try 5.4.26



!DSPAM:48016ed6120501815611389!



Re: [vchkpw] errors with 'vdeluser'

2008-04-12 Thread Remo Mattei

running .27 mysql/vpopmail no errors

Remo

Quey wrote:

D. Hilbig wrote:

Whether I run as root or vpopmail, the same error occurs.

When I run:
  ./vdeluser [EMAIL PROTECTED]
I receive:   Failed to delete user from auth backend
  Error: Illegal username

  

I don't see that error here with mysql/vpopmail.
Perhaps try 5.4.26










!DSPAM:48017d2e120501019116278!