
30th August 2006, 15:12
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
Creating/Deleting email addresses
Hi all,
sorry if this is a simple answer or mentioned before and I couldn't find it but I want to know which file handles the creation/editing and deletion of email accounts (ie. creates the virtusertable, etc)?
I want to add my own twist and auto put Squirrelmail preferences with the users full name and proper email address so they reply correctly and not with web1_user etc..
My german sucks, sorry.
|

30th August 2006, 16:32
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
I really hate it when I can't find things and then message the forum only to find it soon later.
I assume it's ispconfig_isp_user.lib.php
I'll see how i go.
|

1st September 2006, 00:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
If you use Postfix, take a look at /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, if you use Sendmail have a look at ispconfig_sendmail.lib.php.
|

1st September 2006, 06:45
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
yeah thanks for that, i'll keep note of it.
I think I'll put the changes into : ispconfig_isp_user.lib.php
in functions user_update(), function user_delete() and function user_insert()
I actually just tried it and I can't find where the isp_isp_user table is linked to the domain it's from as I need to be able to figure out the email address but this table doesn't have the domain or the ID of the domain it's from as far as I can see.
any help, thanks.
Last edited by djtremors; 1st September 2006 at 08:00.
|

2nd September 2006, 16:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
isp_isp_user is linked to isp_isp_web over the isp_dep and isp_nodes table.
|

4th September 2006, 14:42
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
LOL... i give up, can I get a quick relationship or even easier, a SELECT/JOIN list to retreive the full email address of the user?
thx.
|

5th September 2006, 20:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
The function make_virtusertable() in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php should give you some hints.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:49.
|
Recent comments
16 hours 16 min ago
21 hours 32 min ago
21 hours 43 min ago
21 hours 51 min ago
22 hours 53 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago