FAQ / Delivery / Q0611



Q0611

Question

I set up |/bin/grep Subject|/usr/bin/smbclient -M <netbiosname> as an alias but it doesn't work.

Answer

That is a shell command line. Exim does not run pipe commands under a shell by default (for added security - and it saves a process). You need something like

"|/bin/sh -c '/bin/grep Subject|/usr/bin/smbclient -M <netbiosname>'"



FAQ / Delivery / Q0611


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Delivery/Q0611 (last edited 2008-09-25 11:39:34 by localhost)