Swansea and Millwall will meet in the first round of the Johnstone's Paint Trophy, while Doncaster face Bradford.
Home draw for holders in first round
Promotion contenders Swansea City and Millwall will meet in the first round of the Johnstone's Paint Trophy, while holders Doncaster Rovers face Bradford City.
With several teams given byes to the next round, there are 32 sides involved in the first stage of the competition.
In the Southern section of the draw, Swansea's tie at home to Millwall is the pick of the games, while there is a local derby between Luton Town and Northampton Town.
Football League new boys Dagenham & Redbridge have not got far to travel after being drawn away to Southend United.
The Northern section sees last season's winners Doncaster at home to Bradford, while Huddersfield Town head to Grimsby Town.
Chester City and Crewe Alexandra meet in a local affair as promoted Morecambe tackle Tranmere Rovers at Prenton Park.
Johnstone's Paint Trophy 1st round draw, ties to be played week commencing 3rd September:
Northern Section:
Accrington v Oldham
Chester v Crewe
Chesterfield v Hartlepool
Doncaster v Bradford
Grimsby v Huddersfield
Mansfield v Rotherham
Tranmere v Morecambe
Wrexham v Macclesfield
Southern Section:
Bournemouth v Walsall
Luton v Northampton
Nottm Forest v Peterborough
Notts County v Leyton Orient
Southend v Dagenham
Swansea v Millwall
Swindon v Brentford
Yeovil v Shrewsbury