?
Solved

qmail setup issues

Posted on 2013-01-18
4
Medium Priority
?
555 Views
Last Modified: 2013-01-28
I'm trying to setup my own mail server with qmail and I'm having issues sending and receiving emails I've tested sending and receiving to 2 seperate hosted email service providers (hostedemail.com and registrar-servers.com) as well to Hotmail and Yahoo mail.

I would like to confirm if the problem I'm having is because my static IP's reverse lookup (RPT) does not resolve to my domain, but to my ISP's domain I'm trying to create the mail server with cruzcontrolradius.com.

Bellow are the results of my emails.

Thanks you for any help or advice!!



Yahoo mail accepted my emails but as Spam.

Hotmail provided the following reason: Mail rejected by Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP email to an Internet mail server. If you are not an email/network admin please contact your Email/Internet Service Provider for help. http://www.spamhaus.org maintains lists of dynamic and residential IP addresses.  


log msg for emails sent to registrar-servers.com:
<carlos@xxradius.com>:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

--- Below this line is a copy of the message.

Return-Path: <carlos@ccurbiz.com>
Received: (qmail 4531 invoked by uid 48); 18 Jan 2013 06:26:14 -0000
To: <carlos@ccradius.com>
Subject: test 32
X-PHP-Script: webmail.ccurbiz.com/index.php for 209.161.216.164
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 18 Jan 2013 01:26:14 -0500
From: carlos@ccurbiz.com
Message-ID: <3620b9e8e70eea942eb22a971486a978@ccurbiz.com>
X-Sender: carlos@ccurbiz.com
User-Agent: RoundCube Webmail/0.1

test 32



log msg of emails sent to hostedemail.com:
Jan 18 08:10:18 kloxo_001 qmail: 1358514618.886885 delivery 578: deferral: Connected_to_216.40.42.4_but_greeting_failed./Remote_host_said:_554_5.7.1_Service_unavailable;_Client_host_[216.154.21.22]_blocked_using_urbl.hostedemail.com;_http://www.spamhaus.org/query/bl?ip=216.154.21.22/
0
Comment
Question by:enfant_terrible
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:R_Edwards
ID: 38793368
copy of the output of qmail-showctl
0
 

Author Comment

by:enfant_terrible
ID: 38794878
here is the output of qmail-showctl, the host qmail shows is not mine, but of the ISP.
Thanks for the help and input.

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 509.
subdirectory split: 23.
user ids: 200, 201, 202, 0, 203, 204, 205, 206.
group ids: 200, 201.

badhelo: (Default.) Any HELO host name is allowed.

badmailfrom:
.*\ @.* MAIL FROM denied if it matches this pattern.
!.*@.*\..* MAIL FROM denied if it matches this pattern.
.*%.* MAIL FROM denied if it matches this pattern.

badmailfromnorelay: (Default.) Any MAIL FROM is allowed.

badmailto:
[\(\)] RCPT TO denied if it matches this pattern.
[\{\}] RCPT TO denied if it matches this pattern.
@.*@ RCPT TO denied if it matches this pattern.
[\%] RCPT TO denied if it matches this pattern.
[\!] RCPT TO denied if it matches this pattern.

badmailtonorelay: (Default.) No RCPT TO are specifically denied.

badloadertypes:

badloadertypes.cdb: Modified recently enough; hopefully up to date.

badmimetypes:

badmimetypes.cdb: Modified recently enough; hopefully up to date.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is 216-154-21-22.dsl.look.ca.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: Remote concurrency is 60.

databytes: SMTP DATA limit is 20971520 bytes.

defaultdomain: Default domain name is 216-154-21-22.dsl.look.ca.

defaulthost: Default host name is 216-154-21-22.dsl.look.ca.

doublebouncehost: (Default.) 2B recipient host: 216-154-21-22.dsl.look.ca.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is 216-154-21-22.dsl.look.ca.

helohost: (Default.) SMTP client HELO host name is 216-154-21-22.dsl.look.ca.

idhost: (Default.) Message-ID host name is 216-154-21-22.dsl.look.ca.

localiphost: (Default.) Local IP address becomes 216-154-21-22.dsl.look.ca.

locals:
Messages for mail.cruzcontrolradius.com are delivered locally.

me: My name is 216-154-21-22.dsl.look.ca.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is kloxo_001.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: Message lifetime in the queue is 604800 seconds.

rcpthosts: (Default.) SMTP clients may send messages to any recipient.

morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: SMTP greeting: 220 216-154-21-22.dsl.look.ca - Welcome to Qmail.

smtproutes:

srs_domain: (Default.) SRS domain name is .

srs_secrets: (Default.) No secrets

srs_maxage: (Default.) SRS maxage is 21.

srs_hashlength: (Default.) SRS hashlength is 4.

srs_hashmin: (Default.) SRS hashmin is 4.

spfbehavior: The SPF behavior is 0.

spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.

spfguess: (Default.) The guess SPF rules are: .

spfrules: (Default.) The local SPF rules are: .

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:
Virtual domain: ccurbiz.com:ccurbiz.com
Virtual domain: cruzcontrolradius.com:cruzcontrolradius.com

locals~: I have no idea what this file does.

domainkeys: I have no idea what this file does.

dh512.pem: I have no idea what this file does.

logsize: I have no idea what this file does.

virtualdomains.lock: I have no idea what this file does.

servercert.pem: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.

simversions.cdb: I have no idea what this file does.

logcount: I have no idea what this file does.

tlsclientciphers: I have no idea what this file does.

blacklists: I have no idea what this file does.

simcontrol: I have no idea what this file does.

clientcert.pem: I have no idea what this file does.

simcontrol.cdb: I have no idea what this file does.

tlsserverciphers: I have no idea what this file does.

dh1024.pem: I have no idea what this file does.

rsa512.pem: I have no idea what this file does.
0
 
LVL 8

Accepted Solution

by:
R_Edwards earned 1500 total points
ID: 38801114
is your hostname listed in /var/qmail/control/locals and /var/qmail/control/rcpthosts files?

if not add the hostname there and restart qmail and test again
0
 

Author Comment

by:enfant_terrible
ID: 38829762
a follow up:
after I changed the local host name to the mail servers full domain name ie mail.server.com
email started to be deliverd.
I also also asked my ISP to change the RPT / reverse lookup associated with the IP and everything seems to be working ok.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question