New POPcon utilities online

Home > News > February 2006

New POPcon utilities online

We released to new command-line utilities that you can use to change the POPcon configuration from the command line or from a script:

popcon_addaccount.exe - command-line utility to add a POP3 or IMAP account to the POPcon configuration.

usage: popcon_addaccount 10 parameters divided by spaces


Parameters:

1. POP3/IMAP server name (string)

2. user name to log on POP3/IMAP server

3. password

4. Nr of days to leave mail on host. 0= delete after download.

5. standard forward address - Forward all email from this account to that addresss. Empty string: Distribute according to email header information.

6. IP port number for POP3 or IMAP connection

7. Timeout value (seconds) for connections to this account

8. Postmaster address - reroute email to unknown users to this address. Empty string: Do not reroute email to unknown users.

9. SSL. 0= do not use SSL. 1= use SSL connection.

10. POP3/IMAP. 0= POP3, 1= IMAP.


Example:

popcon_addaccount "pop.mydomain.com" "myuser" "mysecretpassword" 0 "" 110 30 "postmaster@mydomain.com" 0 0

Will add one account to POPcon's configuration that downloads from pop.mydomain.com, user myuser with password mysecretpassword. This account will delete emails after download without leaving them on the server any longer. The mail will be distributed according to the header information ("catchall style mailbox"). The connection will be made on POP3 standard port 110 with a timeout of 30 seconds. If the recipient does not exist in your Exchange Server, the mail will be rerouted to postmaster@mydomain.com. The connection will not use SSL and it is not an IMAP but a POP3 server that the mail is downloaded from.

popcon_changepw.exe - command-line utility to change the POP3/IMAP password on an existing account identified by server- and username.

usage: popcon_changepw pop/imap-server-name username new-password


Example:

popcon_changepw "pop.mydomain.com" "myuser" "mynewpassword"

Will change the existing account password to mynewpassword on the account for pop.mydomain.com with username myuser.

Copyright (c) 1999-2008 Christensen Software. Disclaimer.
If you have questions, comments or problems regarding this website please contact: webmaster@christensen-software.com