• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Messages stuck in queue :-(

W

webcanada

Guest
I'm hoping someone can help me out here ...

It seems that there is no mail leaving my server. I've tried sending outgoing mail as a) mail generated by a PHP app, b) mail redirect/mail group, c) webmail. It just sits in the queue!

I think this started happening when we moved to 8.1 from 8.0.

Any suggestions? :(

Thanks!
 
Have you checked your mail logfile?

Can your server resolve hostnames to IP addresses? Does /etc/resolv.conf contain working DNS servers (you could just put in 'nameserver 127.0.0.1' if you run DNS on your server)? Try running something like host swsoft.com (for instance, you can test other hostnames) and see if that resolves to an IP address.
 
Hi there.

Thanks for your reply!

I did a host swsoft.com and it resolved fine from the dommand line.

Now, on my own computer (which is NOT the server, and is on a different network), I did a 'nslookup' and used 'server' + the first IP in resolv.conf, and got a DNS time out. So maybe this is the problem!

Do you know how I can do a nslookup equivalent on the linux box?

Also, I looked in /var/log and maillog (as well as .1 .2 .3 .4) are all 0 bytes.... are the logs somewhere else.?

Thanks !!!
 
You can use nslookup on Linux, but using host like I suggested should be enough. dig is more advanced dan nslookup. See here: Using nslookup, dig, and host.

The maillog on a Plesk box is $PRODUCT_ROOT_D/var/log/maillog which on a lot of systems works out as /usr/local/psa/var/log (you can grep PRODUCT_ROOT_D /etc/psa/psa.conf to find your Plesk installation dir).
 
Thanks again for your reply.

OK, I did nslookup, and chose the nameserver listed in resolv.conf, and it resolved domain names fine. I guess it didn't work on my computer here because I wasn't on the same network? So... I don't think that is the problem.

I found the maillog file ... it seems like there are a couple messsages that ARE being delivered... but I do see a lot of things that look like errors:

Jan 31 04:22:27 ltf235 qmail: 1170235347.249813 delivery 326095: failure: Sorry
._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_m
y_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

Jan 31 04:22:27 ltf235 qmail-queue[18661]: mail: all addreses are uncheckable -
need to skip scanning (by deny mode)

Jan 31 04:22:24 ltf235 relaylock: /var/qmail/bin/relaylock: mail from 82.51.89.
221:4701 (host221-89.pool8251.interbusiness.it)

I don't know if these are actually errors or what .... :-\

Any ideas? :)

Thanks.
 
Back
Top