Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: qmail vpopmail courier-imap qmail-scanner (09/2005)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Wed Oct 26, 2005 11:09 am    Post subject: Reply with quote

AxelTerizaki wrote:
Technically, this allows relay from everyone, BUT, it wasn't working before if people weren't authentified, but now it doesn't ask for auth anymore!

Anyone have any clues?


Rerun the tcprules command.

Do you have USE="IPv6" enabled? If so you should consider disableing it, and reemerging whatever package qmail depends on that uses that flag.

Are you able to log in to mysql using the vpopmail user/password? Does the vpopmail-mysql user have the corect permissions?
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Wed Oct 26, 2005 3:35 pm    Post subject: Reply with quote

petterg wrote:
Well, I think the bug was related to the outlook (express) shiped with Office XP (windows XP).

It should be fixed in 2003.


I did also successfully get mail working on outlook 2003 SB, I will get the exact results and post my findings.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Wed Oct 26, 2005 3:43 pm    Post subject: Reply with quote

petterg wrote:
Rerun the tcprules command.


I did, but I feel like qmail might be ignoring my configuration... No matter how I change it, to disable or enable relay, qmail still accepts mail. The tcprules should be in /etc/tcprules.d, right?

Quote:
Do you have USE="IPv6" enabled? If so you should consider disableing it, and reemerging whatever package qmail depends on that uses that flag.


I was aware of that problem and I don't need for ipv6. THus, I had it disabled a while ago anyways.

Quote:
Are you able to log in to mysql using the vpopmail user/password?


Affirmative.

Quote:
Does the vpopmail-mysql user have the corect permissions?


I did rerun the grant and flush commands, I don't see what else should I try... I can select the vpopmail database as the vpopmail user... Vpopmali can read it anyways since my imap server works quite fine, and allows me to login and check mailboxes.
Back to top
View user's profile Send private message
mobiusproject
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2003
Posts: 110

PostPosted: Wed Oct 26, 2005 6:01 pm    Post subject: Re: HOWTO: qmail vpopmail courier-imap qmail-scanner (09/200 Reply with quote

I like the new HOWTO except for one main item (which I have edited the way I think it should be):
Quote:
11) Install squirrelmail
Make sure that you have USE="vhost" in /etc/make.conf
Code:
> emerge squirrelmail
> webapp-config -I -h localhost -d mail squirrelmail 1.4.5
or
> webapp-config -I -h {$host} -d {$directory} squirrelmail {$version}
to install install using a different host/directory/version

Configure squirrelmail
Code:
> cd /var/www/localhost/htdocs/mail/config
> perl conf.pl

Press D to load the Courier-imap template.
Walk through the config menu to set up to your needs.
Make sure to load the compability and secure_login plugins.

As users inboxes grow, the webmail will become slow. To fix this make sure to enable "Allow server thread sort" and "Allow server-side sort" under General Options. (Wonder why these are off by default. Any security risk?)


I suggest actually using webapp-config instead of making a link and changing files that are in /usr/share/webapps. Thats what webapp-config is for (and really easy to use). Makes upgrading version of squirrelmail (or any other webapp) easy:
Code:
> webapp-config -U -h {$hostname} -d {directory}

With webapp-config you can even have all of the files be hard linked (if of course they are part of the same filesystem) so you don't waste space. The config files aren't hard linked so you have can different config files for every instance. This setup also doesn't require you to use the vlogin plugin, just install squirrelmail into multiple hosts or even multiple directories in the same host. With your setup, if you upgrade squirrelmail and then emerge -C the old version of squirrelmail you lose all of your data. webapp-config prevents this.
Back to top
View user's profile Send private message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Wed Oct 26, 2005 10:09 pm    Post subject: Reply with quote

Sorry for polluting this topic with my problems but i'm trying things at the same time, when I have some free time to admin my server. I'm quite fed up with qmail / tcprules breaking every now and then with each update , so I tried starting from scratch. I unmerged qmail, vpopmail, courier... deleted all configuration files, and then followed this guide.

Everything went smoothly with courier-imap, but it looks like qmail is acting up AGAIN... -_-

Well, it looks like tcpserver is the problem now:

When I start svscan, I realize I can't telnet on port 25 of myserver. When I do a ps on the server, I realize tcpserver is a zombie. However, it disappears when I stop svscan normally.

Is there any config file I should post here to get further help?
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Oct 27, 2005 7:26 am    Post subject: Reply with quote

AxelTerizaki wrote:
Sorry for polluting this topic with my problems but i'm trying things at the same time, when I have some free time to admin my server. I'm quite fed up with qmail / tcprules breaking every now and then with each update , so I tried starting from scratch. I unmerged qmail, vpopmail, courier... deleted all configuration files, and then followed this guide.

Everything went smoothly with courier-imap, but it looks like qmail is acting up AGAIN... -_-

Well, it looks like tcpserver is the problem now:

When I start svscan, I realize I can't telnet on port 25 of myserver. When I do a ps on the server, I realize tcpserver is a zombie. However, it disappears when I stop svscan normally.

Is there any config file I should post here to get further help?


Someone posted earlier that they've seen some warnings regaring the use of tcprules when emerging vpopmail. The warning recommended using relay-control (or whatever it was called). The warning might be there for a reason. I think everyone would benefit if someone posted something on why one is better than the other.

Regarding your smtp-auth / relay problem - watch the vlog table in the vpopmail database while the smtp server works. Does it give any clues of why this happens? (Does it post anything at all?)
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Oct 27, 2005 7:27 am    Post subject: Re: HOWTO: qmail vpopmail courier-imap qmail-scanner (09/200 Reply with quote

mobiusproject wrote:
I like the new HOWTO except for one main item (which I have edited the way I think it should be):
Quote:
11) Install squirrelmail
Make sure that you have USE="vhost" in /etc/make.conf
Code:
> emerge squirrelmail
> webapp-config -I -h localhost -d mail squirrelmail 1.4.5
or
> webapp-config -I -h {$host} -d {$directory} squirrelmail {$version}
to install install using a different host/directory/version

Configure squirrelmail
Code:
> cd /var/www/localhost/htdocs/mail/config
> perl conf.pl

Press D to load the Courier-imap template.
Walk through the config menu to set up to your needs.
Make sure to load the compability and secure_login plugins.

As users inboxes grow, the webmail will become slow. To fix this make sure to enable "Allow server thread sort" and "Allow server-side sort" under General Options. (Wonder why these are off by default. Any security risk?)


I suggest actually using webapp-config instead of making a link and changing files that are in /usr/share/webapps. Thats what webapp-config is for (and really easy to use). Makes upgrading version of squirrelmail (or any other webapp) easy:
Code:
> webapp-config -U -h {$hostname} -d {directory}

With webapp-config you can even have all of the files be hard linked (if of course they are part of the same filesystem) so you don't waste space. The config files aren't hard linked so you have can different config files for every instance. This setup also doesn't require you to use the vlogin plugin, just install squirrelmail into multiple hosts or even multiple directories in the same host. With your setup, if you upgrade squirrelmail and then emerge -C the old version of squirrelmail you lose all of your data. webapp-config prevents this.


I wasn't avare of the webapp-config command. I'll test it out and update the guide. Thanks!
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Thu Oct 27, 2005 4:15 pm    Post subject: Reply with quote

So I ran some more tests, although they were tested on Windows Server 2003, I imagine this applies to all WinXP/Win2000/Win2003 machines. I tested the SSL settings in Outlook 2003 with Symantec Corp Client Internet E-mail Auto Protect Enabled/Disabled; when Enabled, I got this error while trying to send a test message via outlook e-mail accounts setup:

Send test e-mail message: Outlook could not login to the outgoing mail server (SMTP). The problem could be the server name, your server may require authentication, or your server may not support SSL. Verify authentication and SSL options under More Settings.

So I disabled Symantec Corp Client Internet E-mail Auto Protect and sure enought I was able to send my test message! I'll try and get some tests done on WinXP outlook/outlook express today and post what I find out.

Cheers,
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Fri Oct 28, 2005 10:05 am    Post subject: Reply with quote

Thanks petterg for helping us out, first. Some progress on my installation:

I got qmail/tcpserver running again nicely. Only problem is that qmail doesn't communicate with vpopmail anymore O_o

I've put all my virtual domains in the local and rcpthosts files, and I confirm that courier-imap works fine with vpopmail (as well as Horde/IMP).

But, in the qmail-send logs, I got this
Code:
@400000004361f49f33dd2efc info msg 848647: bytes 1312 from <> qp 25798 uid 206
@400000004361f49f341fd964 starting delivery 2: msg 848647 to local xxxx@xxxx-xxxx.net
@400000004361f49f34210244 status: local 1/10 remote 0/20
@400000004361f49f3456b844 delivery 2: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/


So I guess that vpopmail isn't communicating with qmail for mailboxes places.

I wonder where I did mess up? I usually had no problems the first time I installed this.
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sat Oct 29, 2005 12:02 pm    Post subject: Reply with quote

AxelTerizaki wrote:
I got qmail/tcpserver running again nicely. Only problem is that qmail doesn't communicate with vpopmail anymore O_o

Maybe you could try to unemerge qmail, vpopmail, and tcprules (whatever package it's in). Then delete all config files related to those (keep the vpopmail db, and it's password), and then emerge them again.
Back to top
View user's profile Send private message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Sat Oct 29, 2005 5:05 pm    Post subject: Reply with quote

That's what I actually did to get tcpserver from working again (it was going as a zombie once started before).

I'll try it again now though.
Back to top
View user's profile Send private message
Nazzy
n00b
n00b


Joined: 26 May 2004
Posts: 34

PostPosted: Sat Oct 29, 2005 9:04 pm    Post subject: Reply with quote

I think i figured it out .... i'm testing now ... please hold
Back to top
View user's profile Send private message
AxelTerizaki
n00b
n00b


Joined: 12 Apr 2003
Posts: 33

PostPosted: Sun Oct 30, 2005 9:28 am    Post subject: Reply with quote

Good news! I finally solved what's wrong with "sorry no mailbox by that name here".

Qmail was actually communiating well with vpopmail, but vpopmail somehow lost the list of domains it takes care of. The mailboxes and domains were still there in /var/vpopmail/domains, but somehow vpopmail didn't know them anymore, so I did a:

vadddomain mydomain.com

And after complaining that "user already exists" (the postmaster) emails were going in really fine.

Now the only thing I have to do is tune tcpserver for relaying with smtp-auth and I'm all set :)

EDIT:
The list of domains is actually inside :
/var/qmail/control/virtualdomains

Since I did delete configuration files to restart from scratch I didn't have that file anymore.
Back to top
View user's profile Send private message
Nazzy
n00b
n00b


Joined: 26 May 2004
Posts: 34

PostPosted: Sun Oct 30, 2005 9:44 pm    Post subject: Reply with quote

Yeah ... much experimenting has shown that that is certainly the problem ... vpopmail just wasn't reading the old domains

I'll go try your trick now :)
Back to top
View user's profile Send private message
starplayer
n00b
n00b


Joined: 28 Oct 2005
Posts: 3
Location: Seoul, Korea

PostPosted: Mon Oct 31, 2005 4:59 am    Post subject: Reply with quote

Hi
I'm setting mail server with this one nice guide(thanx petterg and guys! it really helps me).
Everything was fine.(actually, i got some problems but i could treat them)
But today my customer calls me about problem stated simillar as link above
http://www.webfxhost.com/support/knowledgebase/email_timeout_error.htm
Quote:
Error Retrieving Mail with Outlook (with & nbsp as Subject)

There is a widespread issue you may be aware of where spam or virus messages arrive with a blank or with "&nbsp" for a subject and there is no sender or receipient listed. These malformed messages have the capability to "clog" Outlook users so they cannot connect to get their mail.

Many times, the Outlook user gets an error, such as this:
Receiving' reported error (0x800CCC0F): 'The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP). The server responded: +OK 375 octets follow.'

This is a global Internet issue and currently there is no permanent solution. For a temporary fix, we have installed a custom script which executes every one hour. It searches for these spam messages and removes them, however some messages may get past.

The problem is not with our Plesk Control Panel nor with or Qmail E-Mail Server, though most blame Plesk and / or Qmail - the problem originates with a spammer not knowing how to use his mass-mailer, and sending out a bunch of messages with that as a subject, or omitting the subject from the header entirely. There is no patch to Plesk or Qmail - as there's nothing wrong with either program - they are simply doing what they are supposed to do - which is deliver the message.

