Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running Perl script on inbound mail

Status
Not open for further replies.

MrBlobby

Technical User
Aug 14, 2002
9
GB
I'm running sendmail on a Solaris 2.8 box.

I've set up /etc/aliases to say ...
test: "|/usr/local/bin/mailHandler"
... and run newaliases.

When I send a mail to the machine however, I'm not sure which domain to use as the machines are not in a domain. If I set up a domain for them to be in, would I send the mail to test@my-new-domain.co.uk?

If I run /usr/lib/sendmail -bv test...
I get the following:
"|/usr/local/bin/_ic_mailHandler"... deliverable: mailer prog, user |/usr/local/bin/_ic_mailHandler

Can I assume from this that the alias is set up correctly?
If I send a mail from the machine to itself, do I send it to test@localhost?


Any help would be much appreciated

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top