LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-30-2004, 02:42 AM   #1
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Rep: Reputation: 15
mail server help!


i have mail server(qmail + courier imap+vpopmail) in my slackware box it runs well but when i send a message to other user in my server the squirrel mail says message sent but the user cant recieve the mail but if i send a message to yahoo or other mail server the maill was recieve.

i need some help coz im a newbie in mail server... tnx!
 
Old 11-30-2004, 08:27 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Run "qmailctl queue" and see if the message is stuck in your queue. Otherwise, check /var/log/qmail/qmail-send/current (or somewhere in that vicinity) and see what the logs had to say about the message. It should tell you what happened to the message or why it wasn't delivered. You can also grep the log for defer or fail and that may show you the error.
 
Old 12-05-2004, 07:54 PM   #3
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
reply

i check the /var/log/qmail/qmail-send/current, my local message was delivered to remote how can i configure to make local messages to be delivered through local users not to remote users..
 
Old 12-05-2004, 08:05 PM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
I think you need to post the output of the following command...

/var/qmail/bin/qmail-showctl

The output is going to be pretty big, but that's ok. Also, try not to censor the output if you can help it. Try to keep your domains as they appear in the output so I can help you better. Also let me know the domain where you're trying to send mail and it's sending it as remote instead of local.
 
Old 12-05-2004, 08:26 PM   #5
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
Heres the output of /var/qmail/bin/qmail-showctl

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1002, 1003, 1004, 0, 1005, 1006, 1007, 1008.
group ids: 102, 103.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is server.wmsudumingag.edu.ph.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is wmsudumingag.edu.ph.

defaulthost: (Default.) Default host name is server.wmsudumingag.edu.ph.

doublebouncehost: (Default.) 2B recipient host: server.wmsudumingag.edu.ph.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is server.wmsudumingag.edu.ph.

helohost: (Default.) SMTP client HELO host name is server.wmsudumingag.edu.ph.

idhost: (Default.) Message-ID host name is server.wmsudumingag.edu.ph.

localiphost: (Default.) Local IP address becomes server.wmsudumingag.edu.ph.

locals:
Messages for server.wmsudumingag.edu.ph are delivered locally.

me: My name is server.wmsudumingag.edu.ph.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is edu.ph.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at server.wmsudumingag.edu.ph.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 server.wmsudumingag.edu.ph.

smtproutes: (Default.) No artificial SMTP routes.

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.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.


------------------------------------------------------------------------
example of my local mail:

mail1@wmsudumingag.edu.ph
test2@wmsudumingag.edu.ph
 
Old 12-05-2004, 08:38 PM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
If you are running vpopmail, then you should not have anything in locals... everything should be under virtualdomains, since vpopmail treats all your domains as virtual.

What references did you use when setting up this server? Were you following a howto of some kind? If you're just getting a new server established and you don't mind going through the extra trouble, I recommend setting up your server using one of the howto's in my signature, or you can go to www.qmailrocks.org instead. Any of them are excellent. It will take you a little time getting it setup, but is well worth it.
 
Old 12-05-2004, 08:50 PM   #7
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
the howto i follow is the same with the first signature of yours! but sad to know i ommit some because i dont need them like anti-virus scanner and others. can you give me some brief tutorials that simply send mail and recieve mail locally coz i dont have domain name yet maybe if i know better about mail server i will get one...
 
Old 12-05-2004, 08:56 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
The problem is not with your server but most likely with your ISP. Are you on a cable modem or DSL service? If so, your most likely using DHCP for your connection. Most ISP's block any mail that is not registered or known, or most likely using DHCP as they are triggered that you are most likely a spammer. Since you can send and recieve email to other sources not on your ISP, your server is working just fine. But since your sending from your server using your ISP, which their systems know this and know that your using DHCP or not a truly registered email server, etc.. they will drop and block emails from your server to their own email servers.

Trust me on this one though, I run my own mail server on Roadrunner cable modem and I can't send email to anyone on Roadrunner, give me any other address I can.. well, except the other larger ISP providers like AOL and such..
 
Old 12-05-2004, 09:09 PM   #9
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
i guess its in my server coz i cant receive mail from my other user. hope u can give me some brief tutorial that can receive and send mail even in local network only because i will create a simple internal email system in my network..
 
Old 12-05-2004, 09:13 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by belkens
i guess its in my server coz i cant receive mail from my other user. hope u can give me some brief tutorial that can receive and send mail even in local network only because i will create a simple internal email system in my network..
So you have no domain name and you can't recieve email either correct? How are you attempting to send email from outside your network, to what email address? Are you using the IP of your server? Is qmail setup to work in such fashion?

Setting up a email server without a domain, MX records and such is a hefty task. Setting one up internally should be no problem, you just need to setup a small DNS, with correct MX records and such on your internal network...
 
Old 12-05-2004, 09:29 PM   #11
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
yap i have dns using bind 9.24. i know how to intall dns but i dont know if there is an additional line in my zone file if i install a mail server... coz im a newbie in mail server..
 
Old 12-05-2004, 09:32 PM   #12
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by belkens
yap i have dns using bind 9.24. i know how to intall dns but i dont know if there is an additional line in my zone file if i install a mail server... coz im a newbie in mail server..
Here you go.. first hit off a google search on setting up MX records, etc. http://www.topology.org/linux/mx.html
 
Old 12-06-2004, 10:12 PM   #13
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
k i install new mail server an it work fine but my problem is if i login in the squirrel mail i will add a domain name, all i want is only the username and password not the the domain because my domain is too long.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 01:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 07:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration