Solved

Postfix loopback

Posted on 2013-01-13
4
649 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
  • 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
GMAIL ISSUE 4 41
Magento Email Addresses 5 34
Linux Network manager connection based on location 3 53
Handling abuse of email address 7 43
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this video we show how to create an Address List 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 Organization >> Ad…

828 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