I need to find out where the train station is in malaga, as I cannot find it on any maps I have looked at

After my stay in malaga I am travelling to morocco. I'd like to take the bus to tarifa, but I am not sure there is a direct service. Is it true you have to travel to algeciras first then take the shuttle bus (free, apparently!) to tarifa? I don't want to take the boat from algeciras as it takes too long, and it's too crowded in august etc...done the trip lots of times and it is not very pleasant!
thanks in advance for any info you can give me
