Mail Not Coming In

Need help? Ask here.

Moderator: Moderators

Post Reply
jaysworld
Posts: 3
Joined: Thu Aug 25, 2005 12:31 pm

Mail Not Coming In

Post by jaysworld »

Hello,

I am relativly new to linux and am running Debian and postfix as the email server. I have created the mx records for jaywebdesigns.com to point to mail.rollernet.us and mail2.rollernet.us

IN MX 10 mail.rollernet.us.
IN MX 10 mail2.rollernet.us.

However I cannot recieve mail to my clients email services. It seems the mail is coming in now

This is the Postfix program at host
jaysworld1.jaywebdesigns.com.

I'm sorry to have to inform you that your message
could not be
be delivered to one or more recipients. It's
attached below.

For further assistance, please send mail to
<postmaster>

If you do so, please include this problem report.
You can
delete your own text from the attached returned
message.

The Postfix program

<root@Jaywebdesigns.com> (expanded from
<webmaster@jaywebdesigns.com>):
possible alias database loop for root

Message/delivery-status

Reporting-MTA: dns; jaysworld1.jaywebdesigns.com
X-Postfix-Queue-ID: 56671F88267
X-Postfix-Sender: rfc822; sent from email address
Arrival-Date: Thu, 25 Aug 2005 14:26:00 -0400
(EDT)

Final-Recipient: rfc822; root@Jaywebdesigns.com
Original-Recipient: rfc822;
webmaster@jaywebdesigns.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; possible alias
database loop for root

What am I missing here? It used to work great on win 32 and plesk but now it doesn't seem to work at all. mail port is 2525 can someone look at this and tell me where the problem is so I can repair it.
jaysworld
Posts: 3
Joined: Thu Aug 25, 2005 12:31 pm

Post by jaysworld »

also the mail queue on rollernet.us is not emptying onto my email servers either. Help please.
RollerNetSupport
Site Admin
Posts: 598
Joined: Wed Nov 17, 2004 10:05 pm
Location: Nevada
Contact:

Post by RollerNetSupport »

Look in your /etc/aliases file on the mail server; the "possible loop" message means that the alias path is never broken and never ends up at a real user's mailbox. I'm pretty sure that the default root alias on Debian is unset, but I usually get rid of exim and install postfix on my systems.

In the /etc/aliases file, "postmaster" usually points to "root", and "root" usually doesn't go anywhere, or "root" points to "root", creating the loop. Add a line in /etc/aliases for root to point somewhere:

Code: Select all

root:    someuser
Where "someuser" is a valid mailbox. After adding the line to /etc/aliases, you'll need to run the "newaliases" command to rebuild the file.
Technical Support support@rollernet.us
Roller Network LLC
jaysworld
Posts: 3
Joined: Thu Aug 25, 2005 12:31 pm

Post by jaysworld »

Ok I edited aliases to look like this

Postmaster: someuser
nobody: someuser
hostmaster: someuser
usenet: root
news: root
www: root
ftp: root
abuse: root
noc: root
Security: root
root: someuser

Still not getting mail though. Ran the newaliases command and it seems to have run since it didn't say anything and brought me back to the command line. Why is mail still not arriving?
RollerNetSupport
Site Admin
Posts: 598
Joined: Wed Nov 17, 2004 10:05 pm
Location: Nevada
Contact:

Post by RollerNetSupport »

Here's a really basic configuration for Postfix:

Code: Select all

smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = no

myhostname = server.mydomain.com
mydestination = $myhostname, localhost.$mydomain
mynetworks = 127.0.0.0/8
recipient_delimiter = +

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
You'll need to add the domain names the server is the final destination for to the "mydestination" directive, and the networks this server should trust to "mynetworks", but this should work. You can see a full list of configuration directives at: http://www.postfix.org/postconf.5.html
Technical Support support@rollernet.us
Roller Network LLC
Post Reply