LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-25-2014, 09:02 PM   #1
sibsankaradak
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Question Postfix MTA can't send mail outside


My postfix mail server can accept mail from internet & can send mail in my domain only. When I tried to send mail outside the following message is comming

(The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'sib@netcomsolutions.in'. Subject 'test', Account: 'mail.nitnagaland.ac.in', Server: 'mail.nitnagaland.ac.in', Protocol: SMTP, Server Response: '554 5.7.1 <sib@netcomsolutions.in>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79)

Can anybody suggest me the exact problem.
 
Old 11-25-2014, 09:12 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Many ISPs block port 25 to make it difficult for spam to be relayed via home computers.
I think that's what's happening here.

I did a search for "Server Error: 554, Error Number: 0x800CCC79" and got this.

Last edited by frankbell; 11-25-2014 at 09:14 PM.
 
1 members found this post helpful.
Old 11-26-2014, 03:23 AM   #3
sibsankaradak
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
The Fetchmail is working with same ip address & same hostname

There is an old mailserver in Hmail with the present ip address ,same hostname & domain name. When we put the old mailserver online, the mail sending & receiving are working perfectly.Users can receive mail & send mail also. If the ISP block smtp, the old mail server would not send the mail outside.

my postfix mailserver's postconf -n is as follows

[root@mail ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain
mydomain = nitnagaland.ac.in
myhostname = mail.nitnagaland.ac.in
mynetworks = 10.14.20.0/16, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relay_domains = $mydomain, $mydestination
relayhost =
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[root@mail ~]#
 
  


Reply



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 send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
Sendmail is installed as default MTA. How do I switch to Postfix as MTA? virtualpal Linux - Newbie 5 05-11-2009 02:10 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Configuring Mail Proxy ( MTA Postfix ) antodeepak Linux - General 3 09-08-2006 06:44 AM
server side anti virus for mail traffic; postfix as mta markus1982 Linux - Software 4 03-09-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration