-----Original Message----- From: Jason Pyeron <jpyeron at pdinc.us> Reply-To: CentOS mailing list <centos at centos.org> Date: Mon, 17 Jan 2011 15:37:25 +0000 To: 'CentOS mailing list' <centos at centos.org> Subject: [CentOS] Procmail recipie to forward via smtp >I was in a hurry to forward email to our internal exchange server before >my >vaction, the best way I found after too much googling was to use >http://www.ibiblio.org/pub/Linux/system/mail/smtpsend-1.02.tgz and > >:0 >|smtpsend -to=user at pdinc.us -server=exchange > >Was there a way to do this without smtpsend? > >-Jason > > >From the procmailrc man page: The action line can start with the following characters: ! Forwards to all the specified mail addresses. So your recipe could probably be replaced by: :0 ! user at pdinc.us Although there is no obvious way to specify the smtp server (I assume it either sends via localhost or, more likely, uses the MX from dns for the target domain). Hope this helps Laurence -- Laurence Hurst IT Services Specialist (Linux) Loughborough University