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: Sun Feb 19, 2006 11:06 pm    Post subject: Reply with quote

pht3k wrote:

thanks a lot for this nice howto. it worked great, except for one thing : the notice about the diffencies of the r16 rlz should be added to the main post in my opinion.


I'll look into that. Is r16 working fine for those who've tried it?

pht3k wrote:

now, some1 managed to get rid of those nasty messages about certificate when retreiving mail from outlook? i know i should use an other mail client ... that's what i do but some persons using my server are just continuing to stick with outlook ... argh

certificate warings will disapare when you make your certificate official and have them signed.
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Sun Feb 19, 2006 11:09 pm    Post subject: Re: IMAPS auth OK, Squirrelmail not! Reply with quote

YsndHalf wrote:

Now the system runs very fine with IMAPS (outside the linux box), but I'm still unable to log in with Squirrelmail!
Do you have any idea about what could be happening?


You should use IMAP (no S) with squirrelmail. At least if they are running on the same host.
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 573
Location: Long Island, NY

PostPosted: Mon Feb 20, 2006 12:18 am    Post subject: Reply with quote

petterg wrote:
maiku wrote:
The mail gets delivered to the gmail account but not the optonline.net one.


I'm back!
Have been living a life outside the mailserver for a while

I guess your problem is related til a problem with the MX record pointing to your server. Some smtp servers looks up the senders mx record and refuses connections if it isn't happy with the result. (This is to stop spam.)
What would be a good method to prevent this? Change the priority number?
_________________
Michael A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Mon Feb 20, 2006 4:21 pm    Post subject: Reply with quote

Without knowing how you've got the DNS setup...
The MX should point to your servers full hostname.domain as returned on smtp-helo request by the server - not an IP adress. Priority should (tm) not matter.
If telnet to the smtp server and running instruction "helo" returns mail.domain.net
There should be an DNS-A record that points to the server.
Then the MX should point to that A record
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 573
Location: Long Island, NY

PostPosted: Tue Feb 21, 2006 10:24 pm    Post subject: Reply with quote

helo returns "domainname.net" and not "mail.domainname.net." Is that correctable?

Also, what about the problem with the log saying
Quote:
@4000000043fb903a28247b4c delivery 102: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_64.233.185.114_accepted_message./Remote_host_said:_250_2.0.0_OK_1140559920_13si8000791wrl/
I send a user and password when I connect to the smtp server on the computer, but what could be wrong?

Thanks.
_________________
Michael A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
pht3k
n00b
n00b


Joined: 04 Apr 2005
Posts: 53
Location: Québec

PostPosted: Sat Feb 25, 2006 6:52 am    Post subject: Reply with quote

petterg wrote:


pht3k wrote:

thanks a lot for this nice howto. it worked great, except for one thing : the notice about the diffencies of the r16 rlz should be added to the main post in my opinion.


I'll look into that. Is r16 working fine for those who've tried it?


yes. no probs at all :)
Back to top
View user's profile Send private message
rshadow
Apprentice
Apprentice


Joined: 28 Nov 2003
Posts: 176

PostPosted: Sat Mar 04, 2006 7:03 pm    Post subject: Reply with quote

After following both this guide and the qmail guide hosted at gentoo.org I just can't get qmail up and running. In both instances something is not going right. I suspect something with vpopmail because I remember when I did this before vpopmail using /home/vpopmail .. but that directory is never created.. Anyways in both instances the following happens. When a user tries to connect to the pop3d-ssl server, they fail to auth. Additionaly Thunderbird reports that secure auth is not supported. The following is what I get in my log files. If anybody has any ideas as to whats going on it would be appreciated. Thanks.


Mar 4 13:45:26 zues pop3d-ssl: Connection, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authdaemon: s_connect() failed: No such file or directory
Mar 4 13:45:33 zues pop3d-ssl: LOGIN FAILED, user=sbunn@myfqdn.com, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authentication error: No such file or directory
Back to top
View user's profile Send private message
kiesa
n00b
n00b


Joined: 20 Oct 2005
Posts: 57
Location: Finland

PostPosted: Wed Mar 08, 2006 9:16 am    Post subject: Reply with quote

Anyone having problems logging in?
I have one server that handles web and one for vpopmail/imapd etc.

Logging in with thunderbird for example works ok and
when logging in from squirrelmail imapd logs look good also.
Somehow i'm still redirected to page where it says
"you must be logged in.."

I think it has something to do with cookies but it's strange
as other apps like phpbb2 work just fine with cookies.

Any ideas what it could be?

phpver 4.4.2
apache 2.2
phpinfo http://webmail2.rikos.org/info.php
Back to top
View user's profile Send private message
TheSlab
n00b
n00b


Joined: 29 Apr 2004
Posts: 18
Location: Lanham, MD USA

