Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 20th March 2013, 12:57
stimpack stimpack is offline
Junior Member
Join Date: Feb 2013
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default Postfix mail for mydomain.com loops back to myself Problem

I'm using vps server with ubuntu 10.04 when i send email i got this:

Mar 19 18:09:01 mail postfix/smtp[6340]: 8FAF722294: to=<root@mydomain.com>, orig_to=<root>, relay=none, delay=0.09, delays=0.08/0.01/0/0, dsn=5.4.6, status=bounced (mail for mydomain.com loops back to myself)

I look around inforums to find the solution but in vain even i changed my Postfix settings:

My destination setting was like this
    mail.mydomain.com, localhost.mydomain.com, , localhost
i changed it to this

 $mail.mydomain.com, localhost, localhost.mydomain.com, mydomain.com
i made many variations but still not working.

the output of `cat /etc/mailname`


the output of `postconf -n`:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    config_directory = /etc/postfix
    inet_interfaces = all
    inet_protocols = ipv4
    mailbox_size_limit = 0
    milter_default_action = accept
    milter_protocol = 2
    mydestination = localhost.$mydomain.com, localhost, mail.mydomain.com
    myhostname = mail.dimonos.info
    mynetworks = [::ffff:]/104 [::1]/128 ip
    myorigin = $mydomain
    non_smtpd_milters = inet:localhost:8891
    readme_directory = no
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_milters = inet:localhost:8891
    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
Reply With Quote
Sponsored Links
Old 23rd March 2013, 19:28
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

mydomain.com is missing in

mydestination = localhost.$mydomain.com, localhost, mail.mydomain.com
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 13:51
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 10:58
Email from server driving me crazy chaloum General 29 13th April 2012 14:45
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 18:57
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 03:59

All times are GMT +2. The time now is 12:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.