LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-15-2007, 05:15 PM   #1
WOP1337
Member
 
Registered: Jul 2006
Location: Tustin, CA
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
postfix unable to send mail. log posted


Im trying to install postfix but still unable to successfully send mail as i am getting error messages that i believe i fixed but i keep getting them. When i try to send an email, i use pine. the tail of the log file /var/log/mailog is:


Mar 15 14:11:19 yebat-box postfix/postfix-script: refreshing the Postfix mail system
Mar 15 14:11:19 yebat-box postfix/master[1542]: reload configuration /etc/postfix
Mar 15 14:11:19 yebat-box postfix/qmgr[1860]: 318652150B: from=<root@yebat-box.domain.com>, size=568, nrcpt=1 (queue active)
Mar 15 14:11:19 yebat-box postfix/smtp[1862]: 318652150B: to=<wop1337@gmail.com>, relay=none, delay=1001, delays=1001/0.02/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yebat-box.domain.com type=MX: Host not found, try again)


Here is also my main.cf without all the comments:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
l_owner = postfix
mydomain = domain.com
myorigin = domain.com
inet_interfaces = $myhostname
mydestination = $myhostname, localhost.wop1337.com, localhost
unknown_local_recipient_reject_code = 550
mynetworks_style = host
relay_domains = $mydestination
relayhost = yebat-box.domain.com:25
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/spool/mail
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
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
myhostname = yebat-box.domain.com



Thanks for any help
 
Old 03-15-2007, 10:39 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
Try changing
Code:
relayhost = yebat-box.domain.com:25
to
Code:
relayhost =
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - cannot send e-mail abapdr Linux - Software 13 08-13-2013 05:47 AM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 09:12 PM
Postfix will not send mail antken Linux - Networking 1 10-05-2003 06:28 PM
what does postfix use to send mail? ShawnD Linux - Software 0 08-31-2002 04:21 AM


All times are GMT -5. The time now is 01:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration