Posts Tagged ‘qmail’

Qmail relay to smarthost

Qmail: routing all mails to a smarthost # echo “:smtp.qmail.com” > /var/qmail/control/smtproutes (or manually add “:smtp.qmail.com” line (without qutoes) to the file.) this command will set qmail that all your mails will be routed to smtp.qmail.com (will remove other existing lines, so be careful) Qmail: routing all mails for a specific domain to a smarthost [...]

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »

Count domain in mail.log (Qmail)

# cat /usr/local/sbin/count_mail_per_domain.sh #!/bin/bash logfile=$2 domain=$3 case “$1″ in -t) cat $logfile |grep “to remote” | awk ‘{print $14}’ | awk -F@ ‘{ field = $2 }; {print “domain: ” field }’ | sort |uniq -c |sort -nr | awk -v totale=0 ‘{totale=totale+$1; print ;} END {print “Totale giorno domini: “totale;}’ ;; -su) cat $logfile [...]

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »
 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera