LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-23-2007, 10:32 PM   #1
richinsc
Member
 
Registered: Mar 2007
Location: Utah
Distribution: Ubuntu Linux (20.04)
Posts: 224

Rep: Reputation: 32
Unhappy Where to Add Relay Domains Exim4?


I am trying to allow and add to my exim4 server the domain vtext.com to allow for pager notifications. But I am unable to find the file where the domains need to be posted. I have looked into config files and keep seeing a refrence to +relay_to_hosts and +relay_from_hosts.

I am using Debian Etch and here is the resuslt of the log

Code:
2007-04-23 21:20:39 1HgBa3-0001ml-OJ <= root@domain.org U=root P=local S=361
2007-04-23 21:20:55 1HgBa3-0001ml-OJ ** 9999999999@vtext.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<9999999999@vtext.com>: host smtp.where.secureserver.net [64.202.166.11]: 553 sorry, relaying denied from your location [xxx.xxx.xxx.xxx] (#5.7.1)
2007-04-23 21:21:01 1HgBaP-0001n8-2t <= <> R=1HgBa3-0001ml-OJ U=Debian-exim P=local S=1375
2007-04-23 21:21:01 1HgBa3-0001ml-OJ Completed
2007-04-23 21:21:21 1HgBaP-0001n8-2t => root@domian.org R=smarthost T=remote_smtp_smarthost H=smtp.secureserver.net [64.202.166.11]
2007-04-23 21:21:21 1HgBaP-0001n8-2t Completed


On a note I have edited this log entry above before posting to not have my domain or number to prevent spamming from spammers.

Anyway.. All I want to do is allow my mail server to send an email to the vtext.com domain. Any help would be great.

On an added note, it seems that anything that is not hosted my smtp.secureserver.net is unable to be relayed by my server.

Last edited by richinsc; 04-23-2007 at 10:43 PM.
 
Old 04-23-2007, 11:01 PM   #2
nithintou
LQ Newbie
 
Registered: Apr 2007
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
this is from my exim.conf

domainlist relay_domains = lsearch;/etc/localdomains : \
lsearch;/etc/secondarymx
hostlist relay_hosts = lsearch;/etc/relayhosts : \
localhost

hope that helps
 
Old 04-23-2007, 11:31 PM   #3
richinsc
Member
 
Registered: Mar 2007
Location: Utah
Distribution: Ubuntu Linux (20.04)
Posts: 224

Original Poster
Rep: Reputation: 32
Well I added those but every time I restart exim I still get same log result. Exim was installed and configured using apt-get and debconf for configuring. So where these actual files are being stored I don't know.. If I would have built this from source and written my own config files I could maybe get this to work. This is what my config files lists.

Code:
# List of recipient domains to relay _to_. Use this list if you're -
# for example - fallback MX or mail gateway for domains.
.ifndef MAIN_RELAY_TO_DOMAINS
MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
.endif
domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS : \
    lsearch;/etc/secondarymx

# List of sender networks (IP addresses) to _unconditionally_ relay
# _for_. If you intend to be SMTP AUTH server, you do not need to enter
# anything here.
.ifndef MAIN_RELAY_NETS
MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
.endif
hostlist relay_from_hosts = MAIN_RELAY_NETS : \
    lsearch;/etc/relayhosts
The only things I added to config is
Code:
: \ lsearch;/etc/relayhosts 

and 

: \ lsearch;/etc/secondarymx
If I could just figure out where these files are being refrenced then I could add the domains to it.
 
  


Reply



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
Exim4 SMTP Relay richinsc Debian 4 03-25-2008 07:36 PM
Exim4 for multiple domains - some problems bence8810 Linux - Server 2 01-28-2007 09:02 AM
exim4 relay upload-3 Linux - Networking 0 06-28-2006 03:49 PM
Exim4 relay to hosting prob ALInux Debian 1 05-08-2006 04:07 PM
Exim4: Two accounts same name, different domains? jonwatson Linux - Software 12 02-02-2005 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:46 AM.

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
Open Source Consulting | Domain Registration