PostPosted: Fri Mar 10, 2006 8:53 pm    Post subject: Reply with quote

Hey petterg!

Been a while :) I'm back with good news though.

I had to rebuilt my mail setup, had a drive failure, and went and got the latest versions of everything as of yesterday installed and working. Along with the chkuser patch!

This patch was named chkusr before. Rejects mail if an account/alias doesn't exist. It would be nice to get it into portage because it sure as hell keeps the load down on the server!

I wrote up how to use it here and you can get the patch here

Let me know how it goes.
Back to top
View user's profile Send private message
TheSlab
n00b
n00b


Joined: 29 Apr 2004
Posts: 18
Location: Lanham, MD USA

PostPosted: Fri Mar 10, 2006 9:09 pm    Post subject: Reply with quote

maiku wrote:
helo returns "domainname.net" and not "mail.domainname.net." Is that correctable?


Modify:
~qmaild/controls/me

maiku wrote:
Also, what about the problem with the log saying
Quote:
@4000000043fb903a28247b4c delivery 102: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_64.233.185.114_accepted_message./Remote_host_said:_250_2.0.0_OK_1140559920_13si8000791wrl/
I send a user and password when I connect to the smtp server on the computer, but what could be wrong?


Nothing is wrong there, it's just information. That's saying your server talked to gmail servers and didn't use a username and password. I think.
Back to top
View user's profile Send private message
TheSlab
n00b
n00b


Joined: 29 Apr 2004
Posts: 18
Location: Lanham, MD USA

PostPosted: Fri Mar 10, 2006 9:12 pm    Post subject: Reply with quote

rshadow wrote:
Mar 4 13:45:26 zues pop3d-ssl: Connection, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authdaemon: s_connect() failed: No such file or directory
Mar 4 13:45:33 zues pop3d-ssl: LOGIN FAILED, user=sbunn@myfqdn.com, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authentication error: No such file or directory


Is authdaemond running?

If it is running then I'd try removing it and re-emerge it. But remove it first and clean up the config files.
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Sun Mar 12, 2006 9:45 pm    Post subject: Reply with quote

maiku wrote:
helo returns "domainname.net" and not "mail.domainname.net." Is that correctable?

Also, what about the problem with the log saying
Quote:
@4000000043fb903a28247b4c delivery 102: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_64.233.185.114_accepted_message./Remote_host_said:_250_2.0.0_OK_1140559920_13si8000791wrl/
I send a user and password when I connect to the smtp server on the computer, but what could be wrong?

Thanks.


You're probably missing "mail."-perfix in some files in /var/qmail/control . I'm not sure which one affects the answere to helo.
Point is: the answere to helo must be the same as what the mx record points to.

Regarding passwords... What if you don't send a password?
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Sun Mar 12, 2006 9:47 pm    Post subject: Reply with quote

rshadow wrote:
After following both this guide and the qmail guide hosted at gentoo.org I just can't get qmail up and running. In both instances something is not going right. I suspect something with vpopmail because I remember when I did this before vpopmail using /home/vpopmail .. but that directory is never created.. Anyways in both instances the following happens. When a user tries to connect to the pop3d-ssl server, they fail to auth. Additionaly Thunderbird reports that secure auth is not supported. The following is what I get in my log files. If anybody has any ideas as to whats going on it would be appreciated. Thanks.


Mar 4 13:45:26 zues pop3d-ssl: Connection, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authdaemon: s_connect() failed: No such file or directory
Mar 4 13:45:33 zues pop3d-ssl: LOGIN FAILED, user=sbunn@myfqdn.com, ip=[XXX.XXX.XXX.XXX]
Mar 4 13:45:33 zues pop3d-ssl: authentication error: No such file or directory


Last time I tried mozilla mail clients (2 years ago) it had some serious problems with encrypted connections. Maybe it's still buggy?
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Sun Mar 12, 2006 9:53 pm    Post subject: Reply with quote

TheSlab wrote:

I wrote up how to use it here and you can get the patch here

Let me know how it goes.


Great!
I tried that patch a while ago and found it causing some problems. Can't remember what it was though. Have to read the old thread to find out.

Edit:
The problem with the chkusr patch was that smtp-auth using tsl failed. Is that working for you?
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 573
Location: Long Island, NY

PostPosted: Mon Mar 13, 2006 2:24 am    Post subject: Reply with quote

petterg wrote:
Regarding passwords... What if you don't send a password?
It works when I don't send a password. Is that a good thing? I'm not sure if anybody being allowed to send e-mail using my server without a password is okay.
_________________
Michael A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Tue Mar 14, 2006 7:44 pm    Post subject: Reply with quote

