GO:0032490: detection of molecule of bacterial origin
The series of events in which a stimulus from a molecule of bacterial origin is received and converted into a molecular signal.