Re: [vchkpw] Multi-user vpopmail/ezmlm web interface

2005-10-21 Thread James Longstreet
On Wed, 19 Oct 2005, DAve wrote:

 In this situation ezmlm-MySQL is your friend. We setup a webpage with
 access to the SQL tables for ezmlm and allow the list admin to add,
 remove, update users from the list. They also get a report on what users
 have failed probes so they can re-add the users corrected email.

 I'd throw you an example but, each one is added to the clients intra
 pages in a unique way. It's not difficult to do in perl or php. Rails
 would be a slam dunk if you use it already.

I think I'm going to do this, probably in Rails.  How feasible is it to
move to ezmlm-mysql?  Are there any docs other than the ones I found on
ezmlm.org?

I need to move everything over to mysql, then I'm thinking I'll start a
formal project.  So I guess you could construe this as a who's with me
message.

James Longstreet


Re: [vchkpw] Multi-user vpopmail/ezmlm web interface

2005-10-21 Thread DAve

James Longstreet wrote:

On Wed, 19 Oct 2005, DAve wrote:



In this situation ezmlm-MySQL is your friend. We setup a webpage with
access to the SQL tables for ezmlm and allow the list admin to add,
remove, update users from the list. They also get a report on what users
have failed probes so they can re-add the users corrected email.

I'd throw you an example but, each one is added to the clients intra
pages in a unique way. It's not difficult to do in perl or php. Rails
would be a slam dunk if you use it already.



I think I'm going to do this, probably in Rails.  How feasible is it to
move to ezmlm-mysql?  Are there any docs other than the ones I found on
ezmlm.org?


If you are using ezmlm-idx, very easy. Read INSTALL.idx, item 5, RDBM 
support. Once you reconfigure and reinstall ezmlm you will be able to 
create SQL based lists. Note that the behavior of your old lists will 
not be affected, they will continue to use files for subscriber 
addresses etc. You can upgrade existing lists to use SQL via


ezmlm-make -+ -6 host:port:user:password:database:table

You would then need to to populate the table with the contents of your 
current subscriber list. In the past I have done that by running


ezmlm-list path_to_list  subscribers.txt

*prior* to enabling SQL support. Use the generated subscriber list to 
populate the table *after* you have created the database. ezmlm has a 
tool to generate the needed SQL for database creation, see ezmlm-mktab.


Overall it is pretty simple. I'd get on the ezmlm list, it is low 
traffic, and Charles and Bruce answer intelligent questions promptly.




I need to move everything over to mysql, then I'm thinking I'll start a
formal project.  So I guess you could construe this as a who's with me
message.


If only I could, I have the Rails book, built the sample apps, built a 
demo hack to manage our SQL for vpopmail, spamassassin, and ezmlm. That 
was six months ago and I haven't gotten back to it. If I do anything in 
my spare time it will be smtp-auth client setup instructions.


Good luck.

DAve




[vchkpw] forwarding to local users

2005-10-21 Thread hbeaumont hbeaumont
Hi,

I need to forward a vpopmail user to a local users shell mail

right now i have the domains .qmail-default set to :

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

this works but it rewrites all the headers to not have the original domain.

I need something that will keep all the original virtual domain addresses in tact.

It works if I chown the users Maildir to vpopmail.vchkpw but that really won't work for my purposes.

Even worse :) the mail is going to a Mailbox and not a Maildir.

Any ideas?




[vchkpw] Helo command rejected?

2005-10-21 Thread Michele \(System Administrator\)
 
Hi, my qmail installation is working fine, but when I try to send mails to
recipients of some domains (such as libero.it), the mail is bounced back
with this error:


Reporting-MTA: dns;myservername
Received-From-MTA: dns;myservername
Arrival-Date: Wed, 19 Oct 2005 12:59:48 +0200

Final-Recipient: rfc822;[EMAIL PROTECTED]
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;504 myservername: Helo command rejected: need
fully-qualified hostname



So, there's something I need to setup in qmail to avoid this response?
Thanks
Mik.







Re: [vchkpw] forwarding to local users

2005-10-21 Thread Jeremy Kitchen
On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote:
 Hi,

 I need to forward a vpopmail user to a local users shell mail

 right now i have the domains .qmail-default set to :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

that's the 'catchall' argument if the user doesn't exist, it will fall 
back to that.

if you simply want to forward your vpopmail user to another user you can do 
something like this:

