LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-06-2003, 07:43 AM   #1
romel
Member
 
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Rep: Reputation: 15
Mail Relay


I am configuring My Exim Mail Server at debian

Whenever I am trying to "telnet 202.84.x.x 25" it says alright

220 debian.test com ESMTP Exim 3.35...............

Then I am giving HELO debian.test.com

it says 250 debian.test.com Hello root at debian.test.com ( 202.84.x.x )

Then I am giving

mail from: ekram@test.com ......it says...
250 <ekram@test.com> is syntactically correct

Then I am giving

rcpt to: nirapad@hotmail.com ..it says...

550 relaying to <nirapad@hotmail.com> prohibited by administrator

my host name is : debian
domain name is : test.com

IP address : 202.84.x.x which is a real IP....

So I cannot send mail to other domain....

I can send and recieve to my local PC...

Any help is highly appreciated....
 
Old 12-06-2003, 07:48 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
I think your post is somehow confusing. What are you trying to archive? Relaying by IP address?
 
Old 12-06-2003, 07:51 AM   #3
romel
Member
 
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Actually I am just trying to send mail to outer domains..say at hotmail.com...

I am online...I have real IP which is on network and I can browse the internet....

my domain name is test.com
host name is debian

my account is ekram@test.com

I am trying to send mail to nirapad@hotmail.com account from my ekram@test.com ...then It is giving error....when I am trying these process through telnet with my IP and with 25 ( Outgoing ) port...

Last edited by romel; 12-06-2003 at 08:05 AM.
 
Old 12-06-2003, 08:38 AM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Your domain name is test.com? this test.com?
Domain Name: TEST.COM

Created on..............: Wed, Jun 18, 1997
Expires on..............: Sat, Jun 17, 2006
Record last updated on..: Mon, Nov 03, 2003

Administrative Contact:
Test Central, Inc.
Test Central Inc.
1501 Euclid Ave., Suite 407
Cleveland, OH 44115
US
Phone: 2165021052
Email: shunder@TESTCENTRAL.COM


Give us the real hostname. How about posting your /etc/exim/exim.conf? A wonderful way of debugging this is to tail the error log and mainlog.

If you have X running, start an x-terminal and type

su -

then type

tail -f /var/log/exim/mainlog /var/log/exim/rejectlog

Which will let you watch the logs. Then instead of mucking with telnet, why not just ssh into the box and do:

echo "test message" | mail -s "test message" billybob@hotmail.com

or

echo "test message" | mail -s "test message" localuser

Where localuser is one of your users on the mail server machine.

Do this and watch the logs. WHAT CHOICE did you make when you ran eximconfig?
 
Old 12-06-2003, 11:23 PM   #5
romel
Member
 
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Original Poster
Rep: Reputation: 15
what is the default configuration file for exim MTA

Will I need to edit this file only to configure EXIM MTA...

Last edited by romel; 12-06-2003 at 11:25 PM.
 
Old 12-07-2003, 02:42 AM   #6
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Read my above post. I asked you to post the contents of the exim.conf file. You are making things exorbitantly more difficult for yourself than you need to. Start reading the replies and the documentation that accompanies the OS.

Once again, the conf file is /etc/exim/exim.conf. It is created through the eximconfig program that is executed by root. Do you understand that configuration files are stored in the /etc directory?

Why do you NOT give us the information that I've asked you to? Your problem is very, very simple and can be solved if you would start following directions.
 
Old 12-09-2003, 11:52 PM   #7
Modify
Member
 
Registered: Nov 2003
Distribution: Debian 3.0r1
Posts: 55

Rep: Reputation: 15
I have a slightly similar problem.

Have downloaded fetchyahoo, and have it running as a nice little cron script, and have Evolution set up to grab it from the local mbox.

I'd like to be able to *send* email out through my local MTA (exim), but recieving it is not necessary (would be sent to my yahoo username.

My exim.conf is at http://modify.ui3.org/exim.conf, so I don't make this page longer than I have to (:

Thanks in advance for the help.
 
Old 12-10-2003, 03:58 AM   #8
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
put in a proper smtp server name. or use yours. but you need a FQDN.
 
Old 12-10-2003, 08:56 AM   #9
Modify
Member
 
Registered: Nov 2003
Distribution: Debian 3.0r1
Posts: 55

Rep: Reputation: 15
Do I understand you correctly that I would not be able to specify "penance" as my local SMTP server?

If not, I'm having trouble finding the part of exim.conf that you're talking about, but have found 2 places that seem likely:

Code:
# This transport is used for delivering messages over SMTP connections.

remote_smtp:
  driver = smtp
# authenticate_hosts = smarthost.isp.com

# To use SMTP AUTH when sending to a particular host, such as your ISP's
# smarthost, uncomment and edit the above line, and also the example
# client-side authenticators at the bottom of the file
and/or

Code:
######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################

# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.

# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.

lookuphost:
  driver = lookuphost
  transport = remote_smtp

# This router routes to remote hosts over SMTP by explicit IP address,
# given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
# require this facility, which is why it is enabled by default in Exim.
# If you want to lock it out, set forbid_domain_literals in the main
# configuration section above.

literal:
  driver = ipliteral
  transport = remote_smtp

end
 
Old 12-14-2003, 11:28 PM   #10
romel
Member
 
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Dear llamakc,

my "/etc/exim/exim.conf" file link is as follows :

http://www20.brinkster.com/ekram/exim.conf

Please take a look and suggest...this was my defult file..I have not change it yet..But I have downloaded exim 4 and would like to install and configure it...

Thanks in advance for your help...
 
  


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
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
possible mail relay tangle Linux - Security 4 02-23-2005 06:42 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
RH 9.0 MAil Relay clintonm9 Linux - Software 1 06-24-2003 07:54 AM

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

All times are GMT -5. The time now is 04:45 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