Post Reply  Post Thread 
Pages (2): < Previous 1 [2]
mail_addr field [split from (HowTo) Replace courier with dovecot]
Author Message
joximu Offline
Moderator
*****

joximu
Moderator
*****


Posts: 3,603
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #11
RE: [HowTo] Replace courier with dovecot
ok - for me it works - maybe others can make some tests?

otherwise I'll put it in the svn tonight...

see ya on the dev corner :-)

/Joxi

2008-08-05 ispCP RC6 released!!!
02-19-2008 10:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Administrator
*******
Administrators

Zothos
Administrator
*******
Administrators


Posts: 712
Group: Administrators
Joined: Feb 2007
Status: Offline
Reputation: 10
Post: #12
RE: [HowTo] Replace courier with dovecot
dont put it into the svn unless my update script is ready. So we dont break current installations. I need just 1 or 2 days to finish my work Tongue

And! please make some code comments Wink

greez
Zothos

Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
02-20-2008 12:11 AM
Find all posts by this user Quote this message in a reply
joximu Offline
Moderator
*****

joximu
Moderator
*****


Posts: 3,603
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #13
RE: [HowTo] Replace courier with dovecot
hm, ok. This script won't break any installation (but the other enhancement scripts which need the field, maybe will :-). The update script just needs to fill in the complete mail address for all records where it's missing...

And hey: it's svn - so people should have a look about it. For the RC4 of course we need the update part.

Question we should maybe discuss: as a first start, we only fill the field for the real mail boxes - right? In a second step, we maybe could use it also for the forwardings - but this is far less important...

/J

PS: I did comment the 6 lines... of course (just took some old code out so it will be cleaned)

2008-08-05 ispCP RC6 released!!!

This post was last modified: 02-20-2008 12:21 AM by joximu.

02-20-2008 12:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Administrator
*******
Administrators

Zothos
Administrator
*******
Administrators


Posts: 712
Group: Administrators
Joined: Feb 2007
Status: Offline
Reputation: 10
Post: #14
RE: [HowTo] Replace courier with dovecot
If your code would be inserted with my db update functionality, we just have to provide one update function for my db update fuctionality. Very easy thing.

I would like to fill the field for every mail box. It wouldnt hurt Tongue

Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
02-20-2008 01:14 AM
Find all posts by this user Quote this message in a reply
joximu Offline
Moderator
*****

joximu
Moderator
*****


Posts: 3,603
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #15
RE: [HowTo] Replace courier with dovecot
Hi Zothos
(I think I'll split this thread...)

ok, let's ship it together... is it a standalone db updater just for this thing. A PHP file which can be launched to (re)fill the mail_addr field?

what do we want to do with the catchall entries?
- domain.tld
- @domain.tld
- *@domain.tld
- Null/empty

I'll have to add some more lines for the forwarding entries (and maybe catchall) - abd also for the 3 standard accounts...

/J

2008-08-05 ispCP RC6 released!!!
02-20-2008 05:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pages (2): < Previous 1 [2]
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |

Forum Jump:

| All rights reserved : isp-control.net |