QMail/courier-imap help

Permabanned
Joined
18 Oct 2002
Posts
2,010
Location
Huddersfield / Antartica
Hi,

I followed a HOWTO on www.tldp.org to set this up. I have them both running.

The problems are:

  1. I cant receive any email
  2. When I send it the address goes from shak.homelinux.org to the hostname of my box "lemming.unixshak.org.uk" <set up like that so I dont have to change it when I get my subdomains setup, this is a problem as I cant reply to any messages to there...>
    [/list=1]

    I think this may be linked, when mail is being sent is it being sent to the address "lemming.unixshak.org.uk" instead of "shak.homelinux.org.uk" I wouldnt have thought so but it may be.

    I have port 143 for IMAP open and it seems to work.

    I just tried sending mail to [email protected] and it gives and error as I expected...

    Does anyone else use this combo and how did you get it to send mail outwards?

    Thanks
    Shak
 
****** - Looks like it may be really complex!

Right...looks like the qmail-smtpd isnt running correctly (or at all) I manually booted it and then started to give instructions (as though I was another mailserver)

Code:
root@lemming bin # ./qmail-smtpd
220 shak.homelinux.org ESMTP
HELO somehost.somewhere.net
250 shak.homelinux.org
MAIL FROM: [email][email protected][/email]
250 ok
RCTP TO: [email][email protected][/email]
502 unimplemented (#5.5.1)

So my relay is ******...I need to add the domain to a file called rcpthosts...unfortuantely I dont have one:

Code:
root@lemming bin # locate rcpthosts

I need to create one...but havent a clue where it should go...ideas please?

Shak
 
Originally posted by Shak
****** - Looks like it may be really complex!

Right...looks like the qmail-smtpd isnt running correctly (or at all) I manually booted it and then started to give instructions (as though I was another mailserver)

Code:
root@lemming bin # ./qmail-smtpd
220 shak.homelinux.org ESMTP
HELO somehost.somewhere.net
250 shak.homelinux.org
MAIL FROM: [email][email protected][/email]
250 ok
RCTP TO: [email][email protected][/email]
502 unimplemented (#5.5.1)

So my relay is ******...I need to add the domain to a file called rcpthosts...unfortuantely I dont have one:

Code:
root@lemming bin # locate rcpthosts

I need to create one...but havent a clue where it should go...ideas please?

Shak

Google my friend :rolleyes: /etc :)
 
As I've told you in the past, there's no 'correct' qmail installation, which is why this is going to be tricky :)

Now, my rcpthosts resides in /var/qmail/control, it's also highly dependant on your setup.

To check the receiving capabilities, you can telnet to the server on port 25 and use the RFC malarky to deliver a message to a user on the system.

When this is all sorted, imap should just 'work'.
 
This is my configuration...I have done what all of the HOWTOs say I need to do.

Code:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 200, 201, 202, 0, 203, 204, 205, 206.
group ids: 200, 201.

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

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

bouncehost: (Default.) Bounce host name is shak.homelinux.org.

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 shak.homelinux.org.

defaulthost: (Default.) Default host name is shak.homelinux.org.

doublebouncehost: (Default.) 2B recipient host: shak.homelinux.org.

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

envnoathost: (Default.) Presumed domain name is shak.homelinux.org.

helohost: SMTP client HELO host name is shak.homelinux.org.

idhost: (Default.) Message-ID host name is shak.homelinux.org.

localiphost: Local IP address becomes shak.homelinux.org.

locals:
Messages for shak.homelinux.org are delivered locally.

me: My name is shak.homelinux.org.

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

plusdomain: Plus domain name is shak.homelinux.org.

qmqpservers: (Default.) No QMQP servers.

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

rcpthosts:
SMTP clients may send messages to recipients at shak.homelinux.org.
SMTP clients may send messages to recipients at lemming.unixshak.org.uk.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 shak.homelinux.org.

smtproutes:
SMTP route: :shak.homelinux.org

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: shak.homelinux.org:shak
Virtual domain: lemming.unixshak.org.uk:shak

checkpassword: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.

I'll have to check that SMTP route...as that looks slightly dodgy..

Another thing I think may be the problem is the fact aht my router doesnt seem to be forwarding port 25 telnet correctly *FIXED*

Shak
 
Back
Top Bottom