View previous topic :: View next topic |
Author |
Message |
nericsla n00b
Joined: 21 Dec 2004 Posts: 18
|
Posted: Wed Feb 02, 2005 1:33 pm Post subject: Sending email from a gentoo guest on windows host |
|
|
I am a total newbie to linux servers, so please bear with my questions!
I have installed a virtual gentoo machine on a windows host. The guest has its own IP address on the network.
I am now trying to send email from the guest. What do I need to do?
To be specific, I am playing with an online database, called Eprints (www.eprints.org). Everything else is set-up and working, but I need to send mail to confirm a new user. Where is it sending the mail (cos I never received it)?????? I believe I need to set up a mail server...?
Please help. |
|
Back to top |
|
|
jeremy whiting Apprentice
Joined: 25 May 2004 Posts: 159 Location: UT
|
Posted: Wed Feb 02, 2005 2:04 pm Post subject: |
|
|
when you say 'guest' do you mean the gentoo install from within windows? if so, you can try the mail command from the command line to test sending mail, you don't 'need' a mail server unless you want other computers to be able to use your computer as a relay point to send and receive mail from.
If all you are asking is how to set up a mail client for example KMail, or Evolution to send e-mail, that's one thing, but setting up your own mail server is completely different. Could you be a bit more specific as to what you're trying to do? |
|
Back to top |
|
|
nericsla n00b
Joined: 21 Dec 2004 Posts: 18
|
Posted: Wed Feb 02, 2005 2:18 pm Post subject: |
|
|
I have vmware running with gentoo as a guest.
I have set up a domain: 'mobius.etc.co.uk' and I need to send and receive emails from/to that domain. So I guess i need a mail client |
|
Back to top |
|
|
ewtrowbr Apprentice
Joined: 08 May 2004 Posts: 153 Location: Columbus, OH
|
Posted: Wed Feb 02, 2005 2:47 pm Post subject: |
|
|
If you emerged vixie-cron, you probably emerged ssmtp, which is a vixie-cron dependency. There should be a /etc/ssmtp.conf file, that points to a smtp gateway for the command line mail utility. The default is mail.$DOMAINNAME .
try senting test mail from the command line with...
mail -s testing mailbox@somewhere.com
this is a test.
.
gl
erich |
|
Back to top |
|
|
jeremy whiting Apprentice
Joined: 25 May 2004 Posts: 159 Location: UT
|
Posted: Wed Feb 02, 2005 9:30 pm Post subject: |
|
|
if you only have command line linux set up I'd use mutt or pine to send mail if you're doing it interactively, however if you're trying to send mail from a script (PHP, Perl, Bash, etc) I'd try what wetrowbr is suggesting and set the ssmtp package (a very lightweight sendmail clone) to send all email to your isp, or work's smtp server instead. |
|
Back to top |
|
|
nericsla n00b
Joined: 21 Dec 2004 Posts: 18
|
Posted: Thu Feb 03, 2005 3:45 pm Post subject: [Solved] |
|
|
I used ssmtp as suggested and got things working. Thanx. |
|
Back to top |
|
|
pjesi n00b
Joined: 02 Apr 2004 Posts: 54
|
Posted: Thu Aug 10, 2006 1:58 pm Post subject: Re: Sending email from a gentoo guest on windows host |
|
|
nericsla wrote: |
To be specific, I am playing with an online database, called Eprints (www.eprints.org). Everything else is set-up and working, but I need to send mail to confirm a new user. Where is it sending the mail (cos I never received it)?????? I believe I need to set up a mail server...?
|
Did you encounter any difficulties setting up eprints under Gentoo? |
|
Back to top |
|
|
|