maiku wrote:
petterg wrote:
Regarding passwords... What if you don't send a password?
It works when I don't send a password. Is that a good thing? I'm not sure if anybody being allowed to send e-mail using my server without a password is okay.


Do you still get the message in your log?
Code:

@4000000043fb903a28247b4c delivery 102: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_64.233.185.114_accepted_message./Remote_host_said:_250_2.0.0_OK_1140559920_13si8000791wrl/
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 573
Location: Long Island, NY

PostPosted: Tue Mar 14, 2006 11:04 pm    Post subject: Reply with quote

The domain is www.divineaspirations.net and mail comes from there

When sending messages to my optonline.net account
Quote:
@4000000044173bf93a41140c starting delivery 67: msg 215 to remote infested@optonline.net
@4000000044173bf93a412b7c status: local 0/10 remote 1/20
@4000000044173c7719be4754 delivery 67: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@4000000044173c7719be62ac status: local 0/10 remote 0/20
When sending mail with using a user and password to my gmail account
Quote:
@4000000044174a0f018bab04 new msg 208800
@4000000044174a0f018bbe8c info msg 208800: bytes 698 from <xxx@divineaspirations.net> qp 31376 uid 201
@4000000044174a0f0274eddc starting delivery 68: msg 208800 to remote xxx@gmail.com
@4000000044174a0f0275054c status: local 0/10 remote 1/20
@4000000044174a100531b834 delivery 68: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_72.14.205.27_accepted_message./Remote_host_said:_250_2.0.0_OK_1142376966_d12si473938qbc/
@4000000044174a100531d774 status: local 0/10 remote 0/20
@4000000044174a100531df44 end msg 208800
When sending mail without using a username and password to my gmail account
Quote:
@4000000044174ace3b391c24 new msg 208800
@4000000044174ace3b392bc4 info msg 208800: bytes 660 from <xxx@divineaspirations.net> qp 31407 uid 201
@4000000044174acf008074c4 starting delivery 70: msg 208800 to remote xxx@gmail.com
@4000000044174acf00808c34 status: local 0/10 remote 1/20
@4000000044174acf36f9e7ec delivery 70: success: User_and_password_not_set,_continuing_without_authentication./<xxx@gmail.com>_72.14.205.27_accepted_message./Remote_host_said:_250_2.0.0_OK_1142377157_f14si1389271qba/
@4000000044174acf36fa0b14 status: local 0/10 remote 0/20
@4000000044174acf36fa12e4 end msg 208800
They look um... exactly the same. The TLS option is checked in Thunderbird.
_________________
Michael A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
rshadow
Apprentice
Apprentice


Joined: 28 Nov 2003
Posts: 176

PostPosted: Thu Mar 16, 2006 9:02 am    Post subject: Reply with quote

ok.. I think I'm making progress now.. I was able to send mail to users prior to installing qmail-scanner. Now mail delivery never happens.. here are the errors I'm getting.. something is wrong with clamav

Code:

@4000000044192448078f247c X-Qmail-Scanner-1.25st:[zues.rougesoftware.net114249836571819238] clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2


I have tried to re-emerge both clamav and qmail-scanner with no luck.


smtp-auth I still can't get to work for anything. Here is what I'm getting with that
Code:

Mar 16 03:58:11 zues vpopmail[19322]: vchkpw-smtp: (PLAIN) login success sbunn@rougesoftware.net:211.168.233.97
Mar 16 03:58:11 zues vpopmail[19322]: vchkpw-smtp: null user name given :211.168.233.97


I don't know whats up with the null user name given. It appears to be trying to auth twice, the first being successful and then it dies..


any ideas anybody?

thanks.
Back to top
View user's profile Send private message
TheSlab
n00b
n00b


Joined: 29 Apr 2004
Posts: 18
Location: Lanham, MD USA

PostPosted: Thu Mar 16, 2006 3:36 pm    Post subject: Reply with quote

petterg wrote:

Great!
I tried that patch a while ago and found it causing some problems. Can't remember what it was though. Have to read the old thread to find out.

Edit:
The problem with the chkusr patch was that smtp-auth using tsl failed. Is that working for you?


I'm using TSL or TLS? TLS and smtp-auth are working for me with the patch.

I appologize if anyone was trying to get the patch in the last few days. Had memory go bad and then a drive failure Sunday. ugh! At least I lost next to nothing.
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Mon Mar 20, 2006 11:06 pm    Post subject: Reply with quote

rshadow wrote:
ok.. I think I'm making progress now.. I was able to send mail to users prior to installing qmail-scanner. Now mail delivery never happens.. here are the errors I'm getting.. something is wrong with clamav


My guess is that you've missed out on some config with the tcprules.

Also you've missed something on the clamav config (like username to run as / permissions on files) or put the SOFTLIMIT (whereever it is) too low.
Back to top
View user's profile Send private message
cazze
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 155
Location: Brussels - Belgium

