Readme first

Creating this document as the first version of a thorough readme on how to use MTP server. If you encounter some trouble, please first read through this document, and if you have not found a solution, ask the MTP admin.

Setting up external mail client

Multiplace provides a possibility to connect to your mailboxes via IMAP. Here are the settings.

Incoming mail

Protocol: IMAP
Server name: mail.multiplace.org
Port: 993
User: username@domain.tld <- your own email adress
Connection security: SSL/TLS
Authentication method: Normal password

Outgoing mail

Protocol: SMTP
Server name: mail.multiplace.org
Port: 587 <- if your client changes it back to 'auto' or something else, set it in advanced settings
User: username@domain.tld <- your own email adress
Connection security: STARTTLS
Authentication method: Normal password
User name: your own email address
Password <- different than your IMAP password, ask your admin

Connecting to FTP

Multiplace server provides you with FTP access by using encrypted FTP. Encrypted file-transfer is more secure for you and the server (it does not transmit passwords in plain-text over the net which are easy to capture) and its faster (the encryption works also as compression of the data). Multiplace server uses the TLS cryptographic protocol. Remember this: TLS. You will need it. The encryption is obligatory, meaning that you will not get access to the server if you dont turn on encyption in your FTP client.

Recommended FTP clients:
* Linux: Filezilla, ftp-ssl, custom-compiled gFTP (compile with SSL)
* Mac: Filezilla, Cyberduck, muCommander, Transmit (15 days), Fetch (30 days)
* Windows: Filezilla, FlashFXP (30 days)

Each FTP client has its own way of doing this. Basically what you are looking for is to setup a secure connection. First use this basic data:

Host: multiplace.org
port: 21
username: here your username
password: here your password
protocol: FTP
encryption: Use explicit FTP over TLS if available
(if you get timeout, try to extend timeout to say 40 sec)


Example of connecting via Cyberduck:

or


The harder part is to enable encryption. As there are shitloads of FTP clients out there, we dont provide you with any general how-to. You have to find your own way how to do it. One suggestions is to look for keywords: TLS and/or FTPS.

Some FTP clients provide you with the possibility of choosing several protocols: FTP, FTPS, SFTP. If you see a setting like that, be sure to set the protocol of the connection to FTPS. BEWARE: FTPS is something *totally* different then SFTP. See Wikipedia: FTPS and SFTP.

Another way (if you have no choice of protocols mentioned above), is to search for settings of the connection mentioning TLS. Be sure to turn on these settings if you find them. Good luck :)

Using SquirrelMail

Fighting Spam

Each received mail is checked with Spamassassin for clues if it is not SPAM. Each mail is described with a SPAM Level number, which says how much certainty the Spamassassin has about the checked mail being SPAM. If the number is bigger then 5, the mail Header is changed to contain:

*****SPAM*****

This are the mails you see in your mailboxes. But even when we can now recognize SPAM, as you can see it is still poluting the mailbox. If you dont want to manually delete them, you should redirect them into the Trash Folder. Click on the link “Options” in the upper menu of the page, and then click on “message filters”. Click “New” and fill out the form you will see like this:



Then press save. Now all the mails recognized as SPAM, should be redirected into the Trash folder. Remember to purge it regularly. You can check it from time to time, if there is only SPAM, and no false-positives - eg. like mails from your friends which were sent to you, but never arrived.
In case of discovering such false-positives refer to select them and press the button “not spam”.
In case that Spamassassin didnt recognize correctly some SPAM, select the message(s) and press the button “spam”

Icecast Streaming server

See below data for Quicktime Broadcaster Streaming: Here

Multiplace server provides an oportunity to use its own free-access streaming server. It can be used to stream video & sound in free formats: ogg theora, ogg vorbis & ogg flac. A more thorough how-to to easy streaming from various platforms shall follow shortly. Some preliminary informations (in slovak) can be found here: http://smecnet.itchybit.org/wiki/gnd/streaming_zarecie

