Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Postfix loopback

Posted on 2013-01-13
4
Medium Priority
?
662 Views
Last Modified: 2013-01-13
I have Postfix/Dovecot installed on debain squeeze. When I try to send an email i get: mail for
    XXXXX.static.cloud-ips.com loops back to myself

I really hope someone can point me in the right direction. Here is my  main.cnf



    root@50-XX-XX-XXX /v/log# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_percent_hack = no
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    home_mailbox = Maildir/
    inet_interfaces = all
    mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
    mailbox_size_limit = 0
    mydestination = napolean, myfirstdomain.net, myseconddomain.com, localhost
    myhostname = Napolean
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    myorigin = /etc/mailname
    readme_directory = no
    recipient_delimiter = +
    relayhost =
    sender_bcc_maps = hash:/etc/postfix/bcc
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    virtual_alias_maps = hash:/etc/postfix/virtual
0
Comment
Question by:eazy3333
[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
  • 3
4 Comments
 
LVL 1

Author Comment

by:eazy3333
ID: 38772851
Also, my mail.log hasn't updated since january 4
0
 
LVL 19

Accepted Solution

by:
bevhost earned 2000 total points
ID: 38772874
Perhaps XXXXX.static.cloud-ips.com is your machines actual hostname.
So mail delivery for root@XXXXX.static.cloud-ips.com will want to come to your server.
However you have overwritten the hostname configuration with your own static entries, so postifx no longer recognises that name as it's own.
You could add it to mydestination as see what happens after you restart postifx.
0
 
LVL 1

Author Comment

by:eazy3333
ID: 38772914
I'm trying to send the email from a client outside of the server. That's just the hostname the bounceback provides. From everything i read it appears to be misconfiguration in mydestination... I've tried multiple combinations. I rebooted the server logs are back  the mail log is reporting the same loopback error
0
 
LVL 1

Author Comment

by:eazy3333
ID: 38772918
bevhost: that worked! thank you!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In this video we show how to create a mailbox database 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 Servers >> Data…
Suggested Courses

636 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