#1  
Old 29th March 2011, 03:20
herumor.campos herumor.campos is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix problem

Hi, i cant get my Postfix SMTP server work great.
Some domains are refused by sending, and PHP mail() doesnt work.

Can somebody help me?

Thats my main.cf file:
-----------------------------------------

#soft_bounce = no
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
#default_privs = nobody
myhostname = mail.domain.com.br # just changed to post
mydomain = $myhostname
myorigin = $mydomain

inet_interfaces = all

#proxy_interfaces =
#proxy_interfaces = 1.2.3.4

mydestination = $myhostname, localhost.$mydomain, localhost

#local_recipient_maps = unixasswd.byname $alias_maps
#local_recipient_maps = proxy:unixasswd.byname $alias_maps
#local_recipient_maps =

unknown_local_recipient_reject_code = 550

mynetworks_style = host
#mynetworks = hash:/etc/postfix/network_table

#relay_domains = $mydestination

#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

#relay_recipient_maps = hash:/etc/postfix/relay_recipients

#in_flow_delay = 1s

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#recipient_delimiter = +

#home_mailbox = Mailbox
#home_mailbox = Maildir/

#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail

#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"

#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp

# local_destination_recipient_limit = 300
# local_destination_concurrency_limit = 5
#
#mailbox_transport = cyrus

#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#fallback_transport =

#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local

#header_checks = regexp:/etc/postfix/header_checks

#fast_flush_domains = $relay_domains

#smtpd_banner = $myhostname ESMTP $mail_name
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
biff = no

#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 20

debug_peer_level = 2

#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain

debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5


sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
myorigin = $mydomain
notify_classes = bounce, delay, resource

----------------------------------
Thanks in advance!!!
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2011, 06:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Are there any errors in your mail log (in the /var/log/ directory)?
__________________
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
  #3  
Old 29th March 2011, 06:52
herumor.campos herumor.campos is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, yes:

I´m reviewing my DNS settings to be sure.

Tnx

------------------

[root@CD116572-linux-centos-5-64b-web-sx-7228 log]# vim maillog
Mar 27 04:09:24 CD116572-linux-centos-5-64b-web-sx-7228 postfix/qmgr[9454]: 66E371A779F: from=<root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>, size=700, nrcpt=1 (queue active)
Mar 27 04:09:24 CD116572-linux-centos-5-64b-web-sx-7228 postfix/qmgr[9454]: 858B31A7770: from=<root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>, size=684, nrcpt=1 (queue active)
Mar 27 04:09:24 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26891]: 66E371A779F: host mx01.sopadeideias.com.br[189.38.85.12] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command)
Mar 27 04:09:24 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26892]: 858B31A7770: host mx02.sopadeideias.com[189.38.85.13] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command)
Mar 27 04:09:25 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26891]: 66E371A779F: to=<diego@sopadeideias.com.br>, relay=mx02.sopadeideias.com.br[189.38.85.13]:25, delay=95016, delays=95015/0.05/0.81/0.13, dsn=4.1.8, status=deferred (host mx02.sopadeideias.com.br[189.38.85.13] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Mar 27 04:09:25 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26892]: 858B31A7770: to=<diego@sopadeideias.com>, relay=mx01.sopadeideias.com[189.38.85.12]:25, delay=94644, delays=94643/0.2/0.64/0.16, dsn=4.1.8, status=deferred (host mx01.sopadeideias.com[189.38.85.12] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Mar 27 05:16:04 CD116572-linux-centos-5-64b-web-sx-7228 postfix/qmgr[9454]: 66E371A779F: from=<root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>, size=700, nrcpt=1 (queue active)
Mar 27 05:16:04 CD116572-linux-centos-5-64b-web-sx-7228 postfix/qmgr[9454]: 858B31A7770: from=<root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>, size=684, nrcpt=1 (queue active)
Mar 27 05:16:05 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26351]: 66E371A779F: host mx02.sopadeideias.com.br[189.38.85.13] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command)
Mar 27 05:16:05 CD116572-linux-centos-5-64b-web-sx-7228 postfix/smtp[26352]: 858B31A7770: host mx01.sopadeideias.com[189.38.85.12] said: 450 4.1.8 <root@CD116572-linux-centos-5-64b-web-sx-7228.localdomain>: Sender address rejected: Domain not found (in reply to RCPT TO command)

------------------
Reply With Quote
  #4  
Old 29th March 2011, 11:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
myhostname = mail.domain.com.br # just changed to post
mydomain = $myhostname
myorigin = $mydomain
Do you use a real, existing domain for these settings?

What are the outputs of
Code:
hostname
and
Code:
hostname -f
?
__________________
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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
postfix problem jagsler Server Operation 41 7th July 2011 14:19
Email Could not send and receive piseth Installation/Configuration 16 17th July 2010 18:27
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43


All times are GMT +2. The time now is 17:01.


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