[ ispman-WishList-1578134 ] E-Mail Overview

"SourceForge.net" <[email protected]> Mon, 16 Oct 2006 14:16:15 -0700
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
WishList item #1578134, was opened at 2006-10-16 14:44
Message generated for change (Comment added) made by skloe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1578134&group_id=8390

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Andreas John (derjohn)
Assigned to: Nobody/Anonymous (nobody)
Summary: E-Mail Overview

Initial Comment:
Hello,

The ISPMan panel is missing an overview about e-mail
adresses, users, aliasses for a certain domain.

So currently it's only possible to see this "per
account", but customers tend to request an complete
overview about their domain's e-mail config.
(maybe the CCP Part will have such a function, but
there should be something in the WEbUI , too)





----------------------------------------------------------------------

Comment By: Sven Kloe (skloe)
Date: 2006-10-16 23:16

Message:
Logged In: YES 
user_id=1622456

Hello,

I wrote a simple bash script to create an e-mail overview.
It is very slow and ugly, but it works:

DOMAIN=$1
for i in $(ispman.dumpAllUsers |egrep "^$DOMAIN" | awk '{ 
print $2};');
  do
    echo "$i";
    if [ "$(ispman.getUserAttributeValues -d $DOMAIN -u 
$i -a mailRoutingAddress | tail -n -1 )" != "$i" ]; then
      echo "  Primary E-Mailaddress: 
$(ispman.getUserAttributeValues -d $DOMAIN -u $i -a 
mailRoutingAddress | tail -n -1 )"
    fi
    if [ "$(ispman.getMailForwardsForUser -d $DOMAIN -u 
$i | wc -l)" -gt "1" ]; then
      echo "  E-Mail Forwarder:";
      echo "$(ispman.getMailForwardsForUser -d $DOMAIN -u 
$i |tail -n +2)"
      echo "--"
    fi

    if [ "$(ispman.getMailAliasesForUser -d $DOMAIN -u $i | 
wc -l)" -gt "1" ]; then
      echo "  E-Mail Aliases:";
      echo "$(ispman.getMailAliasesForUser -d $DOMAIN -u 
$i |tail -n +2)"
      echo "  --"
    fi
  done

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1578134&group_id=8390

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642