How to configure the sendmail to select a local (customized) delivery agent depending on the "To:" address format of an INCOMING MAIL on default port 25. For example in pqrs=1234567@xyz.com, the token is "pqrs=", for the INCOMING MAIL. The sendmail has to select a local delivery agent, other than the default "SMTP" or "ESMTP" delivery agent for only above mentioned type incoming mails, for rest of the mails it should be default.
Thanks in advance.