Date: Sun, 01 Apr 2007 21:39:01 +0200 From: Olivier Regnier <oregnier@steelbox.org> To: freebsd-ports@freebsd.org Subject: nbsmtp/problem with sender field Message-ID: <46100A55.5010504@steelbox.org>
next in thread | raw e-mail | index | archive | help
Hello, I written a script with an function to send reports by email. Here is my function: sendmail() { date=`date +%d/%m/%Y` time=`date +%H:%M:%S` mail -s "[FreeBSD/Ports-tree]-Update"-"($date/$time)" \ me@domain.org <$logfile } Here is my .mailrc file: set sendmail="/root/scripts/nbsmtp.sh and my nbsmtp.sh script: #!/bin/sh /usr/local/bin/nbsmtp -h ssl0.ovh.net -f me@domain.org -d mydomain -p 465 -U admin@mydomain -P password -M l -s -V then, that work very well but when i recieved an email the sender field = anonymous@mx1.ovh.net I don't understand what happened because i use correctly the -f option. Can you help me please ? Thank you :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46100A55.5010504>