LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2011, 11:24 AM   #1
riderryuken
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Rep: Reputation: 0
Chaning qmail to send email from an external source


Hello everyone,

In the past our email was hosted internally on the same linux box as our website. On the website there are a few places to send emails in case of problems, etc. Recently we changed our email to be hosted by an outside source. I have everything set up on everyone's computer and the MX records are changed and all email works with the switch.

The problem is I need to figure out what exactly needs changed on the linux machine so that the website will use the new email host instead of sending it locally. Right now it's not a problem because everyone still has their old email accounts in Thunderbird as well as the new one (which also means if someone sends an email with the old account to someone in the office it will also go to the old account of the recipient, but that's no big deal).

Does anyone know exactly what I need to change? I tried editing some of the stuff in php.ini and modifying a few other things, but no luck.

This is the stuff in php.ini I have been editing:
[mail function]
; For Win32 only.
;SMTP = popmail01.smarsh.com
;smtp_port = 465

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
 
Old 10-28-2011, 12:38 PM   #2
riderryuken
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Alright so I edited /etc/qmail/locals to the new email server and that seems to have worked although it's much slower. I guess that's because it has to go through more steps or maybe it has something to do with the time setting.

Edit:
Alright I thought that worked, but it seemed like it was taking increasingly longer to send the message. Anyone have any thoughts? I'm not that great with Linux.

Last edited by riderryuken; 10-28-2011 at 03:06 PM. Reason: more info
 
Old 10-30-2011, 07:56 PM   #3
riderryuken
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
I'm not sure if I screwed this up by posting twice (three times now) since some forums people that help only look if there's one post, but anyone have any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php script don't send email with qmail pk_kala Linux - Server 8 05-02-2009 09:33 AM
Qmail - Limit email send max_tcs Linux - Server 3 10-18-2007 05:47 AM
qmail-send complains about ALL email addresses stabu Linux - Server 4 02-03-2007 04:43 PM
qmail doesnt send email to the outside world leosgb Linux - Networking 7 04-28-2006 08:32 PM
Qmail: send email from shell mikeshn Linux - General 1 09-30-2004 02:19 AM


All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration