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.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2013, 11: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
Code:
    mail.mydomain.com, localhost.mydomain.com, , localhost
i changed it to this

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

the output of `cat /etc/mailname`

Code:
 mail.mydomain.com

the output of `postconf -n`:
Code:
    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 = 127.0.0.0/8 [::ffff:127.0.0.0]/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
  #2  
Old 23rd March 2013, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

mydomain.com is missing in

Code:
mydestination = localhost.$mydomain.com, localhost, mail.mydomain.com
__________________
Falko
--
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
Reply

Bookmarks

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 12:51
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
Email from server driving me crazy chaloum General 29 13th April 2012 13:45
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 17:57
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59


All times are GMT +2. The time now is 10:19.


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