Problem with system root mails - help

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
Im having a problem with a new server I setup with system messages, I have 3 other servers that works fine, I receive every night:

From: Cron Daemon Cron <[email protected]> /scripts/upcp

But in the new server I receive it bad:

From: Mail Delivery System Mail delivery failed: returning message to sender

The contact manager at whm is configured as the same as the other servers. Dont know why is refusing the message, please see the bounce below.

My new server is called server.domain.net and all system messages should be sent to other address in other server called [email protected]



This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
(generated from [email protected])
SMTP error from remote mail server after RCPT TO:<[email protected]>:
host mydomain.com [x.x.xx.xx]: 550-Verification failed for <[email protected]>
550-Called: xx.xx.xx.xx.xx6
550-Sent: RCPT TO:<[email protected]>
550-Response: 550-You do not have sufficient privileges to send mail to this address. Please
550-550 authenticate and try again.
550 Sender verify failed

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from root by server.domain.net with local (Exim 4.68)
(envelope-from <[email protected]>)
id 1JDAFc-0002Z1-3n
for [email protected]; Fri, 11 Jan 2008 00:08:18 -0300
From: [email protected] (Cron Daemon)
To: [email protected]
Subject: Cron <[email protected]> /scripts/upcp
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <[email protected]>
Date: Fri, 11 Jan 2008 00:08:18 -0300

Checking and Repairing System Package Setup......Done
Setting up ip startup......Done
Configuring editors......Done
Creating symlinks for common binaries......Done
Setting Clock......Done
Running Env Auto Repair...quota test: repquota exited with signal 0 (ok)
Requesting script ... Done
Auto Repair is running...
io_compress_gzip has already been run.

spamd_dbm_fix has already been run.
...Auto Repair is done.
...Done
Running Cleanups...Found hostname to be server.unarea.net, which resolves to xx.xx.xx.xx
Hostname Virtual Host is already setup
...Done
Updating services & databases...PHP version file has been updated to 5.2.5
Ftp Quota Check v1.6
...Done
Cpanel updates are coming from layer2.cpanel.net
Setting Up Crontab......Done
Setting Up dcpumon Crontab......Done
Repairing Mailman Permissions......Done
Running Sanity Checks & Notifications...Using smartcheck config 5.32 for smartctl(5.36)
Checking /dev/sda....S.M.A.R.T does not appear to be enabled for this device.
Checking /dev/sdb....S.M.A.R.T does not appear to be enabled for this device.
...Done
Running Named Checks......Done
Restoring compiler permissions...Compilers are disabled for unprivileged users.
...Done
Repairing mysql......Done
Optimizing Databases......Done
Added Contact [email protected]
Scanning for new mail senders.....Done
Scanning suexec_log...Done
 

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
The only difference I found in the servers is that in this one the smtp tweak setting is enable. This feature can be causing this????

Thank you!
 

nrm

Member
PartnerNOC
Jan 11, 2007
16
0
151
Moscow, Russia
Im having the same issue, Im using Centos 5.0/Fedore 5.0

How to correct disable this rule in exim.conf:

# Reject mail to addresses at the $primary_hostname
# Spammers like to send to [email protected]$primary_hostname or [email protected]$primary_hostname for some odd reason

deny message = You do not have sufficient privileges to send mail to this address. Please authenticate and try again.
domains = $primary_hostname

:confused::confused::confused:
 
Last edited:

xprt5

Well-Known Member
Apr 6, 2003
72
0
156
Houston
The option for this is in WHM > Exim Configuration Editor and is called

** BL: Reject mail sent directly to addresses at the primary hostname from
remote servers. [?]

If you have this option checked then it will add the deny_message in exim.conf
to not allow email to the hostname.
 

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
938
21
168
I'm sorry to reply to an old thread but I'm having this problem. All mail is rejected when sent to [email protected] but I dont have this option enabled..

Reject mail sent directly to addresses of the primary hostname from remote servers.

I've reset the exim config on all my servers but this problem still happens.

The rejection message is as follows...

2010-05-11 13:40:27 remote host address is the local host: server.mydomain.net (while verifying <[email protected]> from host mail.server.net [x.x.x.x])
2010-05-11 13:40:27 H=mail.server.net [x.x.x.x] F=<> temporarily rejected RCPT <[email protected]>: remote host address is the local host
I'm not sure about the "while verifying" part of that message either - because we have sender verify disabled too.