Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# qmailctl stat
/service/qmail-send: down 23782 seconds, normally up
/service/qmail-send/log: down 23782 seconds, normally up
/service/qmail-smtpd: down 23781 seconds, normally up
/service/qmail-smtpd/log: down 23782 seconds, normally up
messages in queue: 0
messages in queue but not yet preprocessed: 0
It looks like you can successfully stop qmail, so your install appears to be working.
You will need to find out where your system is starting postfix and sendmail. Your first stop should be in /etc/inetd.conf and comment out any smtp references there with a # at the start of the line. Then you will need to re-read the inetd.conf - just do a 'kill -HUP <PID of inetd>' to reload it.
Check that there are no smtp lines (other than for qmail) in your /etc/inittab. If there are, comment them out and 'kill -HUP <PID of inittab>' (should be a PID of 1)
Since you're using SuSE you can use YaST to either remove sendmail and postfix or stop them from loading up at boot. Note that if you made the sendmail compatibily changes as outlined in the lifewithqmail docs that you may need to repeat the steps to create the symbolic links for sendmail compatibility.
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380
Original Poster
Rep:
TESTING.....
I have tried this in two ways:
#1 echo to: this_local_user | /var/qmail/bin/qmail-inject
#2 echo to: <xuserx>@yahoo.com | /var/qmail/bin/qmail-inject
And then I check....
# qmailctl stat
/service/qmail-send: up (pid 13441) 110 seconds
/service/qmail-send/log: up (pid 13443) 110 seconds
/service/qmail-smtpd: up (pid 13446) 110 seconds
/service/qmail-smtpd/log: up (pid 13451) 110 seconds
messages in queue: 2
messages in queue but not yet preprocessed: 0
But they are stuck in that queue and I'm not getting the email.....?!
/service/qmail-send/log: up (pid 13443) 110 seconds
looks like your logging is running fine. Did you try 'tail -100 /var/log/qmail/current' (the tai64nlocal just pretty-prints the datestamp format used by the ucspi-tcp logging)
Quote:
-rw-r--r-- 1 qmaill nofiles 14286 May 24 10:04 current
looks like you have about 14k of logfiles you might want to invstigate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.