Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
the problem is that now its all setup i cant seem to send via SMTP.
from the webmail i get a Connection Refused Error and I have tried everything (not everything obviously cause otherwise i would have fixed it) but everything i can think of.
any where that i can check configurations etc?
the webmail works.. IMAP works, pop3 works everything seems to work except for the stupid SMTP
Any ideas? Anything you want me to post?
btw its not a firewall issue.
Last edited by chrisfirestar; 06-14-2004 at 07:23 AM.
Ok, try going into the /var/qmail/supervise directory and delete the lock files. There are lock files located under each of the directories. Get them all. qmail will make them again in a few seconds. You may also wanna stop and restart qmail just for good measure.
ok when i clear the lock files and restart I got this in the qmail log:
@4000000040cfa22c136d9c24 tcpserver: fatal: unable to bind: address already used
@4000000040cfa22d15364664 tcpserver: fatal: unable to bind: address already used
@4000000040cfa22e1700fffc tcpserver: fatal: unable to bind: address already used
so i did a restart.... im really baffled on this... i have obviously done SOMETHING wrong but cant figure it out...
Yeah, sorry.. I seem to have forgotten that would happen. It's trying to start another instance of qmail and you've already got daemons listening on those ports. You can reboot and it'll clear right up, but if you don't wanna reboot, you can just stop qmail and be sure to kill all those processes that are running. Just do ps -ef and kill anything that talks about qmail, but of course be sure to stop qmail first.
Ok, let's try this... run the command /var/qmail/bin/qmail-showctl and post the output here. This will show all your current settings and how you've got qmail configured. If you feel like you need to censor the output, that's Ok, but be aware that it really helps to show everything as-is so we can be sure it's all good.
also, is it possible you have a CR/LF problem? Have you modified any of your control files using a windows text editor through samba? If so, this is certainly a problem. If you have been editing your control files through windows, you'll need to do a vi -b on each control file and delete the ^M characters you see at the end of each line.
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 255.
subdirectory split: 199.
user ids: 91, 92, 93, 0, 94, 95, 96, 97.
group ids: 91, 92.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mailsvr2.domain.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: Remote concurrency is 255.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is domain.com
defaulthost: (Default.) Default host name is mailsvr2.domain.com
doublebouncehost: (Default.) 2B recipient host: mailsvr2.domain.com
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mailsvr2.domain.com
helohost: (Default.) SMTP client HELO host name is mailsvr2.domain.com
idhost: (Default.) Message-ID host name is mailsvr2.domain.com
localiphost: (Default.) Local IP address becomes mailsvr2.domain.com
Messages for mailsvr2.domain.com are delivered locally.
me: My name is mailsvr2.domain.com
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts: (Default.) SMTP clients may send messages to any recipient.
morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mailsvr2.domain.com
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
Virtual domain: mailsvr2.domain.com:mailsvr2.domain.com
virtualdomains.lock: I have no idea what this file does.
i have just changed my domain to domain.com thats the only change.
in relation to editing on windows machines ive been ssh'ing in and using vi
Thanks for your help.. hope we are getting somewhere
Last edited by chrisfirestar; 06-16-2004 at 03:16 AM.