LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2006, 04:35 PM   #1
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
Qmail can't send for outside


i setup qmail depending on qmailrocks.org installation instructions. i'm using a windows workstation with outlook express to test my IMAP and SMTP server. i tried to send a self test from the postmaster@waelaltaqi.com to user@waelaltaqi.com and the message went trough. now i'm trying to send a message to my Gmail account and the client is coming back with this error:
Code:
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'wael.altaqi@gmail.com'. Subject 'test', Account: 'mail.waelaltaqi.com', Server: 'mail.waelaltaqi.com', Protocol: SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
i have no idea were the problem is, i used nslookup to see if my server is able to resolve mx records for outside domains:

Code:
root@mail:~# nslookup
> set type=mx
> gmail.com
Server:         192.168.0.1
Address:        192.168.0.1#53

Non-authoritative answer:
gmail.com       mail exchanger = 50 gsmtp183.google.com.
gmail.com       mail exchanger = 5 gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 10 alt2.gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 50 gsmtp163.google.com.

Authoritative answers can be found from:
gmail.com       nameserver = ns3.google.com.
gmail.com       nameserver = ns4.google.com.
gmail.com       nameserver = ns1.google.com.
gmail.com       nameserver = ns2.google.com.
gmail-smtp-in.l.google.com      internet address = 209.85.133.27
gmail-smtp-in.l.google.com      internet address = 209.85.133.114
alt1.gmail-smtp-in.l.google.com internet address = 64.233.167.27
alt1.gmail-smtp-in.l.google.com internet address = 64.233.167.114
alt2.gmail-smtp-in.l.google.com internet address = 64.233.183.114
alt2.gmail-smtp-in.l.google.com internet address = 64.233.183.27
gsmtp163.google.com     internet address = 64.233.163.27
gsmtp183.google.com     internet address = 64.233.183.27
>
so my server is able to resolve mx records for outside domains. so it's definatly a problem with my smtp settings that it's not able to send out messages for other smtp servers on the internet. i have to mention that server is behind an ipcop firewall with no addons on it.
is there a way to troubleshoot smtp using telnet command?

please help :-)
 
Old 12-10-2006, 04:47 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Are you authenticating yourself when sending emails? Most MTA's by default will reject emails that are not locally unless you authenticate yourself. Or add your client machine to the list of known hosts to relay thru to send email, etc. This prevents your MTA from being an open relay for spammers and crackers to use your box to send emails from, etc.
 
Old 12-11-2006, 03:27 PM   #3
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
when i told outlook express to autheneticate with the smtp username/pass, it worked right away. it makes a lot of sence not to let me send until i i sign in. thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
can't send mail using qmail MPowers Linux - Software 1 03-10-2006 04:13 AM
i can't send mail in qmail by evolution phpvirus Linux - General 7 07-29-2005 10:53 AM
qmail - Can't send out to the world? LampMan Linux - Software 2 08-12-2004 04:00 PM
send mail or qmail, which is better? mamta_k Linux - Software 0 06-22-2004 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration