LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-25-2007, 05:09 AM   #1
abiye
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
postfix mailq


Hi all, I hope someone can help me with this. I run postfix and everything has been ok. Now i see the following in my logs

reject: RCPT from localhost[127.0.0.1]: 554 <ephemera@kcnet.net>: Relay access denied; from=<SharonColumbo@hotmail.com> to=<ephemera@kcnet.net> proto=ESMTP helo=<hotmail.com>


and

to=<***.*****@capitaltrustnigeria.com>, relay=mx1.biz.mail.yahoo.com[67.28.113.136], delay=1831, status=deferred (host mx1.biz.mail.yahoo.com[67.28.113.136] refused to talk to me: 451 VS1-IP Excessive unknown recipients - possible Open Relay http://help.yahoo.com/help/us/mail/spam/spam-18.html (#4.1.8) 80.248.14.14)

Can someone tell me what it means. I hope someone is not trying to relay through me.

Also i have a lot of mails in my queue and some of them are not valid domains. Postfix keeps trying to send this mails. How can i delete mails in the queue?
Thanks
 
Old 01-25-2007, 06:12 AM   #2
MacMorning
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Sarge, OpenSUSE 10.2, FC6, RHEL4, RHEL5
Posts: 15

Rep: Reputation: 0
Hello,
While newbie but interested in postfix configuration myself, I looked for some answers to your questions and found this tool, maybe you could check the security of your server here first ?
 
Old 01-25-2007, 06:53 AM   #3
abiye
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks,
i tried it and got this error
Default domain is staff.iinet.net.au

Connecting to ***.***.***.***...

FAILURE

Unfortunately the program failed because...

Open socket failed.
I have no idea what it means can you explain?
 
Old 01-25-2007, 07:37 AM   #4
MacMorning
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Sarge, OpenSUSE 10.2, FC6, RHEL4, RHEL5
Posts: 15

Rep: Reputation: 0
Your server is probably unreachable from the outside; are you behind a NAT or a FW ?
Is it supposed to accept connections from outside your local network ?
If not, you can't be an open relay.
 
Old 01-25-2007, 10:42 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
the output of postconf -n would go a long way in determing what might be wrong with your configuration..

Also verify mydestination, mydomain, myhostname, mynetworks are all set correctly in your postfix configuraton. if these are incorrect you can cause the server to allow relaying or cause other servers to deny mail from you.

also make sure the hostname on your mailserver is set to the FQDN that is registerd to be your mail server, and set in the myhostname variable, and that rDNS has been configured for your mail server by your DNS hosting provider.

If a mailserver you are attempting to send mail to does a rDNS lookup on your mail server and doesn't get a valid response it may deny accepting mail from you.


If a mailserver you are attempting to send mail to does a hostname check against the name your server provide during HELO and doesn't get a response that matches the Registered name of your server it may deny accepting mail from you. as well as submit your server to a blacklist.

Setting your Hostname
http://www.cpqlinux.com/hostname.html

rDNS
http://en.wikipedia.org/wiki/Reverse_DNS_lookup

As for the Queue, the mail in the queue will time out eventually and be removed by postfix automatically, this is set at 5 days by default. This 5 Day time limit is INTENTIONAL, and is part of the design of a proper mail server so you probably don't want to change it.. maximal_queue_lifetime (default: 5d)
 
  


Reply

Tags
configuration, postfix


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
sorting Mailq matt1982 Linux - Networking 0 11-03-2006 11:36 AM
mailq clearing mnauta Linux - General 0 04-12-2005 08:34 PM
I/O Error on mailq? gigi Linux - Software 0 04-15-2004 12:31 AM
qmail mailq R4z0r Linux - Software 1 10-13-2003 08:37 AM
Sendmail 8.12.3 Mailq juser Linux - Newbie 0 05-22-2003 03:02 PM


All times are GMT -5. The time now is 10:08 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration