Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sending email from a gentoo guest on windows host
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nericsla
n00b
n00b


Joined: 21 Dec 2004
Posts: 18

PostPosted: Wed Feb 02, 2005 1:33 pm    Post subject: Sending email from a gentoo guest on windows host Reply with quote

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
View user's profile Send private message
jeremy whiting
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 159
Location: UT

PostPosted: Wed Feb 02, 2005 2:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
nericsla
n00b
n00b


Joined: 21 Dec 2004
Posts: 18

PostPosted: Wed Feb 02, 2005 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
ewtrowbr
Apprentice
Apprentice


Joined: 08 May 2004
Posts: 153
Location: Columbus, OH

PostPosted: Wed Feb 02, 2005 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
jeremy whiting
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 159
Location: UT

PostPosted: Wed Feb 02, 2005 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
nericsla
n00b
n00b


Joined: 21 Dec 2004
Posts: 18

PostPosted: Thu Feb 03, 2005 3:45 pm    Post subject: [Solved] Reply with quote

I used ssmtp as suggested and got things working. Thanx. :)
Back to top
View user's profile Send private message
pjesi
n00b
n00b


Joined: 02 Apr 2004
Posts: 54

PostPosted: Thu Aug 10, 2006 1:58 pm    Post subject: Re: Sending email from a gentoo guest on windows host Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum