#1  
Old 9th July 2011, 00:39
fisherofer fisherofer is offline
Senior Member
 
Join Date: Sep 2009
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Default posfix error

i have contes 5.6 and latest version of ispconfig
my server can send email

[main.cf]
relayhost = localhost
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
mailbox_size_limit = 0
message_size_limit = 0



[root@mail postfix]# tail /var/log/maillog
2011-07-09T01:27:45.367661+03:00 mail postfix/master[11546]: daemon started -- version 2.3.3, configuration /etc/postfix
2011-07-09T01:29:31.083015+03:00 mail sendmail[11659]: p68MTUfQ011659: from=apache, size=553, class=0, nrcpts=1, msgid=<1dd83d1c8cc49cf463ae32bd8829b93d@iga4u.org. il>, relay=apache@localhost
2011-07-09T01:29:31.098413+03:00 mail postfix/smtpd[11660]: connect from localhost.localdomain[127.0.0.1]
2011-07-09T01:29:31.098435+03:00 mail postfix/smtpd[11660]: 17DDFFF113: client=localhost.localdomain[127.0.0.1]
2011-07-09T01:29:31.344519+03:00 mail postfix/cleanup[11663]: 17DDFFF113: message-id=<1dd83d1c8cc49cf463ae32bd8829b93d@iga4u.org.il>
2011-07-09T01:29:31.352609+03:00 mail sendmail[11659]: p68MTUfQ011659: to=admin@comsafe.co.il, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30553, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 17DDFFF113)
2011-07-09T01:29:31.352636+03:00 mail postfix/qmgr[11548]: 17DDFFF113: from=<apache@comsafe.co.il>, size=869, nrcpt=1 (queue active)
2011-07-09T01:29:31.371861+03:00 mail postfix/smtpd[11660]: disconnect from localhost.localdomain[127.0.0.1]
2011-07-09T01:29:31.432680+03:00 mail postfix/smtp[11664]: warning: relayhost configuration problem
2011-07-09T01:29:31.435735+03:00 mail postfix/smtp[11664]: 17DDFFF113: to=<admin@comsafe.co.il>, relay=none, delay=0.33, delays=0.25/0/0.08/0, dsn=4.3.5, status=deferred (Host or domain name not found. Name service error for name=localhost type=A: Host not found)

[root@mail postfix]# ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.017 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.017 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.025 ms
c64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64 time=0.027 ms


Please help me to know why my server dont send email
Reply With Quote
Sponsored Links
  #2  
Old 9th July 2011, 10:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in /etc/hosts?
__________________
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 9th July 2011, 13:52
fisherofer fisherofer is offline
Senior Member
 
Join Date: Sep 2009
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Default

i have connection with ssh to my sever

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HWADDR=00:50:56:a3:02:3e
NETMASK=255.255.255.192
IPADDR=XXX
GATEWAY=XXXX
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
DNS1=8.8.8.8
DNS2=8.8.4.4

my hosts file

# Do not remove the following line, or various programs
that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Reply With Quote
  #4  
Old 9th July 2011, 23:27
fisherofer fisherofer is offline
Senior Member
 
Join Date: Sep 2009
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default

[main.cf]
#relayhost = localhost
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
mailbox_size_limit = 0
message_size_limit = 0

and its working now
Reply With Quote
The Following User Says Thank You to fisherofer For This Useful Post:
falko (10th July 2011)
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
Ubuntu 10.04 VS ISPConfig 2.2.37 Bicet Installation/Configuration 7 9th March 2011 15:58
Failed during pvmove, howto: set up software raid 1 on running LVM system sbh77 HOWTO-Related Questions 2 8th October 2010 00:11
Problem installing ISPConfig on Suse10.1 nliebherr Installation/Configuration 18 14th September 2007 00:30
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 04:12
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 16:14


All times are GMT +2. The time now is 12:49.


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