Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Pascal Bourguignon
"jean" writes:
pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
C'est quoi exactement un "aspirateur d'email" ?
Sinon, j'ai ça:
#!/bin/bash #***************************************************************************** #FILE: smtpd.sh #LANGUAGE: sh #SYSTEM: POSIX #USER-INTERFACE: NONE #DESCRIPTION # # A very SIMPLE mail transfer agent. # # Put in inetd.conf: # smtp stream tcp nowait mail /usr/local/bin/smtpd.sh smtpd.sh # #AUTHORS # <PJB> Pascal Bourguignon #MODIFICATIONS # 2003-09-04 <PJB> Created. #BUGS #LEGAL # GPL # # Copyright Pascal Bourguignon 2003 - 2003 # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version # 2 of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307 USA #*****************************************************************************
mailboxes=/tmp/var/spool/mail mkdir -p "$mailboxes" >/dev/null 2>&1 || true echo "220 `hostname` SMTP SIMPLE mail transport agent Version 1.0"
done=0 while [ $done -eq 0 ] ; do read command arguments command="$(echo "$command" | tr -d ' 15')" arguments="$(echo "$arguments" | tr -d ' 15')" case "$command" in [hH][eE][lL][oO]) echo "250 Hi $arguments" ; done=1 ;; *) echo "503 Bad command" ;; esac done
s_idle=0 ; s_from=1 ; s_rcpt=2 state=$s_idle while true ; do read command arguments command="$(echo "$command" | tr -d ' 15')" arguments="$(echo "$arguments" | tr -d ' 15')" case "$command" in [Mm][Aa][Ii][Ll]) if [ 0 -eq $(( $state & $s_from )) ] ; then from=$(echo "$arguments" | sed -e 's/^ *[Ff][Rr][Oo][Mm] *: *//') state=$(( $state | $s_from )) echo "250 OK" else echo "503 Bad sequence of commands." fi ;; [Rr][Cc][Pp][Tt]) if [ $s_from -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then to=$(echo "$arguments" | sed -e 's/^ *[Tt][Oo] *: *//') state=$(( $state | $s_rcpt )) echo "250 OK" else echo "503 Bad sequence of commands." fi ;; [Dd][Aa][Tt][Aa]) if [ $(( $s_from | $s_rcpt )) -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then file="${mailboxes}/$(echo "$to" | sed -e 's/^ *< *//' -e 's/ *> *$/1/' -e 's/@.*//')" echo "From $from `date '+%a %b %d %H:%M:%S %Y'`" >> "$file" echo "354 Enter mail, end with <CR><LF>.<CR><LF>" data=1 while [ $data -eq 1 ] ; do read line line="$(echo "$line" | tr -d ' 15')" if [ "$line" = "." ] ; then data=0 state=$s_idle echo "" >> "$file" echo "250 OK" else echo "$line" >> "$file" fi done else echo "503 Bad sequence of commands." fi ;; [Nn][Oo][Oo][Pp]) echo "250 OK" ;; [Rr][Ss][Ee][Tt]) state=$s_idle ; echo "250 OK" ;; [Vv][Rr][Ff][Yy]) echo "252 Cannot VRFY." ;; [Qq][Uu][Ii][Tt]) echo "221 Bye" ; exit 0 ;; *) echo "502 Command not implemented." ;; esac done #### smtpd.sh -- 2003-09-04 19:20:50 -- pascal ####
HANDLE WITH EXTREME CARE: This product contains minute electrically charged particles moving at velocities in excess of five hundred million miles per hour.
"jean" <japca1nietrobot@free.fr> writes:
pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
C'est quoi exactement un "aspirateur d'email" ?
Sinon, j'ai ça:
#!/bin/bash
#*****************************************************************************
#FILE: smtpd.sh
#LANGUAGE: sh
#SYSTEM: POSIX
#USER-INTERFACE: NONE
#DESCRIPTION
#
# A very SIMPLE mail transfer agent.
#
# Put in inetd.conf:
# smtp stream tcp nowait mail /usr/local/bin/smtpd.sh smtpd.sh
#
#AUTHORS
# <PJB> Pascal Bourguignon <pjb@informatimago.com>
#MODIFICATIONS
# 2003-09-04 <PJB> Created.
#BUGS
#LEGAL
# GPL
#
# Copyright Pascal Bourguignon 2003 - 2003
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
#*****************************************************************************
mailboxes=/tmp/var/spool/mail
mkdir -p "$mailboxes" >/dev/null 2>&1 || true
echo "220 `hostname` SMTP SIMPLE mail transport agent Version 1.0"
done=0
while [ $done -eq 0 ] ; do
read command arguments
command="$(echo "$command" | tr -d ' 15')"
arguments="$(echo "$arguments" | tr -d ' 15')"
case "$command" in
[hH][eE][lL][oO]) echo "250 Hi $arguments" ; done=1 ;;
*) echo "503 Bad command" ;;
esac
done
s_idle=0 ; s_from=1 ; s_rcpt=2
state=$s_idle
while true ; do
read command arguments
command="$(echo "$command" | tr -d ' 15')"
arguments="$(echo "$arguments" | tr -d ' 15')"
case "$command" in
[Mm][Aa][Ii][Ll])
if [ 0 -eq $(( $state & $s_from )) ] ; then
from=$(echo "$arguments" | sed -e 's/^ *[Ff][Rr][Oo][Mm] *: *//')
state=$(( $state | $s_from ))
echo "250 OK"
else
echo "503 Bad sequence of commands."
fi
;;
[Rr][Cc][Pp][Tt])
if [ $s_from -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then
to=$(echo "$arguments" | sed -e 's/^ *[Tt][Oo] *: *//')
state=$(( $state | $s_rcpt ))
echo "250 OK"
else
echo "503 Bad sequence of commands."
fi
;;
[Dd][Aa][Tt][Aa])
if [ $(( $s_from | $s_rcpt )) -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then
file="${mailboxes}/$(echo "$to" | sed -e 's/^ *< *//' -e 's/ *> *$/1/' -e 's/@.*//')"
echo "From $from `date '+%a %b %d %H:%M:%S %Y'`" >> "$file"
echo "354 Enter mail, end with <CR><LF>.<CR><LF>"
data=1
while [ $data -eq 1 ] ; do
read line
line="$(echo "$line" | tr -d ' 15')"
if [ "$line" = "." ] ; then
data=0
state=$s_idle
echo "" >> "$file"
echo "250 OK"
else
echo "$line" >> "$file"
fi
done
else
echo "503 Bad sequence of commands."
fi
;;
[Nn][Oo][Oo][Pp]) echo "250 OK" ;;
[Rr][Ss][Ee][Tt]) state=$s_idle ; echo "250 OK" ;;
[Vv][Rr][Ff][Yy]) echo "252 Cannot VRFY." ;;
[Qq][Uu][Ii][Tt]) echo "221 Bye" ; exit 0 ;;
*) echo "502 Command not implemented." ;;
esac
done
#### smtpd.sh -- 2003-09-04 19:20:50 -- pascal ####
HANDLE WITH EXTREME CARE: This product contains minute electrically
charged particles moving at velocities in excess of five hundred
million miles per hour.
pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
C'est quoi exactement un "aspirateur d'email" ?
Sinon, j'ai ça:
#!/bin/bash #***************************************************************************** #FILE: smtpd.sh #LANGUAGE: sh #SYSTEM: POSIX #USER-INTERFACE: NONE #DESCRIPTION # # A very SIMPLE mail transfer agent. # # Put in inetd.conf: # smtp stream tcp nowait mail /usr/local/bin/smtpd.sh smtpd.sh # #AUTHORS # <PJB> Pascal Bourguignon #MODIFICATIONS # 2003-09-04 <PJB> Created. #BUGS #LEGAL # GPL # # Copyright Pascal Bourguignon 2003 - 2003 # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version # 2 of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307 USA #*****************************************************************************
mailboxes=/tmp/var/spool/mail mkdir -p "$mailboxes" >/dev/null 2>&1 || true echo "220 `hostname` SMTP SIMPLE mail transport agent Version 1.0"
done=0 while [ $done -eq 0 ] ; do read command arguments command="$(echo "$command" | tr -d ' 15')" arguments="$(echo "$arguments" | tr -d ' 15')" case "$command" in [hH][eE][lL][oO]) echo "250 Hi $arguments" ; done=1 ;; *) echo "503 Bad command" ;; esac done
s_idle=0 ; s_from=1 ; s_rcpt=2 state=$s_idle while true ; do read command arguments command="$(echo "$command" | tr -d ' 15')" arguments="$(echo "$arguments" | tr -d ' 15')" case "$command" in [Mm][Aa][Ii][Ll]) if [ 0 -eq $(( $state & $s_from )) ] ; then from=$(echo "$arguments" | sed -e 's/^ *[Ff][Rr][Oo][Mm] *: *//') state=$(( $state | $s_from )) echo "250 OK" else echo "503 Bad sequence of commands." fi ;; [Rr][Cc][Pp][Tt]) if [ $s_from -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then to=$(echo "$arguments" | sed -e 's/^ *[Tt][Oo] *: *//') state=$(( $state | $s_rcpt )) echo "250 OK" else echo "503 Bad sequence of commands." fi ;; [Dd][Aa][Tt][Aa]) if [ $(( $s_from | $s_rcpt )) -eq $(( $state & ( $s_from | $s_rcpt ) )) ] ; then file="${mailboxes}/$(echo "$to" | sed -e 's/^ *< *//' -e 's/ *> *$/1/' -e 's/@.*//')" echo "From $from `date '+%a %b %d %H:%M:%S %Y'`" >> "$file" echo "354 Enter mail, end with <CR><LF>.<CR><LF>" data=1 while [ $data -eq 1 ] ; do read line line="$(echo "$line" | tr -d ' 15')" if [ "$line" = "." ] ; then data=0 state=$s_idle echo "" >> "$file" echo "250 OK" else echo "$line" >> "$file" fi done else echo "503 Bad sequence of commands." fi ;; [Nn][Oo][Oo][Pp]) echo "250 OK" ;; [Rr][Ss][Ee][Tt]) state=$s_idle ; echo "250 OK" ;; [Vv][Rr][Ff][Yy]) echo "252 Cannot VRFY." ;; [Qq][Uu][Ii][Tt]) echo "221 Bye" ; exit 0 ;; *) echo "502 Command not implemented." ;; esac done #### smtpd.sh -- 2003-09-04 19:20:50 -- pascal ####
HANDLE WITH EXTREME CARE: This product contains minute electrically charged particles moving at velocities in excess of five hundred million miles per hour.
ALBATOR
"jean" a écrit dans le message de news: 43f59134$0$30836$
hello pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
on ne va pas aider un futur spammer...
"jean" <japca1nietrobot@free.fr> a écrit dans le message de news:
43f59134$0$30836$636a55ce@news.free.fr...
hello
pouvez vous me conseiller sur le choix d'un logiciel aspirateur
d'emails ?
"jean" a écrit dans le message de news: 43f59134$0$30836$
hello pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
on ne va pas aider un futur spammer...
jean
non je ne suis pas un futur spammer seulement j'en ai besoin pour mon travail , envoyer une maquette ainsi que mon url aux clients potentiel mais bon la question ne se pose plus puisque j'ai trouvé bonne soirée à tous jean
"ALBATOR" a écrit dans le message de news: 43f5ca6c$0$4765$
"jean" a écrit dans le message de news: 43f59134$0$30836$
hello pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?
on ne va pas aider un futur spammer...
non je ne suis pas un futur spammer seulement j'en ai besoin pour mon
travail , envoyer une maquette ainsi que mon url aux clients potentiel
mais bon la question ne se pose plus puisque j'ai trouvé bonne soirée à tous
jean
"ALBATOR" <spamfucker@fbi.com> a écrit dans le message de news:
43f5ca6c$0$4765$636a55ce@news.free.fr...
"jean" <japca1nietrobot@free.fr> a écrit dans le message de news:
43f59134$0$30836$636a55ce@news.free.fr...
hello
pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails
?
non je ne suis pas un futur spammer seulement j'en ai besoin pour mon travail , envoyer une maquette ainsi que mon url aux clients potentiel mais bon la question ne se pose plus puisque j'ai trouvé bonne soirée à tous jean
"ALBATOR" a écrit dans le message de news: 43f5ca6c$0$4765$
"jean" a écrit dans le message de news: 43f59134$0$30836$
hello pouvez vous me conseiller sur le choix d'un logiciel aspirateur d'emails ?