LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-24-2005, 12:58 PM   #1
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Rep: Reputation: 30
qmail-will not accept mail


hello, i just installed qmail from the qmailrocks tutorial and am not able to receive e-mail from external addresses. I am able to send e-mail from my local subnet. This thread was having the same problem:

http://www.linuxquestions.org/questi...ht=qmail+relay

and they say this as a solution:

Thanks for your replys, I have finally found and solved the problem: I was following a qmail-vpopmail tutorial and did not create a virtual domain (this step seems to be missing in the tutorial).
Now sending and receiving mail works just fine.

However they do not say how to create the virtual domain. Any ideas?
below is the output of several files:

#view /etc/tcp.smtp
127.:allow,RELAYCLIENT=""

# view /var/qmail/control/rcpthosts
mail.mydomain.com
mydomain.com

# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 255.
subdirectory split: 211.
user ids: 1000, 1001, 1002, 0, 1003, 1004, 1005, 1006.
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 mail.mydomain.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 mydomain.com.

defaulthost: (Default.) Default host name is mail.mydomain.com.

doublebouncehost: (Default.) 2B recipient host: mail.mydomain.com.

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

envnoathost: (Default.) Presumed domain name is mail.mydomain.com.

helohost: (Default.) SMTP client HELO host name is mail.mydomain.com.

idhost: (Default.) Message-ID host name is mail.mydomain.com.

localiphost: (Default.) Local IP address becomes mail.mydomain.com.

locals:
Messages for mail.mydomain.com are delivered locally.
Messages for mydomain.com are delivered locally.

me: My name is mail.mydomain.com.

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

plusdomain: Plus domain name is mydomain.com.

qmqpservers: (Default.) No QMQP servers.

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

rcpthosts:
SMTP clients may send messages to recipients at mail.mydomain.com.
SMTP clients may send messages to recipients at mydomain.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mail.mydomain.com.

smtproutes: (Default.) No artificial SMTP routes.

spfbehavior: (Default.) The SPF behavior is 0.

spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.

spfguess: (Default.) The guess SPF rules are: .

spfrules: (Default.) The local SPF rules are: .

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:
Virtual domain: mydomain.com:mydomain.com

clientcert.pem: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

rcpthosts.lock: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.

locals.lock: I have no idea what this file does.

servercert.pem: I have no idea what this file does.

virtualdomains.lock: I have no idea what this file does.


Below is what i receive when attempting to send from an external domain:

The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
<x.x.com #5.0.0 smtp;553 sorry, relaying denied from your location [x.x.x.x] (#5.7.1)>

Any suggestions? Thanks in advance
 
Old 04-24-2005, 05:32 PM   #2
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
not sure what I have done, but now I am unable to receive mail at all. Below is the output of qmailctl stat

# qmailctl stat
/service/qmail-send: up (pid 1175) 657 seconds
/service/qmail-send/log: up (pid 1177) 657 seconds
/service/qmail-smtpd: up (pid 1180) 657 seconds
/service/qmail-smtpd/log: up (pid 1182) 656 seconds
/service/qmail-pop3d: up (pid 1185) 656 seconds
/service/qmail-pop3d/log: up (pid 1186) 656 seconds
messages in queue: 2
messages in queue but not yet preprocessed: 0

i am able to connect to the machine via telneting to port 25. Any suggestions or thoughts?
 
Old 04-24-2005, 05:52 PM   #3
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
I apologize in advance for continuing to re-post but I want to keep everything up to date to help with my resolution. I am pretty sure I have the virtual dowmain set up my /var/qmail/control/virtualdomains file contains
mydomain.com:mydomain.com

I was also able to telnet to port 25 and supposidy send an e-mail to my postmaster account. However it is never delivered. This makes me think it may be clamav, spamassasian, or qmail scanner not releasing the mail...

What could I be missing?
 
Old 04-25-2005, 09:50 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
You didn't install per qmailrocks. I can tell because you have your domains listed in "locals". If you installed according to qmailrocks, you would not have ANYTHING in locals. The reason is because qmailrocks uses vpopmail. And if you're running vpopmail, there are no local domains. All domains are virtual.

My suspicion is that you probably added some domains to "locals" manually after looking at various messages posted on the net?

Can you post the output of...

ls -l /home/vpopmail/domains
 
Old 04-25-2005, 08:53 PM   #5
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
actually i did install according to qmailrocks. under step 2 after running ./config-fast fqdn is when domains are put in locals. I reinstalled and now it seems to be working plus my domain is still listed in the /var/qmail/control/locals file. Thanks for the reply
 
  


Reply



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
Postfix won't accept mail from ONE client dontaylor2 Linux - Networking 5 11-10-2005 12:10 PM
Intern mailserver doesn't accept mail oogje Linux - Networking 1 11-10-2005 09:29 AM
My sendmail won´t accept incoming mail pjon SUSE / openSUSE 3 07-20-2005 12:41 AM
Help getting Postfix to accept mail from anywhere nevarlen Linux - Networking 4 06-23-2005 05:53 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM

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

All times are GMT -5. The time now is 05:54 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