Sorry, I unfortunately did not understand your question

.
dm242 wrote
how to configure a movil number to receive sms in the incoming folder and not in the mobile phone?
The phone will first receive SMS and it's in the memory of a phone until smsd reads it out. After smsd reads a message, it's deleted from the phones memory. Did you mean that phone should not receive messages if smsd is not running and reading them? The system will not work this way. There should always be a storage, SIM or memory of a phone, as a buffer for incoming messages.
dm242 wrote
i need to receive the sms into the incomming folder, for a phone number in particular.
There is a global setting
filename_preview available. It can be used to include part of a message as a part of a filename. It has no option to include GSM number as a part of filename, but you can modify the filename by yourself with an
eventhandler. The smsd will not touch or use the message file after eventhandler is called, so you can use the eventhandler script to modify filename, for example to include GSM number. For example:
In the global part (start of a file) of smsd.conf, add a definition:
eventhandler = /usr/local/bin/smsd_eventhandlerCreate this file with a following content:
#!/bin/bash
if [ "$1" = "RECEIVED" ]; then
FROM=`formail -zx From: < $2`
mv $2 "$2_$FROM"
fi
exit 0
'bash' Syntax Highlight powered by GeSHi Make the file executable for smsd and restart the daemon.
Is this even close for what you had in your mind?
