Home > Archive > Linux/Unix > January 2003 > mail command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mail command
mindmesh

2003-01-12, 1:46 pm

I was reading up on Unix and they mentioned the mail command. And how you automatically have an email address username@server.domain.com. I can send from the account but can't send to it. I'm thinking that it has been disabled by the "Engineers" but maybe its something I'm missing.

I type the following:

bash-2.03$mail
no mail.
bash-2.03$mail login@server.domain.com
test test test
test test test
.
bash-2.03$mail
no mail.

Am I doing it wrong or is it most likely not allowed in the system
Boulware5

2003-01-12, 9:57 pm

I may be wrong. Hopefully someone here can correct me if so. But I think you can only receive email sent from that address only from your network. You would need something like fetchmail in order to grab mail from a POP3 server. You can however send from that (if you have sendmail running), just not receive I think unless you do some configuration.
Mr. Linux Guy

2003-01-13, 1:06 pm

What happens when you try to send to it? Does your mail bounce? The firewall rules might be set up so that incoming mails are not allowed.
mindmesh

2003-01-13, 5:56 pm

quote:
Originally posted by Mr. Linux Guy
What happens when you try to send to it? Does your mail bounce? The firewall rules might be set up so that incoming mails are not allowed.


No bounce back. It goes out like it's going to send. Then I check the mail box on the UNIX box and it says. no mail.
Boulware5

2003-01-13, 7:49 pm

Randy, was I right....Would he need something like fetchmail? That's what I used to retreive my mail.
Mr. Linux Guy

2003-01-14, 6:35 am

He could use fetchmail . . . that is basically a program that fetches mail from a remote server for you. But if there is no mail being collected on the server, it wouldn't help. You may try adding a ".forward" file (must be globally readable) to your home directory that has your email address in it. The email software may allow forwarding of email but reject email itself for some reason. It's possible that the admins have directed all incoming to /dev/null.
mindmesh

2003-01-14, 7:33 am

Thanks fella's. I'm not sure I'll be able to set this up at work but definately play with it when I get unix running @ home.
Mr. Linux Guy

2003-01-14, 7:38 am

Let us know if it doesn't work.
mindmesh

2003-01-14, 7:48 am

I will.. I'm saving this thread to look over in when I get everything setup.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net