Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For testing emails I don't want to actually send an email out (and can't anyway as ISP blocks port 25).

I have installed Sendmail, and what I want to do is install a mail server on the same pc that is sending the email which I can simply send the emails to, and receive them on my pc.

so I am looking for a couple of guides.

  1. install and configure sendmail correctly for this.
  2. install and configure a mail server correctly for this.
  3. setup mail client (evolution) to connect to the mail server

Can anyone help with this?

share|improve this question
1  
Is there a reason why you chose Sendmail over Exim, Postfix or others? –  qbi Sep 6 '11 at 14:22
add comment

2 Answers

up vote 2 down vote accepted

Take a look here: https://help.ubuntu.com/11.04/serverguide/C/email-services.html

Forget about sendmail, it's just too complicated for testing purpuses. You'll need a program to receive emails (that would be postfix) and a mail delivery agent to get the mails to your client via POP3 or IMAP. This could be dovecot - to use with postfix just use the dovecot-postfix package. The guide mentioned above explains what you have to do.

share|improve this answer
add comment

Its actually pretty easy to enable sendmail to send mail out from localhost. Its just a single change in the default sendmail.cnf file , then start the sendmail service. I do this all the time with cron scheduled jobs that send emails. I don't remember the exact line number to edit but I know that its easy to spot if you just read through the config file.

share|improve this answer
    
see askubuntu.com/a/206775/111625 –  aland Dec 2 '12 at 23:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.