Add email address from command line.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Add email address from command line.

Postby abnormaliti » Mon Nov 07, 2005 9:41 pm

Is there a way to add an email address to a user without overwriting existing addresses?

'ommodu user1 -n name/internet-address' replaces all exising addresses.

I need to be able to append a new address.

Ben

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Nov 08, 2005 11:33 am

When you specify an attribute using ommodu, you are giving an absolute value so, you need to specify all the internet addresses you want to use for that user. If you have a lot of addresses, SAC really is the best place to go.

From the command line, you can enter:

Code: Select all

ommodu -o "User name" -n "User Name/IA=address1@domain.com=address2@another.domain.com"

where multiple internet addresses are separated with an '=' character.

Cheers

Dave

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Postby abnormaliti » Wed Nov 09, 2005 12:12 am

This works

Code: Select all

ommodu $uid -n "`omsearch -e "UL-AUTHID=$uid" -m cn/internet-addr`=additional@address.com"

binarynomad

Proxy Server for Handhelds (palm, etc)

Postby binarynomad » Mon Dec 12, 2005 11:07 pm

We are thinking of setting up a TCP proxy server to allow (imap) connections from external handhelds (treos, etc). This would basically proxy (143 or 993) to the internal Scalix server. (we'd also have to proxy 25 if the handhelds wanted to send mail).

Has anyone else tried this? Had problems? Has suggestions?

binarynomad

Sorry...

Postby binarynomad » Mon Dec 12, 2005 11:09 pm

My previous post was supposed to be a NEW post not a REPLY post. My apologies.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Dec 13, 2005 12:59 am

abnormaliti wrote:This works

Code: Select all

ommodu $uid -n "`omsearch -e "UL-AUTHID=$uid" -m cn/internet-addr`=additional@address.com"


Be careful with this command. If you have CN to be automatically generated as Last, First or some other combination, you will change the user name and mail may no longer be deliverable.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 31 guests