Email bouncing - cannot figure out, Help please!

1 post / 0 new
#1 Wed, 12/28/2011 - 19:26
kappler0

Email bouncing - cannot figure out, Help please!

Hi all, and thank you in advance to anyone who can help me figure this out.

Here is the issue, I have setup virtualmin 3.89 with the automated install on CentOS 5.7. This was moved from a cpanel server. I have pasted some of the logs, etc below...

(I did notice that if i send email from the old cpanel server it bounces (message below) , but, i think my gmail send seemed to go through just now..?) - Here is from the mail log...

Dec 28 20:01:02 mail01 postfix/local[23752]: C47551628112: to=subscribe.targetmyad@mail01.targetmyad.com, orig_to=subscribe@targetmyad.com, relay=local, delay=0.27, delays=0.23/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Dec 28 20:01:02 mail01 postfix/qmgr[17199]: C47551628112: removed

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

subscribe(at)targetmyad.com retry timeout exceeded admin(at)targetmyad.com retry timeout exceeded

[root@mail01 ~]# cat /etc/hosts

Do not remove the following line, or various programs that require network functionality will fail.

127.0.0.1 mail01.targetmyad.com mail01 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 [root@mail01 ~]# [root@mail01 ~]# cat /etc/hosts -bash: [root@mail01: command not found [root@mail01 ~]# # Do not remove the following line, or various programs [root@mail01 ~]# # that require network functionality will fail. [root@mail01 ~]# 127.0.0.1 mail01.targetmyad.com mail01 localhost.localdomain localhost -bash: 127.0.0.1: command not found [root@mail01 ~]# ::1 localhost6.localdomain6 localhost6 -bash: ::1: command not found [root@mail01 ~]# [root@mail01 ~]# -bash: [root@mail01: command not found [root@mail01 ~]# hostname mail01.targetmyad.com [root@mail01 ~]# grep myhostname /etc/postfix/main.cf

The myhostname parameter specifies the internet hostname of this from gethostname(). $myhostname is used as a default value for many myhostname = host.domain.tld myhostname = virtual.domain.tld The default is to use $myhostname minus the first component. mail appears to come from. The default is to append $myhostname, myorigin = $myhostname inet_interfaces = $myhostname inet_interfaces = $myhostname, localhost The default is $myhostname + localhost.$mydomain. On a mail domain

mydestination = $myhostname, localhost.$mydomain, localhost, mail01.targetmyad.com

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, You MUST specify $myhostname at the start of the text. That is an smtpd_banner = $myhostname ESMTP $mail_name smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

[root@mail01 ~]#

Does this main.cf look correct? Thanks a lot!