If you want to walk thru a mail test, on a one
by one basis.
And you are willing to give the passwords for the
accounts to a program (and all the security risk that
entails)
Then you should explore the use of "expect" to
do that hand work for you.
Bill Houle <bhoule@sparc.sandiegoca.ncr.com> writes:
% Matt Lemsing said:
% >
% > Someone has suggested that i use procmail but i really want something
% > more straightforward and simple.
%
% $ mailx -s test user@smallisp.com.au < /etc/motd
% $ rlogin smallisp.com.au -l root
% $ mailx -u user
% <read to verify>
% <delete>
% <quit>
% $ exit
%
% Can't get much more simple than that. Anything else (Majordomo [not
% apprpriate by any stretch of the imagination] or procmail [best bet])
% means setting up and tearing down something on each account just for
% the purposes of a one-time test. Why would you want to do that?
%
% --bill
%
-----
John Sechrest . Helping people use
PEAK - . computers and the Internet
Public Electronic . more effectively
Access to Knowledge,Inc .
850 SW 15th Street . Internet: sechrest@peak.org
Corvallis Oregon 97331 . (541) 754-7325
. http://www.peak.org/~sechrest
References:
|
|