For the State Primary, ballots must reach the local election office by 8 p.m. on September 1st in order to be counted. The postmark is not relevant for those ballots and any ballots received after the close of polls cannot be counted.
For the November 3rd Election, ballots can be counted if they are received after the close of polls as long as they are postmarked by November 3rd and received by November 6th.