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, 14:12
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 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
Sponsored Links
  #2  
Old 30th August 2006, 15:32
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 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 31st August 2006, 23:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 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
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 1st September 2006, 05:45
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 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 07:00.
Reply With Quote
  #5  
Old 2nd September 2006, 15:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

isp_isp_user is linked to isp_isp_web over the isp_dep and isp_nodes table.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 4th September 2006, 13:42
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 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, 19:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

The function make_virtusertable() in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php should give you some hints.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | 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 12:09
Email Addresses mimic Feature Requests 1 12th August 2006 12:00
How can I use email addresses for usernames skeeta Installation/Configuration 28 31st July 2006 16:06
Problems with creating/deleting email accounts mxc Installation/Configuration 5 17th July 2006 22:06
Display of email addresses todvard Installation/Configuration 5 8th March 2006 14:02


All times are GMT +2. The time now is 10:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.