The remaining clubs are ranked by the UEFA coefficient rankings, which is based on their performance in European competition over the past five seasons.
Mane has scored three goals in as many games this season.
By virtue of being in the same domestic league, Liverpool can not draw Premier League rivals Manchester United or Spurs, arguably the best two teams in Pot 2, but there are still several hard sides - Portuguese duo Porto and Benfica are perhaps the easiest. Drawing a Spanish side, with Barcelona and Atletico also options, would leave the door open to landing some of the fearsome Bundesliga and Serie A sides lurking in other pots.
Red Star Belgrade, who lifted the European Cup in 1991, took their place in pot four by coming from 2-0 behind to draw 2-2 against Salzburg and making through on away goals.
However, Benfica's victory means they will now have to take on one of the pot two sides in the group stage as well, with tricky opponents such as Borussia Dortmund, Napoli, Shakhtar Donetsk and Roma all possibilities. One team from each pot will be placed in each group.