LinuxQuestions.org
Visit Jeremy's Blog.
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


Closed Thread
  Search this Thread
Old 05-08-2006, 02:21 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


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:22 AM.
 
Old 05-08-2006, 04:07 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread



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 relay to hosting prob ALInux Linux - Networking 2 05-08-2006 02:23 AM
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
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM

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

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