LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2009, 02:04 AM   #1
technocp
LQ Newbie
 
Registered: Oct 2008
Posts: 7
Thanked: 0
connecting evolution to local postfix email server


[Log in to get rid of this advertisement]
Hi friends,
I have installed postfix in Ubuntu 8.10. I can send emails to local users and also to users outside my network. I have used smtp.gmail.com as relay host. currently I am able to send email trough evolution where my evolution account smtp is configured as 127.0.0.1. but I am not able to configure it as my IP address (192.168.1.27).
can any one please help me out
linuxubuntu technocp is offline     Reply With Quote
Old 11-26-2009, 06:38 PM   #2
kbp
Member
 
Registered: Aug 2009
Posts: 793
Thanked: 80
Try this -

Code:
postconf -e "inet_interfaces = all"
/etc/rc.d/init.d/postfix restart
By default postfix will only listen on the loopback interface, the change above will configure postfix to listen on all network interfaces

cheers
linuxfedora kbp is offline     Reply With Quote
Old 12-07-2009, 11:42 PM   #3
technocp
LQ Newbie
 
Registered: Oct 2008
Posts: 7
Thanked: 0

Original Poster
Now I am able to send emails configuring my IP address in evolution but I am not able to send emails from evolution configured from other machine.

eg. I have an Ubuntu machine named ubuntu which I am using to run Postfix server. It has the IP as 192.168.1.104. I have configured evolution using the IP address of same server as smtp server (192.168.1.104). emails are sent through evolution very smoothly. but when I move on to the other host which is named trinity (192.168.1.100) and try to give the same IP address (192.168.1.104) as smtp server IP in Local network I am not able to send emails. My evolution says connection to the server was refused. Is it some security issue though I have the firewall disabled on both the machines.
linuxubuntu technocp is offline     Reply With Quote
Old 12-08-2009, 01:46 AM   #4
kbp
Member
 
Registered: Aug 2009
Posts: 793
Thanked: 80
You'll need to tell postfix which networks to relay for:

Code:
postconf -e "mynetworks = 192.168.1.0/24"
/etc/rc.d/init.d/postfix restart
..where 192.168.1.0/24 is your lan

cheers
linuxfedora kbp is offline     Reply With Quote

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
Evolution issues connecting with Exchange server kmcneely Linux - Newbie 1 06-18-2009 06:11 PM
Email server running Postfix will not accept email... trekgirl Linux - Server 12 03-04-2009 02:43 AM
how to make postfix send email to another postfix in local network (LAN)? h4k33m Linux - Server 7 01-19-2009 05:26 PM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 05:43 AM
Connecting Ximian Evolution to MS Exchange Server LJ151 Linux - Software 0 08-13-2004 03:25 PM


All times are GMT -5. The time now is 03:40 PM.

Main Menu
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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration