mail bounced back - Need Fully Qualified Address

6 posts / 0 new
Last post
#1 Thu, 08/27/2009 - 21:51
khlim

mail bounced back - Need Fully Qualified Address

Hi All, One of my user, set the forward email to test3@time.net.my from "test.testagain@localdomain", via usermin

Setup

Login->Account Information->Account Functions->Filter and Forward Mail-> Forward to test@time.net.my

Problem

Remote mail server bounced back due to invalid full qualified address. I believe should be related with "test.testagain@localdomain". How do i solve it? Thanks KH

Aug 27 22:30:41 174 postfix/qmgr[3386]: C24CBF4C11: from=<test.testagain@localdomain>, size=9434, nrcpt=1 (queue active) Aug 27 22:30:46 174 postfix/smtp[10362]: C24CBF4C11: to=test3@time.net.my, relay=cuda2.time.net.my[203.121.65.119]:25, delay=4.9, delays=0.06/0/4.5/0.4, dsn=5.0.0, status=bounced (host cuda2.time.net.my[203.121.65.119] said: 504 Need Fully Qualified Address (in reply to MAIL FROM command))

Fri, 08/28/2009 - 04:43
khlim

Additional Debug message

Hope someone can help.

*when receiving ... Aug 28 05:39:13 174 postfix/pickup[9638]: E5547F4BE1: uid=650 from=<test.jeffreykleinmd> Aug 28 05:39:13 174 postfix/cleanup[13001]: E5547F4BE1: message-id=<002a01ca27c3$5347f090$f9d7d1b0$@com> Aug 28 05:39:13 174 postfix/local[13006]: 35E49F4B9B: to=<test.jeffreykleinmd@localdomain>, orig_to=test@jeffreykleinmd.com, relay=local, delay=32, delays=0.27/0.01/0/32, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)

*doing the forward ... Aug 28 05:39:13 174 postfix/qmgr[9639]: 35E49F4B9B: removed Aug 28 05:39:13 174 postfix/qmgr[9639]: E5547F4BE1: from=<test.jeffreykleinmd@localdomain>, size=3941, nrcpt=1 (queue active) Aug 28 05:39:20 174 postfix/smtp[13024]: E5547F4BE1: to=khenghuatlim@time.net.my, relay=cuda2.time.net.my[203.121.65.119]:25, delay=6.9, delays=0.05/0.01/6.6/0.31, dsn=5.0.0, status=bounced (host cuda2.time.net.my[203.121.65.119] said: 504 Need Fully Qualified Address (in reply to MAIL FROM command))

Fri, 08/28/2009 - 05:23
khlim

Another info : Address Rewriting and Masquerading [with attached file masq.gif]

Fri, 08/28/2009 - 09:10
andreychek

Well, you'll want to have a name other than "localdomain" for outgoing emails.

I do see it looks like you attempted to do that in the screenshot you offered above -- so we can either try to fix the address rewriting, or tackle this another way, I'm not sure which yet :-)

Can you do the following, and paste in the output --

  1. Run the "hostname" command

  2. cat /etc/hosts

  3. grep myhostname /etc/postfix/main.cf

  4. grep myorigin /etc/postfix/main.cf

And we'll figure out the next steps from there... thanks!

-Eric

Fri, 08/28/2009 - 09:40 (Reply to #4)
khlim

Hi all, FYI, i'm running under EC2 (Cloud Computing) with Virtual host

Sending/receving via usermin, auto reply - no prb only forward - has problem.

Hope to hear from you all. Great thanks.

Virtualmin version :3.64.gpl GPL

cat hostname : domU-12-31-38-00-2D-84

cat /etc/hosts: 127.0.0.1 ceobizmail.com localhost localhost.localdomain

grep myhostname /etc/postfix/main.cf: Not set, so i'm using default

grep myorigin /etc/postfix/main.cf: myorigin = $mydomain

postconf -n: alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual

Fri, 09/11/2009 - 04:21
khlim

masquerade_domains = $mydomain

Topic locked