I know this has been talked about before, and Ive looked over and tried most of the things that where explained on the other posts about this but im lost! Im somewhat of a newbie! Anyways, here goes!

I installed Debian sarge, only with desktop environment packages because I wanted to install Apache, MySql, and PHP my self so I would know what was where. (im pretty new to linux as well) Next, I used Apachefriends.org XAMPP package that was a breeze to install and had my drupal site running in less that 15 min. Execpt for emailing. What happens is, when you create a new user it acts as if every thing worked perfectly, but infact the email never gets sent. (im using one of my emails so I know it doesnt get sent)..

Anyways, It would be so awesome if someone had a sendmail/postfix setup with drupal for dummies! Sorry for another post about something already talked about. I love drupal, and want to get this working so badly.!
Thanks,
Jacob

Comments

axel’s picture

Debian GNU/Linux include several MTA (mail transfer agents), 'sendmail' one of them. You free to install any of them. By default as i know 'Exim' package installed. IMHO, this MTA more easy and secure than sendmail. Look also to 'postfix'.

> I used Apachefriends.org XAMPP package that was a breeze to install

If it is thing about I think, then this is a very wrong way for Debian. You don't need to install any 'bundles' as it make in Windows. Right way in Debian is to use native packages (deb's) controlled by the APT system. Because only with APT you may keep system consistent and easy for further administration.

# apt-get install apache
# apt-get install php4
# apt-get install mysql
# apt-get install exim

Or use more high-level wrappers to APT - 'dselect' or more recommended in you case: 'tasksel'. Run:

# tasksel

then check "Mail server", "SQL server" and "Web server". APT and his friends does rest of all job for you automatically.

--
Axel,
Russian Drupal Community

jdavis’s picture

Yeah, the reason I used XAMPP was because like I said, im quite new to linux. I agree I should use the native packages. Although im not quite sure on how easy apache, mysql, php, and drupal are to configure to work with each other. The problem I had before when I tried doing this was I wasnt quite sure where things where installed. I know there is a doc on installation, but its not dumbed up enough for me. Thanks for the reply though. Im going to format my machine and try this method again this weekend.

javanaut’s picture

For Debian, they have a console tool called 'dselect' for selecting packages. It's a frontend to the apt-get, apt-config, etc programs. Once it's setup, it's fairly easy to search and install packages.

axel’s picture

I think 'tasksel' will more easy way in this case.

--
Axel,
Russian Drupal Community

javanaut’s picture

I just noticed that you mentioned dselect in your comment. Sorry for the redundancy. I'll have a look at tasksel myself.

AlanChandler’s picture

Aptitude is much better than dselect.

One of its many advantages is that it remembers that packages that are installed automatically as a result of a package you request to install so that if you remove it, it removes the automatically installed packages too.

axel’s picture

Default configuration are will convenient for most cases. Additionaly, packages have scripts for self config, which runs on package install. For example, when you install 'exim' during process of installation you will asked for some parameters - hostname, which sort of mailserver you want etc. - you answer these questions and installer will create config for exim. You don't need edit config by hands.

But my personal preference for drupal - install him from tar.gz, not from deb, just in unpack to ~/public_html subdirs. Then you may have many independent drupal's on one machine, owned by your account, this is more convenient for site creation and testing, then system install. Imho.

--
Axel,
Russian Drupal Community

jdavis’s picture

Ok, I go through the configuration, but I dont exactly know how to answer most of the questions?
For Exim4:

Split configuration into small files?
General type of configuration?
internet site; mail is sent and received directly using SMTP
mail sent by smarthost; received via SMTP or fetchmail
mail sent by smarthost; no local mail
local delivery only; not on a network

System Mail Name? ok, im using road runner. so the domain is ec.rr.com and my computer name is navi? so would I put my FQDN here which would be navi.ec.rr.com??

Ip to listen for? the ip on my machine is 192.168.0.3 ?
Domains to relay mail for?
Machines to relay mail for?

Thanks for the feed back!

jdavis’s picture

Ok, last night while I was going through the Exim4 configuration so that I could layout the questions I somehow answered them correctly, because its working! Any insight as the correct answers of these question would still help though!
Thanks

AlanChandler’s picture

You haven't said much about what you really want to achieve.

I have the exim4-daemon-heavy installed as my main mail engine. My configuration file is 700 lines long - necessary to receive mail for my family, and do my best to reject spam.

However on other machines which just want to support receiving mail from an application and sending it off to another mail system (such as the exim4 one above) I use the ssmtp. If you install the debian package you answer about 4 questions about your e-mail address and the mail server and its done

jdavis’s picture

My objective for the mail client is simply at this point just to send the conformation emails to the new users and such. Im just learning and playing around with the stuff so.. I have to say though, I really like the linux, and drupal! I think its all great and Im having an awesome time working with it. Thanks guys,

AlanChandler’s picture

Subject line says it all

just apt-get install ssmtp