|
mydomain = genco.gen.tc myhostname = smtp.genco.gen.tc mynetworks = 144.122.211.1/32, 127.0.0.0/8 virtual_alias_maps = hash:/etc/postfix/virtual-users virtual_alias_domains = /etc/postfix/local-domains smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated, \ permit_mynetworks,check_relay_domains inet_interfaces = all alias_maps = hash:/etc/aliases smtpd_banner = smtp.genco.gen.tc ESMTP smtpd_helo_required = yes disable_vrfy_command = yes mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp header_checks = regexp:/etc/postfix/header_checks
/filename=\"?(.*)\.(bat|chm|cmd|com|do|hta|jse|rm|scr|pif|vbe|vbs|vxd|xl)\"?$/ REJECT For security reasons we reject attachments of this type / Guvenlik ¬ sebebiyle bu turdeki ek dosyalar sunucumuz tarafindan kabul edilmemektedir /^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(lnk|asd|hlp|ocx|¬ reg|bat|c[ho]m|cmd|dll|vxd|pif|scr|hta|jse?|sh[mbs]|vb[esx]|ws[fh]|¬ wav|mov|wmf|xl))"?\s*$/ REJECT Attachment type not allowed. File "$2" has the unacceptable ¬ extension "$3" / "$2" dosyasi istenmeyen "$3" uzantisini icermektedir
/^Subject:.Re:.Approved/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.Details/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.Re:.My.details/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.My.details/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.Thank.you!/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.That.movie/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.Wicked.screensaver/ DISCARD Likely SOBIG.F Virus /^Subject:.Re:.Your.application/ DISCARD Likely SOBIG.F Virus /^Subject:.Thank.you!/ DISCARD Likely SOBIG.F Virus /^Subject:.Your.details/ DISCARD Likely SOBIG.F Virus /^Subject:.*read it immediately/ REJECT We dont accept virus your subject is ¬ treated as a worm /^Subject:.*fake/ REJECT We dont accept virus your subject is treated as a worm /^Subject:.*stolen/ REJECT We dont accept virus your subject is treated as a worm /^Subject:.*something for you/ REJECT We dont accept virus your subject is ¬ treated as a worm /^Subject:.*WINING NOTIFICATION/ REJECT We dont accept virus your subject is ¬ treated as a worm
#!/bin/sh -e NAME=saslauthd DAEMON="/usr/local/sbin/${NAME}" DESC="SASL Authentication Daemon" DEFAULTS=/etc/default/saslauthd test -f "${DAEMON}" || exit 0 # Varsayilan degerler dosyasi; betigi yapilandirmak icin # bu dosyayla oynayabilirsiniz. if [ -e "${DEFAULTS}" ]; then . "${DEFAULTS}" fi # Postfix baslamiyorsa , cik if [ "${START}" != "yes" ]; then exit 0 fi # Tanimli bir mekanizma yoksa if [ "x${MECHANISMS}" = "x" ]; then echo "${DEFAULTS} degerlerini mekanizmalarla birlikte yapilandirmalisiniz. " exit 0 fi for i in ${MECHANISMS}; do PARAMS="${PARAMS} -a ${i}" done case "${1}" in start) echo -n "Starting ${DESC}: " ln -fs /var/spool/postfix/var/run/${NAME} /var/run/${NAME} ${DAEMON} ${PARAMS} echo "${NAME}." ;; stop) echo -n "Stopping ${DESC}: " PROCS=`ps aux | grep -iw '/usr/sbin/saslauthd' \ | grep -v 'grep' |awk '{print $2}' | tr '\n' ' '` if [ "x${PROCS}" != "x" ]; then kill -15 ${PROCS} &> /dev/null fi echo "${NAME}." ;; restart|force-reload) $0 stop sleep 1 $0 start echo "${NAME}." ;; *) echo "Usage: /etc/init.d/${NAME} {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0
chmod 755 /etc/rc.d/saslauthd rm -rf /var/run/saslauthd mkdir /var/run/saslauthd
START=yes #Bu MECHANISMS seçeneği kimlik doğrulama yöntemini belirtiyor. #PAM desteği için pam yazabilirsiniz.Pam olmadan yapmak için shadow #yazmanız gerekli.(ahh.. ah.. slackware de PAM yok) MECHANISMS=shadow
# /etc/rc.d/saslauthd start # /etc/rc.d/postfix start
bash-2.05b# telnet smtp.genco.gen.tc 25 Trying 144.122.211.1... Connected to smtp.genco.gen.tc. Escape character is '^]'. 220 smtp.genco.gen.tc ESMTP ehlo genco.gen.tc 250-smtp.genco.gen.tc 250-PIPELINING 250-SIZE 10000000 250-ETRN 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME
|