Use this data to log-in and stream from Multiplace server. The server has a good connectivity and no traffic limits.

Streaming server type: Icecast2
login: source
password: multistream
server: multiplace.org
port: 8000


You can watch status of your stream and the whole streaming server here: http://multiplace.org:8000/status.xsl



Darwin Streaming Server

Use this data when streaming from Quicktime Broadcaster. The URL of the stream will be sth like:

http://multiplace.sk:9000/STREAM_NAME.sdp 

where STREAM_NAME is the name of your choice. Here are the login data.

Streaming server type: Darwin Streaming Server
login: source
password: multistream
server: multiplace.sk
port: 9000

Please note that the port for Darwin Streaming server is port 9000 and not 8000 as usual. Port 8000 is used for Icecast Streaming server

!!! IMPORTANT NOTE: Please enable “broadcast over TCP” when using Quicktime Brodcaster for the streaming. Due to unresolved (till now) problems with DSS and the firewall, this is a option which will save you lots of grey hair.

Streaming from Axis Cameras

Its is possible to use the Axis Cameras as streaming devices, that send data to the Darwin Streaming Server, which then distributes the stream for other users. Following is a short tutorial as to what to do to make this work.

1. First make your Axis camera working. The best way is to assign it a IP Address and have it connected to the network. This stage is heavilly documented on the Axis website. You know that you have done tis step right, when you are able to see the stream from the camera through your browser when you point it to the cameras IP Address.

2. The next step is to configure the camera to stream the data out to the Multiplace Darwin Streaming Server. In the camera Setup Menu search for a place which looks like this:
Follow the red numbers and fill up the input fields like they are on the screenshot. Save it.

3. Fire up your ftp client and connect to the camera through FTP. The address of the camera is the same address ou use when ou connect to it with your browser. When you are allready connected to the camera, go to the folder:

/var/run/media_server/mpeg4/


Download the file called media1.sdp to your disk. Open the file up in some text editor and delete a part of the file looking like this:

a=control:rtsp://10.0.0.218:554/mpeg4/1/media.amp 


(The ip 10.0.0.218 will be the ip of your camera). Now Save the file as myplace.sdp (eg. bratislava.sdp).

4. Upload the file through FTP to the multiplace server nto the folder darwin_movies. Please take care you have read the mail on how to connect to Multiplace FTP. Here is the mail. Use this login and password:

server: multiplace
login: stream
password: multistream


5. Now everything should be ok. Contact gnd for debug. Good luck !!!

Streaming sound from VLC

!!! DOESNT WORK NOW !!!! !!! THIS HAS CHANGED WITH THE NEW VERSIONS OF VLC !! BEWARE !!!





This solution is tested on Windoze, dunno how this goes in Linux or Mac, but in Linux there are better ways of making a OGG/Vorbis stream. We will need:

Windows
Videolan Player
Soundcard
Audio Input connected into Line
Internet


So it looks like if you can fullfill these criteria, you can stream ! Oh my !

1. Start VLC and click on Open Capture Device (the tab DirectShow). You should see this:

2. Now there is the choice of Audio Device Name. Click on refresh and from the selectbox choose your soundcard. You should see this (the exact name of your soundcard will be different). Please also note, how the yellow-highlighted string describing whats happenning has changed below:

3. Now let's disable video capture. Under Video Device Name click “None”. Please note how the string in “Customize” has changed again.

4. Now just copy the string from “Customize” into Notepad, or any text editor. We keep it for later. So, I copy:

dshow:// :dshow-vdev="none" :dshow-adev="Realtek AC97 Audio" :dshow-size="" 



5. In the text editor, attach to the string this line:

:sout=#transcode{acodec=vorbis,vb=128}:std{access=shout,mux=ogg,url=source:multistream@multiplace.sk:8000/NAME.ogg}

The text we copied from VLC, and the line you copy from here, should form ONE LINE.

