Blaise Lab wrote: > > I tried the following script from Patrick Benson <[EMAIL PROTECTED]> : > > #!/bin/sh > echo "ehlo" > /tmp/tmplogs
Skip the line above , you don't need it if you're not saying "helo"... > echo "mail from: [EMAIL PROTECTED]" >> /tmp/tmplogs > echo "rcpt to: [EMAIL PROTECTED]" >> /tmp/tmplogs > echo "data" >> /tmp/tmplogs > cat /var/log/messages >> /tmp/tmplogs Try inserting this line here, in-between: echo >> /tmp/tmplogs > echo "." >> /tmp/tmplogs > echo "quit" >> /tmp/tmplogs > cat /tmp/tmplogs | mnc host 25 > rm -f /tmp/tmplogs No error control, mind you..... ;) There are so many different flavors of SMTP's these days, there's no guarantee that it will work on all of them. It's just basic telnet procedure, though, so it should work on your end... -- Patrick Benson Stockholm, Sweden _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