for [EMAIL PROTECTED]
echo '[EMAIL PROTECTED]'  ~vpopmail/domains/example.com/.qmail-frank

 this works but it rewrites all the headers to not have the original domain.

please show an example of this.

 It works if I chown the users Maildir to vpopmail.vchkpw but that really
 won't work for my purposes.

what does?

 Even worse :) the mail is going to a Mailbox and not a Maildir.

check your .qmail file for the final user.  the path to the maildir must have 
a / at the end for qmail to consider it a maildir.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgpsGF8EcZoee.pgp
Description: PGP signature


Re: [vchkpw] Helo command rejected?

2005-10-21 Thread Jeremy Kitchen
On Friday 21 October 2005 10:45 am, Michele (System Administrator) wrote:
 Hi, my qmail installation is working fine, but when I try to send mails to
 recipients of some domains (such as libero.it), the mail is bounced back
 with this error:

1) this isn't a vpopmail question, please refer to the proper mailing list.

 Reporting-MTA: dns;myservername
 Received-From-MTA: dns;myservername
 Arrival-Date: Wed, 19 Oct 2005 12:59:48 +0200

 Final-Recipient: rfc822;[EMAIL PROTECTED]
 Action: failed
 Status: 5.5.0
 Diagnostic-Code: smtp;504 myservername: Helo command rejected: need
 fully-qualified hostname

well, there was some useful information that you decided to get rid of.

either your IP address doesn't have reverse dns, or your /var/qmail/control/me 
has bad information in it.

Please post the full, _unedited_ output of qmail-showctl.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgpnLMxBTuLlF.pgp
Description: PGP signature


Re: [vchkpw] Helo command rejected?

2005-10-21 Thread DAve

Michele (System Administrator) wrote:
 
Hi, my qmail installation is working fine, but when I try to send mails to

recipients of some domains (such as libero.it), the mail is bounced back
with this error:


Reporting-MTA: dns;myservername
Received-From-MTA: dns;myservername
Arrival-Date: Wed, 19 Oct 2005 12:59:48 +0200

Final-Recipient: rfc822;[EMAIL PROTECTED]
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;504 myservername: Helo command rejected: need
fully-qualified hostname



So, there's something I need to setup in qmail to avoid this response?
Thanks
Mik.


What are the contents of /var/qmail/control/me? It should the the FQDN 
of your server.


http://www.lifewithqmail.org/lwq.html#config-files

DAve


Re: [vchkpw] forwarding to local users

2005-10-21 Thread hbeaumont hbeaumont
On 10/21/05, Jeremy Kitchen [EMAIL PROTECTED] wrote:
On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote: Hi, I need to forward a vpopmail user to a local users shell mail right now i have the domains .qmail-default set to :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
I think I didn't explain myself well :)

I am trying to set the catch-all to a local users shell mail

Setting it with either :

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

or

real_user_name@server.com

correctly forwards the mail.

However I need it to keep all the headers in tact for the original virtual domain.

Thanks for any help!




Re: [vchkpw] forwarding to local users

2005-10-21 Thread Jeremy Kitchen
On Friday 21 October 2005 02:21 pm, hbeaumont hbeaumont wrote:
 I am trying to set the catch-all to a local users shell mail

 Setting it with either :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

 or

 [EMAIL PROTECTED] http://server.com

 correctly forwards the mail.

 However I need it to keep all the headers in tact for the original virtual
 domain.

I'm not sure what you have the http://server.com part in there for.. but 
the headers will remain the same (with the addition of a few new received 
headers and another deliver-to with either of these methods.

Could you please provide us *real* information including an example of the 
headers of an email?

Also, for future reference, if you're going to hide your domain name, please 
use example.com, example.net or example.org, these domains are RFC defined 
for use as 'dummy' domains.  I'm sure the person who owns the mailbox 
real_user_name at server.com would appreciate it.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgp7OgTStuM6J.pgp
Description: PGP signature


Re: [vchkpw] forwarding to local users

2005-10-21 Thread Tom Collins

On Oct 21, 2005, at 2:21 PM, hbeaumont hbeaumont wrote:
 However I need it to keep all the headers in tact for the original 
virtual domain.


Which headers?  The To/From/Subject/Date won't be changed when the 
message is forwarded.  There might be a difference in the 
Delivered-To headers -- is that what you're referring to?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com