6. Edit the line to suit your needs: You can change the number after vb= into the desired bitrate, but 128 is just enough (its comparable to 256Kbps mp3). We strongly advise you, to change the NAME of your stream, god forbid, maybe there will be two people reading this who use the same name NAME and their streams will be clashing ! :)

7. Make sure your audio input is connected into the soundcards line-in and that there is something flowing into the card, and that in “Recording Control” your Line In is not muted and has some volume.

8. Make sure you have Internet connectivity (sorry if you feel like stupid, its partly fun and partly a sad truth, that the easiest errors are most likely going to happen). If all checks went ok, copy the line into VLC.


9. Press Ok, and then press View / Messages. Another windows opens, with VLC debug messages. If all works, you should see sth like this:

10. The last, selected lines say that the streaming is working and being sent to the server. Another way to make sure everything is working is to check the server status: just go with your browser to this address: http://multiplace.sk:8000/status.xsl


11. So now, we are totally sure we are streaming. One last check is to find another computer, and tune-in into the stream to check the sound quality, etc. The stream is located at:

http://multiplace.sk:8000/NAME.ogg

The exact name depends how you changed NAME :) Open it up in Foobar2000 or VLC, check the quality, and dont forget to check if VLC is running from time to time. This solution is pretty stable, but who knows what might happen. Good luck!

Creating Mailinglists

To create a mailinglist under your domain, point your browser to the url (substitute the mydomain.com for the name of your domain):

http://mydomain.com/mailman/create

Fill out the details of your new mailinglist, provide the list-creator password and voila - your list was created. But before you start using it, you have to change a few parameters in the mailinglist administration interface. Point your browser to the address (substitute listname for the name of your mailinglist):

http://mydomain.com/mailman/admin/listname

Enter the list administration password and in the menu click on “General Options”.

Setting the hostname right

First setting to change is to change the list host name. You have to specify a host name in the format lists.mydomain.com. So, in the case your domain name is kaka.sk, the name address you specify will be: “lists.kaka.sk”:




!!!
PLEASE NOTE, that by this change you are supposed to send mails 
to the address MAILINGLIST@LISTS.MYDOMAIN.COM, 
OTHERWISE YOUR MAILINGLIST WILL NOT WORK.
!!!



Setting Reply-To address

If you wish that users on the mailinglist reply to the list, when they choose to reply to the emails they have received from the list, change this settings as show:


Please note that the address you provide as explicit reply-to address is constisting of

listname - the name of your mailinglist
lists.mydomain.com - the name of your address prepended with "lists.".

Adding no-reply users to the mailinglist

One way to manage your propaganda mailinglist is to do it through Mailman. (the other ways are defining an alias like: propaganda@mydomain.com to be forwarded to all the subscribers on this mailingst, or the good old way of pasting email addresses into the BCC ;)
The mailman way is just more “confy”.

In the administrative interface click on “Membership management” and then on “Mass subscription”. You should see a formular simillar to the formular shown on the picture below. Please set-up the radiobuttons like in the picture. (Subscribe and dont invite, dont send wellcome messages, dont send notifications to the owner)

Remember to put just one email address into one line. Wehn you are finished, dont forget to add also your email address into the list, because otherwise you couldnt send emails to the list. When you are finished, just submit all the members.

The next step is to manage the members so, that they cannot post to the mailinglist without your approval. In the “Membership management” click on “Membership List”. You will see a big table where each line corresponds to a member of the mailinglist. Under the membership table you will see something like this:

Press the “Set” button, which will make the “mod” option turned on for every member of the mailingist. The mod option means, that the member cannot post to the mailingist, unless you as a owner approve the posting. Note that after pressing “Set” we also set the “mod” option on for our own email address. Find it in the membership list, and click on the checkbox in the “mod” column to turn it off for you. Then press “Submit your changes”. Now its time to spread your lies.



server/server.txt · Last modified: 2012/09/13 14:04 by gnd