Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th August 2006, 15:12
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
Default 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.
Reply With Quote
  #2  
Old 30th August 2006, 16:32
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #3  
Old 1st September 2006, 00:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #4  
Old 1st September 2006, 06:45
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #5  
Old 2nd September 2006, 16:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

isp_isp_user is linked to isp_isp_web over the isp_dep and isp_nodes table.
__________________
Falko
--
Follow me on:
Reply With Quote
  #6  
Old 4th September 2006, 14:42
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 236
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #7  
Old 5th September 2006, 20:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

The function make_virtusertable() in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php should give you some hints.
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding email addresses myles Programming/Scripts 5 1st December 2008 13:09
Email Addresses mimic Feature Requests 1 12th August 2006 13:00
How can I use email addresses for usernames skeeta Installation/Configuration 28 31st July 2006 17:06
Problems with creating/deleting email accounts mxc Installation/Configuration 5 17th July 2006 23:06
Display of email addresses todvard Installation/Configuration 5 8th March 2006 15:02


All times are GMT +2. The time now is 00:49.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th