Operating System - Linux
1751781 Members
3884 Online
108781 Solutions
New Discussion юеВ

Re: mail server cant recieve the mails

 
akarayil
Frequent Advisor

mail server cant recieve the mails

Dear Experts,

My qmail server was supporting open relay earlier.To block open relay,I installed ucspi-tcp package. Make some changes in tcp.smtp file for relay client. Use tcprules cammand to compile the changes to tcp.smtp.cbd file. Then restart the qmail.After that open relay is blocked.

Now the problem I'm facing is related to receiving mails.all the mail users can send mail to users of other domains.But not receiving any mail to the mailbox (send by locally or remotely).

Can Anybody help me out?

Thanks in advance

4 REPLIES 4
Jeeshan
Honored Contributor

Re: mail server cant recieve the mails

check if any firewall applied. Also check the mail relay in localhost is enable or not.
a warrior never quits
akarayil
Frequent Advisor

Re: mail server cant recieve the mails

Dear Ahsan
I found from the logs that the problem is with queue. So to rebuild the queue, I follow the given steps.


# qmailctl stop
Stopping qmail...

qmail-smtpd
qmail-send
qmail-pop3d
# qmailctl stat
/service/qmail-send: down 5 seconds, normally up
/service/qmail-send/log: down 5 seconds, normally up
/service/qmail-smtpd: down 5 seconds, normally up
/service/qmail-smtpd/log: down 5 seconds, normally up
/service/qmail-pop3d: down 5 seconds, normally up
/service/qmail-pop3d/log: down 5 seconds, normally up
messages in queue: 23
messages in queue but not yet preprocessed: 0
# rm -rf /var/qmail/queue

# cd /usr/src/qmail/ucspi-tcp-o.88
ucspi-tcp-0.88]# make setup check
./install
./instcheck


but queue is not restored.

Kindly give a solution to restore the queue.
regards,
ashraf karayil
Jeeshan
Honored Contributor

Re: mail server cant recieve the mails

hmmmmmm. may be this site can help you

http://www.qmailrocks.org/
a warrior never quits
Steven E. Protter
Exalted Contributor

Re: mail server cant recieve the mails

Shalom,

I would back out the installation of ucspi-tcp
package which clearly caused the problem.

Then I'd use anhan's link to properly configure qmail to stop being an open relay.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com