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:login
assword
#
# 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