PostPosted: Wed Mar 22, 2006 7:47 am    Post subject: Reply with quote

rshadow wrote:
ok.. I think I'm making progress now.. I was able to send mail to users prior to installing qmail-scanner. Now mail delivery never happens.. here are the errors I'm getting.. something is wrong with clamav

Code:

@4000000044192448078f247c X-Qmail-Scanner-1.25st:[zues.rougesoftware.net114249836571819238] clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2


...


Edit your /etc/clamd.conf and comment the user clamav =>

# user clamav

that should do it.

The output of the mail goes to root@localhost. I am unable to get this mail in a virtual mailbox like blabla@blabla.com. Any id's?

kammicazze
_________________
Required: Windows 95 or better, so i installed Linux!!!
Back to top
View user's profile Send private message
bopols
n00b
n00b


Joined: 30 Mar 2006
Posts: 3
Location: Asia

PostPosted: Fri Apr 07, 2006 4:23 am    Post subject: qmail-queue error Reply with quote

hi

i have this problem in my /var/spool/qmail/qmail-queue.log

Code:

Thu, 06 Apr 2006 09:16:45 Local time zone must be set--see zic manual page:905: +++ starting debugging for process 905 (ppid=885) by uid=0
Thu, 06 Apr 2006 09:16:45 Local time zone must be set--see zic manual page:905: s_q: re-create the quarantine version file
Thu, 06 Apr 2006 09:16:45 Local time zone must be set--see zic manual page:905: s_q: cleaning up files older than 2 days via /usr/bin/find /var/spool/qmailscan/tmp -mtime +2 -exec /bin/rm -rf {} ;
Thu, 06 Apr 2006 09:22:35 Local time zone must be set--see zic manual page:2550: +++ starting debugging for process 2550 (ppid=2531) by uid=0
Thu, 06 Apr 2006 09:22:35 Local time zone must be set--see zic manual page:2550: s_q: re-create the quarantine version file
Thu, 06 Apr 2006 09:22:36 Local time zone must be set--see zic manual page:2550: s_q: cleaning up files older than 2 days via /usr/bin/find /var/spool/qmailscan/tmp -mtime +2 -exec /bin/rm -rf {} ;
Fri, 07 Apr 2006 03:10:01 Local time zone must be set--see zic manual page:9012: +++ starting debugging for process 9012 (ppid=9011) by uid=0
Fri, 07 Apr 2006 03:10:01 Local time zone must be set--see zic manual page:9012: s_q: re-create the quarantine version file
Fri, 07 Apr 2006 03:10:01 Local time zone must be set--see zic manual page:9012: s_q: cleaning up files older than 2 days via /usr/bin/find /var/spool/qmailscan/tmp -mtime +2 -exec /bin/rm -rf {} ;


what's causing this error and how come i already created an account in my vpopmail but when i log on to squirrelmail this dialogbox pops up

ERROR
Error connecting to IMAP server: localhost.
111 : Connection refused
Go to the login page


is the 1st errors corresponds to a un-updated qmail-scanner? or a configuration that im missing (also for error2)
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Sat Apr 08, 2006 6:23 pm    Post subject: Re: qmail-queue error Reply with quote

bopols wrote:
hi

i have this problem in my /var/spool/qmail/qmail-queue.log

Code:

Thu, 06 Apr 2006 09:16:45 Local time zone must be set--see zic manual page:905: +++ starting debugging for process 905 (ppid=885) by uid=0


what's causing this error and how come i already created an account in my vpopmail but when i log on to squirrelmail this dialogbox pops up



Did you set the timezone when you installed gentoo?
Back to top
View user's profile Send private message
bopols
n00b
n00b


Joined: 30 Mar 2006
Posts: 3
Location: Asia

PostPosted: Mon Apr 10, 2006 7:56 am    Post subject: Re: qmail-queue error Reply with quote

im new in gentoo and just configuring a installed gentoo box, woul configuring the time will remove this error? thanks in advance

petterg wrote:
bopols wrote:
hi

i have this problem in my /var/spool/qmail/qmail-queue.log

Code:

Thu, 06 Apr 2006 09:16:45 Local time zone must be set--see zic manual page:905: +++ starting debugging for process 905 (ppid=885) by uid=0


what's causing this error and how come i already created an account in my vpopmail but when i log on to squirrelmail this dialogbox pops up



Did you set the timezone when you installed gentoo?
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Mon Apr 10, 2006 10:43 pm    Post subject: Re: qmail-queue error Reply with quote

bopols wrote:
im new in gentoo and just configuring a installed gentoo box, woul configuring the time will remove this error? thanks in advance


You'll find out if you try
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
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 5 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