If clients are using Outlook or Outlook Express, and has certain (but not all) versions of Norton AntiVirus installed and configured to scan incoming email messages (the default configuration) then Norton hangs on the message and it hangs Outlook in turn.

For now, the BEST course of action is to login via webmail (i.e. webmail.yourdomain.com) and manually delete the offending messages that are causing the "bottleneck". These messages are easy to spot and are typically 900 bytes or less in size. After deleting the offending message via webmail, Outlook should be able to download messages.

We are currently working on a more solid solution for our systems and will update this information soon.

We originally used sendmail. Sendmail had no problems at all.
what's the differences?
same pop3 protocol, same outlook express, same norton antivirus. i can't justify that.
anyone have ideas?
_________________
The universe is run by the complex interweaving of three elements: matter, energy, and enlightened self-interest.
- G'kar, Babylon 5


Last edited by starplayer on Wed Nov 02, 2005 7:44 am; edited 1 time in total
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Mon Oct 31, 2005 5:21 am    Post subject: Reply with quote

starplayer wrote:

anyone have ideas?


I don't think I've ever had this issue with my qmail installations. However, I have seen it on other servers (those using SW-Soft's Plesk). The badmsg 9 script seems to fix this:

http://www.chamorro.us/rrr/badmsg.html
Back to top
View user's profile Send private message
starplayer
n00b
n00b


Joined: 28 Oct 2005
Posts: 3
Location: Seoul, Korea

PostPosted: Mon Oct 31, 2005 6:21 am    Post subject: Reply with quote

thanks for your reply, destr0yr :D
we are not using plesk version of qmail. it's just from gentoo portage tree(qmail-1.03-r15).
anyway, i've just installed badmsg script on mailserver.
i'll see one or more day to check it works or not.
then, i should report the result here.
i hope it works. thanks again.
_________________
The universe is run by the complex interweaving of three elements: matter, energy, and enlightened self-interest.
- G'kar, Babylon 5
Back to top
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Mon Oct 31, 2005 4:23 pm    Post subject: Reply with quote

petterg wrote:
BlackB1rd wrote:
Seems to be good, but I don't get any email. But where should it deliver root@localhost, since I didn't specify localhost as a domain in vpopmail? Or is it supposed to handle localhost as local?


Gahh, Sorry.

You need to edit the script a litle.... line 112-113 (or somewhere close to those linenumbers) reads:


I changed those lines and the script worked well. But now it's all working, a reboot of the server was the magical solution :D Thanks for your time :)
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Tue Nov 01, 2005 9:55 pm    Post subject: Reply with quote

starplayer wrote:

We originally used sendmail. Sendmail had no problems at all.
what's the differences?
same pop3 protocol, same outlook express, same norton antivirus. i can't justify that.
anyone have ideas?


If that is all it takes to make outlook hang, I guess I should make a script that generates such mails in my users mailboxes. Hopefuly that would make the rest of them switch to mozilla / opera / others.
Back to top
View user's profile Send private message
Nazzy
n00b
n00b


Joined: 26 May 2004
Posts: 34

PostPosted: Wed Nov 02, 2005 7:26 am    Post subject: Reply with quote

AxelTerizaki wrote:
Good news! I finally solved what's wrong with "sorry no mailbox by that name here".

Qmail was actually communiating well with vpopmail, but vpopmail somehow lost the list of domains it takes care of. The mailboxes and domains were still there in /var/vpopmail/domains, but somehow vpopmail didn't know them anymore, so I did a:

vadddomain mydomain.com

And after complaining that "user already exists" (the postmaster) emails were going in really fine.

Now the only thing I have to do is tune tcpserver for relaying with smtp-auth and I'm all set :)

EDIT:
The list of domains is actually inside :
/var/qmail/control/virtualdomains

Since I did delete configuration files to restart from scratch I didn't have that file anymore.


This failed to work for me ... however after removing and adding the broken domains, all is working again.


unfortunatly, i'm now scared to upgrade qmail incase it all breaks again lol
Back to top
View user's profile Send private message
starplayer
n00b
n00b


Joined: 28 Oct 2005
Posts: 3
Location: Seoul, Korea

PostPosted: Wed Nov 02, 2005 7:42 am    Post subject: Reply with quote

starplayer wrote:
anyway, i've just installed badmsg script on mailserver.
i'll see one or more day to check it works or not.
then, i should report the result here.

badmsg, it works. checked.
but badmsg script is discrete(based on crond.hour) solution, i found another one. it's procmail.
filtering bad message which contains malformed Message-ID header through above setting(in /etc/procmailrc)
Code:
## bad message - has malformed message id ##
:0:
* ^Message-ID:.*\[
/var/vpopmail/domains/mydomain.com/spambox/.maildir/

i appreciate advance you guys, thank you.
_________________
The universe is run by the complex interweaving of three elements: matter, energy, and enlightened self-interest.
- G'kar, Babylon 5
Back to top
View user's profile Send private message
mobiusproject
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2003
Posts: 110

PostPosted: Tue Nov 15, 2005 3:54 pm    Post subject: Re: HOWTO: qmail vpopmail courier-imap qmail-scanner (09/200 Reply with quote

petterg wrote:
Configure qmail
Code:
> nano -w /var/qmail/control/servercert.cnf
Modify to whatever suits your needs and save/exit
> ebuild /var/db/pgk/mail-mta/qmail-1.03-r15/qmail-1.03-r15.ebuild config
Press [enter] to continue whenever it asks you to modify /var/qmail/control/servercert.cnf. You've done that.

A quick replacement for
Code:
> ebuild /var/db/pgk/mail-mta/qmail-1.03-r15/qmail-1.03-r15.ebuild config
is
Code:
> emerge --config qmail
Back to top
View user's profile Send private message
mobiusproject
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2003
Posts: 110

PostPosted: Tue Nov 15, 2005 6:06 pm    Post subject: Re: HOWTO: qmail vpopmail courier-imap qmail-scanner (09/200 Reply with quote

petterg wrote:
4) Install imap and pop3 server
Code:
> emerge courier-imap


Something is buggy... this should fix:
Code:
> cd /etc/courier
> ln -s authlib/authdaemonrc


Modify /etc/courier/authlib/authdaemonrc
Code:
> nano -w /etc/courier/authlib/authdaemonrc

edit the line authmodulelist=.. to read:
authmodulelist="authvchkpw"

save/exit

If you want the imapserver to run, modify /etc/courier-imap/imapd
Code:
> nano -w /etc/courier-imap/imapd

Edit IMAPDSTART=NO to IMAPDSTART=YES

save/exit

If you want ssl support for you imapserver, modify /etc/courier-imap/imapd-ssl and /etc/courier-imap/imapd.cnf
Code:
> nano -w /etc/courier-imap/imapd-ssl

Edit IMAPDSSLSTART=NO to IMAPDSSLSTART=YES
save/exit

Code:
> nano -w /etc/courier-imap/imapd.cnf

Edit according to your server/location/domain

save/exit


If you want the pop3 server to run, modify /etc/courier-imap/pop3d
Code:
> nano -w /etc/courier-imap/pop3d

Edit POP3DSTART=NO to POP3DSTART=YES

save/exit

If you want ssl support for the pop3 server, modify /etc/courier-imap/pop3d-ssl and /etc/courier-imap/pop3d.cnf
Code:
> nano -w /etc/courier-imap/pop3d-ssl

Edit POP3DSSLSTART=NO to POP3DSSLSTART=YES

save/exit

Code:
> nano -w /etc/courier-imap/pop3d.cnf

Edit according to your server/location/domain

save/exit


Generate certificates:
Code:
(only if you're going to run imap-ssl server)
> mkimapdcert
(only if you're going to run pop3-ssl server)
> mkpop3dcert


Start the servers (all or just some of them)
Code:
> /etc/init.d/famd start
> rc-update add famd default
> /etc/init.d/courier-imapd start
> rc-update add courier-imapd default
> /etc/init.d/courier-pop3d start
> rc-update add courier-pop3d default
> /etc/init.d/courier-imapd-ssl start
> rc-update add courier-imapd-ssl default
> /etc/init.d/courier-pop3d-ssl start
> rc-update add courier-pop3d-ssl default

I'm running all 4 servers. Users may decide if they want imap or pop3. A firewall makes sure that the non-ssl servers is unavailable for users located outside the local network.


Yet another quick note:
There is no need to edit /etc/courier-imap/[pop3d|pop3d-ssl|imapd|imapd-ssl] and change [POP3D|POP3DSSL|IMAPD|IMAPDSSL]START=YES. These variables are only if you have a script in /etc/init.d/ that parses these files in /etc/courier-imap/. With gentoo, all you need to do is run the rc-update commands for each daemon you want to run and edit the imapd.cnf and pop3d.cnf if you run the ssl servers. So:

mobiusproject wrote:
4) Install imap and pop3 server
Code:
> emerge courier-imap


Modify /etc/courier/authlib/authdaemonrc
Code:
> nano -w /etc/courier/authlib/authdaemonrc

edit the line authmodulelist=.. to read:
authmodulelist="authvchkpw"


If you want the imap server to run:
Code:
> rc-update add courier-imapd default
> /etc/init.d/courier-imapd start


If you want ssl support for you imap server:
Code:
> nano /etc/courier-imap/imapd.cnf
     edit to suit your needs
> mkimapdcert
> rc-update add courier-imapd-ssl default
> /etc/init.d/courier-imapd-ssl start


If you want the pop3 server to run:
Code:
> rc-update add courier-pop3d default
> /etc/init.d/courier-pop3d start


If you want ssl support for you pop3 server:
Code:
> nano /etc/courier-imap/pop3d.cnf
     edit to suit your needs
> mkpop3dcert
> rc-update add courier-pop3d-ssl default
> /etc/init.d/courier-pop3d-ssl start


I'm running all 4 servers. Users may decide if they want imap or pop3. A firewall makes sure that the non-ssl servers is unavailable for users located outside the local network.

IMO, the fewer files you actually need to edit the better. Less chance of screwing something up. I have also excluded famd because I have never used it and I don't know what it is (heh). The bug with authdaemonrc (where you made the softlink) I have also never run into, thus I excluded it as well. I am searching to see where that bug arises though to see if I can find another workaround or a fix so you don't need to do that.

I am rebuilding a mail server on a backup machine and trying to make the install process as short and sweet as possible, can you tell? I also back up all of the config files that I have changed for dire emergencies, and the fewer files that I have backup the better.
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Wed Nov 16, 2005 2:00 pm    Post subject: Re: HOWTO: qmail vpopmail courier-imap qmail-scanner (09/200 Reply with quote

mobiusproject wrote:

IMO, the fewer files you actually need to edit the better. Less chance of screwing something up. I have also excluded famd because I have never used it and I don't know what it is (heh). The bug with authdaemonrc (where you made the softlink) I have also never run into, thus I excluded it as well. I am searching to see where that bug arises though to see if I can find another workaround or a fix so you don't need to do that.

I am rebuilding a mail server on a backup machine and trying to make the install process as short and sweet as possible, can you tell? I also back up all of the config files that I have changed for dire emergencies, and the fewer files that I have backup the better.


Thanks for that feedback. I'm guessing the bug with authdaemonrc depends on version of install, as the file was expected in a diffrent dir before the current versions. Those some packages expected it to be in the old dir.

Famd, as mentioned earlier, seems to save resources. Courier need to be informed when files are changed, created or removed. Famd takes care of this notification. Acording to Courier documentation famd does a better job than the stuff buildt into Courier.
Back to top
View user's profile Send private message
s4mmy
n00b
n00b


Joined: 10 Apr 2005
Posts: 1

PostPosted: Wed Nov 16, 2005 7:13 pm    Post subject: Reply with quote

Please note that if you follow this setup and upgrade to qmail-1.03-r16, you HAVE to change the /var/control/qmail-smtpd line (etc-update will do it correctly for you, however if you are like me and distrustful of etc-update, here is what you do.)

this line:
Code:
# QMAIL_SMTP_POST="${QMAIL_SMTP_AUTHHOST} ${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"


should read instead:
Code:
QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"


HTH anyone who's having the same problem I did.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 3 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum