Page 1 of 1

How to set up a SMTP in Ubuntu

Posted: Mon Jan 21, 2013 8:35 am
by Fidbeck
How to do this?

Re: How to set up a SMTP in Ubuntu

Posted: Mon Jan 21, 2013 8:39 am
by Helx
I've not tested this myself, as I don't need it.

But I found this article: http://my.opera.com/Contrid/blog/show.dml/478684

Re: How to set up a SMTP in Ubuntu

Posted: Mon Jan 21, 2013 9:17 am
by Fidbeck
I found this one
sudo apt-get install sendmail php-mail postfix

http://steffe.se/?p=357

Re: How to set up a SMTP in Ubuntu

Posted: Tue Jan 22, 2013 12:14 am
by Fidbeck
I found a tut on how to install roundcube
http://www.upubuntu.com/2012/02/how-to- ... 71-on.html

the problem is I can't get past to the login screen
Keeps saying Connection to IMAP server failed

also tried this one
https://help.ubuntu.com/community/Roundcube

but same error

Re: How to set up a SMTP in Ubuntu

Posted: Tue Jan 29, 2013 7:26 am
by jacek
If we are talking about how to get mail() working then all you need is the local sendmail bin
apt-get install sendmail-bin
is the package name from what I remember.

Re: How to set up a SMTP in Ubuntu

Posted: Tue Jan 29, 2013 9:45 am
by Fidbeck
But how to get it to work in roundcube or squirrel mail?

what kind of config do I have to use?

Re: How to set up a SMTP in Ubuntu

Posted: Tue Feb 05, 2013 12:42 am
by jacek
Fidbeck wrote:But how to get it to work in roundcube or squirrel mail?

what kind of config do I have to use?
Both of those are just clients to the IMAP server so all you should need to do is extract it into a folder.

Re: How to set up a SMTP in Ubuntu

Posted: Tue Feb 05, 2013 9:47 am
by Fidbeck
It's been a long time :P

I've checked some of your tutorials and you send mails to test@test.com
how can I create a mail like that? and how to make it work with roundcube. That's what I meant

Full tutorial please :)

Re: How to set up a SMTP in Ubuntu

Posted: Mon Feb 11, 2013 11:19 pm
by jacek
You have to own the domain test.com for that to work, you can't just install a webmail client.

Re: How to set up a SMTP in Ubuntu

Posted: Tue Feb 12, 2013 12:09 am
by Fidbeck
I thought you created a dummy inbox for testing purposes.

i've found something cool at mail.com but there's one huge problem here
I can't get the IMAP and POP3 because i'm not premium, and I will never be for that matter xD

what's the best solution then? create some dummy gmail or hotmail or whatever email account and use it with roundcube?

Re: How to set up a SMTP in Ubuntu

Posted: Tue Feb 12, 2013 12:54 am
by jacek
I created one on a domain that I own, I think it was test@jacekk.co.uk at the time. So if you have a domain with a hosting provider you might be able to use that.

I doubt you will be able to use roundcube with gMail, they will want you to use their interface.

Re: How to set up a SMTP in Ubuntu

Posted: Tue Feb 12, 2013 1:42 am
by Fidbeck
I've already used with one of the two programs.
I don't really recall if it was with squirrel or roundcube but I think it was squirrel. I had no problem using it.

the problem is i'm only developing locally, and this is just for fun, self learning.

Jacek just a little off-topic here.
A quick question

I'm following some tutorials about MVC structure. My problem is that whenever an error is shown I can't see it.
in this php.ini part
; Common Values:
;   E_ALL (Show all errors, warnings and notices including coding standards.)
;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
error_reportingerror_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
i should change
this
error_reportingerror_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
into this
error_reportingerror_reporting = E_ALL
right?

BTW i've installed this php5- things
sudo apt-get install php5 php5-curl php5-gd php5-ffmpeg php5-cgi php5-fpm php5-dev php5-geoip php5-xdebug php5-dbg

too much stuff no?

EDIT1: it seems I was able to fix it

Re: How to set up a SMTP in Ubuntu

Posted: Fri Feb 22, 2013 6:39 pm
by jacek
Please post support questions in a new topic :)

Re: How to set up a SMTP in Ubuntu

Posted: Sat Feb 23, 2013 8:57 am
by Fidbeck
Don't need anymore lol
in the php.ini there is an option similar to error_reporting: off, I simply had to change it to on hehe