Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th January 2008, 13:08
mmistroni mmistroni is offline
Member
 
Join Date: Jan 2008
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default after setting up mailserver, cannot deliver mail..

hello all,
i have setup a mailserver on my server following 'The perfect Setup' tutorial..
Looks like it is working fine as when i type telnet localhost 25 i got what i am supposed to receive from server...
Now, i tried to setup a mail account following informations here:
http://www.howtoforge.com/forums/showthread.php?t=2

but when i try to send mail from my gmail account, it always bounce back to me...

here's the reply i got from gmail
Code:
This is the mail system at host www.worldcorpservices.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<info@www.worldcorpservices.com> (expanded from <info@worldcorpservices.com>):
   mail for www.worldcorpservices.com loops back to myself

Final-Recipient: rfc822; info@www.worldcorpservices.com
Original-Recipient: rfc822;info@worldcorpservices.com
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for www.worldcorpservices.com loops back to
   myself


---------- Forwarded message ----------
From: "Marco Mistroni" <mmistroni@gmail.com>
To: info@worldcorpservices.com
Date: Sun, 27 Jan 2008 11:52:53 +0000
Subject: this is another test to see if it is working
this is to test if mail on worldcorpservices.com is workin gfine
here's my main.cf
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = www.worldcorpservices.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = 
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

home_mailbox = Maildir/
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
here's my virtusertable
Code:
info@worldcorpservices.com  root
any reasons of why messages keep on bouncing back?

thanks and regardfs
marco
Reply With Quote
Sponsored Links
  #2  
Old 27th January 2008, 13:18
mmistroni mmistroni is offline
Member
 
Join Date: Jan 2008
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here what's in mail.log
Code:
57]
Jan 27 12:11:03 ubuntu-7 postfix/cleanup[21262]: 8F15920B91: message-id=<7e346e130801270412t53ef5b3cp6d0cfa6b2d65818a@mail.gmail.com>
Jan 27 12:11:03 ubuntu-7 postfix/qmgr[21250]: 8F15920B91: from=<mmistroni@gmail.com>, size=2033, nrcpt=1 (queue active)
Jan 27 12:11:03 ubuntu-7 postfix/local[21264]: 8F15920B91: to=<xtrahost@www.worldcorpservices.com>, orig_to=<info@worldcorpservices.com>, relay=local, delay=0.14, delays=0.08/0.04/0/0.02, dsn=5.1.1, status=bounced (unknown user: "xtrahost")
Jan 27 12:11:03 ubuntu-7 postfix/cleanup[21262]: AB63420B94: message-id=<20080127121103.AB63420B94@www.worldcorpservices.com>
Jan 27 12:11:03 ubuntu-7 postfix/qmgr[21250]: AB63420B94: from=<>, size=3950, nrcpt=1 (queue active)
Jan 27 12:11:03 ubuntu-7 postfix/bounce[21265]: 8F15920B91: sender non-delivery notification: AB63420B94
Jan 27 12:11:03 ubuntu-7 postfix/qmgr[21250]: 8F15920B91: removed
Jan 27 12:11:04 ubuntu-7 postfix/smtp[21267]: AB63420B94: to=<mmistroni@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.183.27]:25, delay=0.81, delays=0/0.01/0.25/0.55, dsn=2.0.0, status=sent (250 2.0.0 OK 1201435951 35si2893839nfu.12)
Jan 27 12:11:04 ubuntu-7 postfix/qmgr[21250]: AB63420B94: removed
Jan 27 12:11:33 ubuntu-7 postfix/smtpd[21257]: disconnect from fg-out-1718.google.com[72.14.220.157]
xtrahost is the company that set up my VPS... dont understand why they appear as a recipient.....

anyone could help?

thanks and regards
marco
Reply With Quote
  #3  
Old 27th January 2008, 13:32
mmistroni mmistroni is offline
Member
 
Join Date: Jan 2008
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

false alarm!
i tworked.. probably i forgot to launch this two commands

postmap /etc/postfix/virtusertable
/etc/init.d/postfix restar

look everythingi s fine now

sorry for bothering

regards
marco
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
procmail can't write Hellbound General 27 8th June 2009 21:51
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 20:29.


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