Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

qmail can't send mail from local to remote

Status
Not open for further replies.

soyo20

IS-IT--Management
Jan 5, 2003
9
CN
I just took over a server that run qmail as mail-server.
Recently this server was crashed by spam mail. I deleted them with the program of "qmail-remove" and the command of "find .... -exec rm{}\;" The directory with spam I treated were "bounce,info,mess,remote...".
Now I can send and get mail to and from the user of this machine. I also can receive mails sent from other servers But I can't send mail to other servers. When I press SEND button of OUTLOOK, the mail was sent out normally.But in fact it isn't sent out. I can get messages from server like this:
# ./qmail-qstat
messages in queue: 5
messages in queue but not yet preprocessed: 0
# ./qmail-qread
25 Aug 2003 08:27:51 GMT #670450 31142 <xxx@abc.com>
remote carry@chinaok.com.cn
25 Aug 2003 11:21:35 GMT #670451 759 <xx@abc.com>
remote soyo@sina.com
25 Aug 2003 00:46:53 GMT #670445 758 <xx@abc.com>
remote soyo@sina.com
25 Aug 2003 01:35:47 GMT #670448 759 <xx@abc.com>
remote soyo@sina.com
25 Aug 2003 01:46:35 GMT #670449 197 <root@ remote soyo@sina.com.cn

Can you tell me what may be the problem, and how to resolve it.
Thanks.
 
There is a queue integrity checking tool, though I do not remember the name. If you had a crash and started deleting stuff, I would make sure that the queue folders are ok.

possibly called queue_repair ????

&quot;Surfinbox Shares&quot; - A fundraising program that builds revenue from dialup Internet users.
 
I am fresh with qmail. Would you explain me the solution more detail?
I think now I can send mail to local user means most of the qmail programs were work right. Only the qmail-remote was wrong.
#ls -l
drwx------ 25 qmails qmail 4096 Mar 2 09:14 remote
I hope you can check the above right.

I always think the problem is located on the part of remote queue, Can you show me what it looks like of &quot;ls -l remote&quot; run on your server?

By the way, on my computer It had been installed vpopmail Uscpi-tcp. If I reintall the qmail, does other software will be influenced. I am affraid the others would be wrong.
Can you advise me?
 
There are two lines in my maillog,
Aug 26 16:03:00 1061884980.833658 warning: trouble opening remote/18/670445; will try again later
Aug 26 16:03:35 1061885015.833952 delivery 67: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

can you advise me what cause these matter?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top