LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2006, 11:12 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Exim4 relay to hosting prob


Hi
Iam using exim4 as a smarthost to relay emails to my hosting server, the problem is that iam using mutt to send emails internally but I cant seem to sen data outside of the domain...below is an extract from my mailog file :


2006-05-04 22:08:13 1FbjBN-0002z6-81 <= ali.jawad@nocclb.com U=ali P=local S=455 id=20060504190813.GA11471@nocclb.com
2006-05-04 22:08:57 1FbjBN-0002z6-81 ** m_alameh@hotmail.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer after end of data: host nocclb.com [65.75.128.46]: 550 Administrative prohibition
2006-05-04 22:08:57 1FbjC5-0002z9-5N <= <> R=1FbjBN-0002z6-81 U=Debian-exim P=local S=1349
2006-05-04 22:08:57 1FbjBN-0002z6-81 Completed
 
Old 05-05-2006, 08:40 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Tell me if I understand your setup. You are trying to send mail from nocclb.com (65.75.128.46) to a remote server, which is then supposed to relay it to the final destination.

In the given scenario, you are trying to send mail from ali.jawad@nocclb.com to m_alameh@hotmail.com from 65.75.128.46. 65.75.128.46 is supposed to take delivery, and send it to a remote server, which is supposed to deliver it to hotmail.com. Is this correct?

If so, it looks like the remote server is not configured to relay messages from 65.75.128.46. Unless you configure it to accept messages for relay from a given host, it will only accept messages for local delivery.

If I have properly understood the setup, do you have Exim running on the remote server, or what? If I am wrong about the setup, please clarify.
 
Old 05-08-2006, 02:23 AM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Exim4 relay to hosting prob

Ive been setting my up my own mail server on my debian sarge box Iam using exim4 for a week now...everything is fine exept relaying email to my smtp..Ive read every possible paper on the subject and I dont seem to have forgotten anythin..
Iam using plain authenication...

Ive added "AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1" to exim4.conf.template and I run the update-exim4.conf utility...

Ive set all the options in update exim4.conf.conf correctly...

# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='mydomain.com'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.1.0/24'
dc_smarthost='mysmtp.com'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery=maildir_home
#host_auth_accept_relay = *


Ive set my password in passwd.client

### CONFDIR/passwd.client
#
# Format:
#targetmailserver.example:loginassword
#
# default entry:
mysmtp.com:myusername:mypassword


But I still get the following error in the mailog when I use mutt to send an email outside of my linux box..below I was trying to send an email from my email ali.jawad@mysmtp.com "set as an alias to my account on the debian box" to my_mail@gmail.com... first the error happens "SMTP error from remote mailer after end of data: host mysmpt.com [xx.xx.xx.xx "my smtp address"]: 550 Administrative prohibition" and then when the mailer tries to send me an email to my alias ali.jawad@mysmtp.com I get an unroutable address problem..this is no big deal..I wana get rid of the first error first..

2006-05-08 13:21:40 1Fd2s0-0000TS-Jx <= ali.jawad@mysmtp.com U=ali P=local S=452 id=20060508102140.GC1812@mysmtp.com
2006-05-08 13:22:28 1Fd2s0-0000TS-Jx ** my_email@gmail.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer after end of data: host mysmpt.com [xx.xx.xx.xx "my smtp address"]: 550 Administrative prohibition
2006-05-08 13:22:28 1Fd2sm-0000TV-2c <= <> R=1Fd2s0-0000TS-Jx U=Debian-exim P=local S=1344
2006-05-08 13:22:28 1Fd2sm-0000TV-2c ** ali.jawad@mysmtp.com: Unrouteable address
2006-05-08 13:22:28 1Fd2sm-0000TV-2c Frozen (delivery


!!!- UPON FURTHER INVESTIGATION I FOUND THE FOLLOWING INFO AT MY HOSTING COMPNANY -!!!

I can't send email. What's wrong?
Our SMTP servers are configured as secure relays. This means that you cannot simply reference "mail.yourdomain.com" as an Outgoing mailserver unless you successfully log in via one of your pop3 accounts at "mail.yourdomain.com' before you try to send. This is a mandatory setting to prevent spammers from using our mailservers as havens for unsolicited email. If you are getting a "relaying prohibited" or "disconnected by administrator" error, it means that you haven't logged into the pop3 server at your domain before you tried to send through the smtp server at your domain. To log in, you need to check for mail first

Last edited by ALInux; 05-08-2006 at 03:24 AM.
 
  


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
LXer: Web Hosting Provider Zen Internet Offer Linux Hosting Trial for 1 ... LXer Syndicated Linux News 0 04-20-2006 09:33 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
exim4 exim4, setup debian tongueroo Linux - Networking 1 11-09-2004 04:12 AM
Unix hosting Vs windows hosting the_imax Linux - Networking 2 07-24-2004 01:47 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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