Re: qmail on AFS

2001-08-09 Thread Andrea Cerrito

-BEGIN PGP SIGNED MESSAGE-

 Andrea mentioned that AFS is very similar to CODA, and the CODA 
 solution is
 to use rename() as I was planning on doing. Peter had cautioned 
 that rename
 will overwrite existing files whereas hard links will not lose 
 any existing
 files. Archived discussion threads indicate that renaming is still
 relatively safe because the email file name is composed of the
 current date/time, PID and host name and it is unlikely that the
 PID would recycle within 1 second.

I think rename() is safe. Even link() is of course better, the event
that two nodes of the cluster are writing a mail with same
data,pid,hostname (???) is obviously very very rare (impossible?).

 The extended explanation of the problem is that AFS implements 
 its own ACL,
 so that even the Unix root user may have no access to a users ~home
 directory; the holds true also that a user who has managed to log 
 in to the
 Linux/Unix box may have no access to his own ~home directory. 

Like Coda.

 Access to AFS
 files are granted by tokens issued by the AFS/Kerberos
 authentication server.

Like Coda, but Coda doesn't use kerberos.

 So during mail delivery, qmail-lspawn will setuid to become the
 email receipient, except that in most cases, this user will not 
 have a valid
 token. 

I don't know well AFS, but with Coda / Vpopmail is trivial. It's
sufficient to get a token for vpopmail and root users.

When qmail starts, it launch 2 scripts to get root and vpopmail
tokens. Then, crontab perform authentication for root / vpopmail
every 4 hours (security reasons, tokens are valid for much longer).

I really didn't need to patch qmail-local.

 In conjunction with all of the above, I will need a cron job to 
 periodically
 refresh qmaill's AFS/Kerberos token so that qmaill will always 
 have a valid
 token in order to make use of the ACL privileges that have been
 given to qmaill. 
 

Yep. But I don't see the needs for patching qmail-local.c (except for
rename()).
- ---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQEVAwUBO3K16vo9HK4+yTI3AQF0IQgAmgnnlQABR9szQN2KQHrxOLaSo92xxs8u
4vIkfmYT7eZrEIlYoRBazBa+8TfDyUqORNxatydzIBqiHBQcEf7AxBT8BhegNu9n
QN8UNhCOEJNRHf/DvluInZm2I6+MRxity2o6psKfkWliFFaP6Lu6G8bw41J0qKul
sVUkm5XtBzC5cfkiDzqAHmr+J8yv5CJiOAYuOueQ+yY2KJd0qlvMEmewBYr0rDsK
kCuGEqrcxc0khtu8Wt1mdqHGhLN2yoMafhw2CUCggxiqrB5xLuoydNdAM/i/YuA1
76REBt/7LckUAH2Lb0Ej8TD0UC5w1G7MoQ1m1QEwY3ONfgdAsZ/L/Q==
=wble
-END PGP SIGNATURE-




Re: qmail on AFS

2001-08-07 Thread Andrea Cerrito

-BEGIN PGP SIGNED MESSAGE-

It appears that AFS is like Coda (you have to use rename() instead of
link()). Try to search in the archive about Coda, you'll find a lot
of discussions, with some patches.
Vpopmail is being patched to work with Coda too, in the dev release.

Good luck
- ---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQEVAwUBO2+AWfo9HK4+yTI3AQF3DAf+N9I8iXUkdVWmxMyQa70LSJdVMyDsDyoX
8vfuTExnCULfPRAf7f6LuTqW+bcFyxw+8K8qvE9Q1aeV4yGKIp3LPoSsKY9FU7te
xxgWtRnsfJeeQRUEo1Uh82ATuw201fOk2Uc6qwEGupu7picp3xFK6VeaUvhW3+L0
5V46DC0atz+fKVjAHUJq1ZArrt48+As2WqDKAFHjrFVK1jn8BA0VAREt3Ay2bFVe
Fp5HHzfeRaAWQx1lLdqFm2YKmavwbWnTvDI5TsHUjTu3RqlNKID4C5kqyvmLDmza
PEsqsYdwC+/rbRnLgDBfBdbtYqG1HnX9nt7BahYLr6HevV8ZnIedYQ==
=KjBI
-END PGP SIGNATURE-




Re: SMTP+SSL

2001-07-31 Thread Andrea Cerrito

 Hi,
 
 Ok, I have been trying to install qmail-smtp with SSL, but no 
 success. In the beginning I tried stunnel, but I gave up. Now I'm 
 trying tls.patch, I have reinstalled qmail with tls.patch, but I 
 can't get it o work. Can someone please help me.

Cool.
How can we help if you don't describe your problem?
A lot of people (like me) here are running qmail+stunnel.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372



R: SMTP+SSL

2001-07-31 Thread Andrea Cerrito

 -Messaggio originale-
 Da: Per-fredrik Pollnow (EPK)
 [mailto:[EMAIL PROTECTED]]
 Inviato: martedì 31 luglio 2001 15.49
 A: 'Andrea Cerrito'
 Cc: Qmail Mailing list (E-mail)
 Oggetto: RE: SMTP+SSL


 Hi,

 Sorry about the bad describe of my problems. I have tried so many
 things, cant post all things to the mailing list, :=), so I need
 some help.

 But how to you do when you are using stunnel + smtpd ?

 (Yes I use deamontools)


 This is some of the tings I have tried:
 --
 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c
 $MAXSMTPD \
  -u $QMAILDUID -g $NOFILESGID 0 smtp
 /usr/local/sbin/stunnel -p /etc/pem/smtp.pem -N smtp
 -l/var/qmail/bin/qmail-smtpd 21 -- qmail-smtpd

-l /var/qmail/bin/qmail-smtpd -- qmail-smtpd

see the diffs!

1) detach -l and the command
2) do not use 21 before the end of command!

There are a lot of scripts these days about stunnel.
Try a search on some archive. :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





Re: stunnel/POP3 hanging ??

2001-07-30 Thread Andrea Cerrito

mmmhhh, looks like a wrong startup script!

 Here is my invocation of stunnel:

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 300 \
 /usr/local/bin/tcpserver -v -likauni.vrona.com -H -R 0 pop3 \
 /usr/local/sbin/stunnel -p /etc/stunnel.pem \
 -l /var/qmail/bin/qmail-popup -- qmail-popup ikauni.vrona.com \
 /bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d
 Maildir 21

Try something like:

[snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
/var/qmail/bin/qmail-popup -- qmail-popup [snip]

Hope it helps.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





Re: stunnel/POP3 hanging ??

2001-07-30 Thread Andrea Cerrito

Probably a misunderstood.

  Try something like:
 
  [snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
  /var/qmail/bin/qmail-popup -- qmail-popup [snip]

 No. Running stunnel not as daemon but under tcpserver is a good idea.
 Maex posted a good example script a few days ago.

The first [snip] was the tcpserver command, the second one was the
qmail-command.
I just said that stunnel was bad invoked, infact I add the -N (servicename)
and the -f switch.

This is my run script under tcpserver, uptime 83days with no problems.

exec /usr/bin/env - PATH=/var/qmail/bin:$PATH \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l hostname ip port \
/usr/local/stunnel/sbin/stunnel -p /var/qmail/control/spop3.pem \
-N spop3 -f -l /var/qmail/bin/qmail-popup /var/qmail/bin/qmail-popup \
hostname /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
21

Just to be clear :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





Re: stunnel

2001-07-27 Thread Andrea Cerrito

This is my run script.

exec /usr/bin/env - PATH=/var/qmail/bin:$PATH \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l hostname ip port \
/usr/local/stunnel/sbin/stunnel -p /var/qmail/control/spop3.pem -N spop3 \
-f -l /var/qmail/bin/qmail-popup /var/qmail/bin/qmail-popup hostname \
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

-p pemfile
-N wrapper name (spop3 = secure pop3)
-f don't fork
-l command to run

Working perfectly. The only problem I encountered was solved by using a
double qmail-popup after -l switch ('-l /var/qmail/bin/qmail-popup
/var/qmail/bin/qmail-popup').
Don't remember why, but I think stunnel can't work with either pop3 or smtp
as a redirector.

Hope it helps.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372




R: Selective relaying problem

2001-07-27 Thread Andrea Cerrito

Is there any particular reason to start qmail from xinetd? You will be able
to solve your problem with tcpserver in few minutes.

What kind of selective relaying are you searching for? Static or dynamic?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

 -Messaggio originale-
 Da: Michele Schiavo [mailto:[EMAIL PROTECTED]]
 Inviato: venerdì 27 luglio 2001 16.55
 A: Brett Randall
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Oggetto: Re: Selective relaying problem


 Help me i use Xinetd and I'm not to be able to set RELAY client.

  Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:
 
  I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
  selective relaying to work. I *have* read FAQ 5.4 and scoured the
  web archives for people with similar problems but I still can't get
  a resolution.
 
  How are you starting qmail-smtpd? (ie the tcpserver line).
 
  And what instructions did you follow to setup qmail?
  (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
  or the INSTALL doc? If you followed the INSTALL doc, try re-installing
  qmail by following the lifewithqmail doc. In any case, answer the
  first question and we'll see what we can do...
  --
  There is no reason anyone in the right state of mind will want a
  computer in their home.
 
  - Ken Olson, President of Digital Equipment Corp, 1977






Re: php-qmail-sendmail...cjk

2001-07-18 Thread Andrea Cerrito

 Warning: mail() is not supported in this PHP build in
 /usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3
  on line
 141

What kind of build do you have of php? It sounds like a bug of 4.0.5 (you
can solve it by hand, anyway, have a look here
http://www.php.net/bugs.php?id=11623, solved in 4.0.6).

Hope it helps
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372




R: log format

2001-07-17 Thread Andrea Cerrito

About date, to view, pipe it to tai64nlocal.

[root@homer-a main]# tail current
@40003b54533929f756ec delivery 880: success: did_0+0+1/
@40003b54533929f78d9c status: local 0/60 remote 0/60
@40003b54533929f7a50c end msg 275504
@40003b545339309cfc04 new msg 275507
@40003b545339309d1b44 info msg 275507: bytes 10277 from sender qp 2219
uid 502
@40003b54533a07bdcdcc starting delivery 881: msg 275507 to local mailbox
@40003b54533a07bdfcac status: local 1/60 remote 0/60
@40003b54533a0b7ec984 delivery 881: success: did_0+0+1/
@40003b54533a0b7f041c status: local 0/60 remote 0/60
@40003b54533a0b7f17a4 end msg 275507

[root@homer-a main]# tail current | tai64nlocal
2001-07-17 17:01:03.704075500 delivery 880: success: did_0+0+1/
2001-07-17 17:01:03.704089500 status: local 0/60 remote 0/60
2001-07-17 17:01:03.704095500 end msg 275504
2001-07-17 17:01:03.815594500 new msg 275507
2001-07-17 17:01:03.815602500 info msg 275507: bytes 10277 from sender qp
2219 uid 502
2001-07-17 17:01:04.129879500 starting delivery 881: msg 275507 to local
mailbox
2001-07-17 17:01:04.129891500 status: local 1/60 remote 0/60
2001-07-17 17:01:04.192858500 delivery 881: success: did_0+0+1/
2001-07-17 17:01:04.192873500 status: local 0/60 remote 0/60
2001-07-17 17:01:04.192878500 end msg 275507
[root@homer-a main]#

Hope it helps.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

 -Messaggio originale-
 Da: GARGIULO Eduardo INGDESI [mailto:[EMAIL PROTECTED]]
 Inviato: martedì 17 luglio 2001 17.11
 A: qmail list
 Oggetto: log format


 Hi all.

 I'm using qmail-1.03, and it's working ok.
 Yesterday, I change the way to start qmail from tarball/INSTALL docs
 to LWQ. The problem is that the logs don't says (in human readable
 format), the date and time of each event. Instead of that, I see
 lines like

 @40003b535a1736077d54 tcpserver: ok 7541 0:10.1.1.1:25
 :10.1.1.194::2525

 How can I configure qmail startup process to log the events date and
 time like syslog? (Jul 17 12:03:00 host process: blah, blah, blah...)

 thanks

 --ejg






Re: False alarms about services with tcpserver

2001-06-14 Thread Andrea Cerrito

I hope I just discovered my problem, and I hope it will help other people
too.
As I said, I'm using CodaFS: sometimes Coda (a network fs) may respond slow
to open files because files is modified on another host, or because getting
info from master servers is delayed, and so on.

Looking at my run script, I found a little thing intersting:

exec /usr/local/bin/tcpserver -v -c 50 -H -P -R -l pop3.frontend.int -x
/coda/qmail/vpopmail/relay/tcp.smtp.cdb \
-u $QMAILUID -g $QMAILGID ip port /coda/qmail/bin/qmail-smtpd 21
  ^^^

But /coda/qmail/bin is a link on a ext3 fs: when I installed qmail, I
installed it without binaries on codafs, just conf and mailboxes files. So:
why using /coda/qmail/bin when I can use /usr/local/qmail/bin ?

Now, my smtpd run script is

exec /usr/local/bin/tcpserver -v -c 50 -H -P -R -l pop3.frontend.int -x
/coda/qmail/vpopmail/relay/tcp.smtp.cdb \
-u $QMAILUID -g $QMAILGID ip port /usr/local/qmail/bin/qmail-smtpd 21

and all is working great (I mean, no false alarms for today, meanwhile I
received them two or three per day at least just yesterday). tcp.smtp.cdb
must remain on Coda.
Pop3 modified in the same way. It was:

exec /usr/bin/env - PATH=/coda/qmail/bin:$PATH \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l pop3.frontend.int ip port
/coda/qmail/bin/qmail-popup \
pop3.frontend.int /coda/qmail/vpopmail/bin/vchkpw
/coda/qmail/bin/qmail-pop3d Maildir 21

but now it is:

/usr/local/bin/tcpserver -v -c 50 -H -P -R -l pop3.frontend.int ip port
/usr/local/qmail/bin/qmail-popup \
pop3.frontend.int /usr/local/vpopmail/bin/vchkpw
/usr/local/qmail/bin/qmail-pop3d Maildir 2

Anyway, thank you people :).

PS: I'm very happy that Henning Brauer found no problems with pop3.monitor:
it's a confirm that it's a good monitor. :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




Re: False alarms about services with tcpserver

2001-06-13 Thread Andrea Cerrito

Thank you for your reply.

 Andrea Cerrito [EMAIL PROTECTED] wrote:
 
  I have a server farm with pop3 / smtp / ftp services running on
 Linux and
  served by tcpserver. My monitoring software is Mon, and sometimes I'm
  receiving alarms about these services: they are always false alarms.

 Two possibilities:  tcpserver is accepting the connections as a backlog
 because you're hitting your concurrency limits,

No.
False alarms happens even during low traffic, as show by logs.

2001-06-12 13:27:03.855642500 tcpserver: status: 1/50
2001-06-12 13:27:03.856118500 tcpserver: pid 17372 from 10.10.32.135
2001-06-12 13:27:11.326985500 tcpserver: ok 17372 pop3.frontend.int:ip:10025
:ip::4563
2001-06-12 13:27:11.334100500 tcpserver: end 17372 status 256
2001-06-12 13:27:11.334181500 tcpserver: status: 0/50

As you can see, from 13:27:03 tcpserver spawn at 13:27:11, far away from
timeout for monitoring (5 secs).

A normal session is like:

2001-06-12 13:28:15.451685500 tcpserver: status: 1/50
2001-06-12 13:28:15.452134500 tcpserver: pid 17378 from 10.10.32.135
2001-06-12 13:28:15.452904500 tcpserver: ok 17378 pop3.frontend.int:ip:10025
:ip::4585
2001-06-12 13:28:15.460697500 tcpserver: end 17378 status 0
2001-06-12 13:28:15.460778500 tcpserver: status: 0/50

 or the DNS lookups which
 tcpserver does are timing out sometimes.

Nope, because the host making monitoring is in /etc/hosts and tcpserver
isn't relying on dns. This is my run:

exec /usr/local/bin/tcpserver -v -c 50 -H -P -R -l pop3.frontend.int -x
/coda/qmail/vpopmail/relay/tcp.smtp.cdb -u $QMAILUID -g $QMAILGID ip port
/coda/qmail/bin/qmail-smtpd 21

I thought it can be the tcp.smtp.cdb on coda, but these errors happens even
for pop3, not relying on a cdb on coda.
Other ideas?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372





Re: False alarms about services with tcpserver

2001-06-13 Thread Andrea Cerrito

Thank you for your reply.

 On Tue, Jun 12, 2001 at 09:29:05PM -0400, David Means wrote:
  If there is a way to configure Mon to report a service as down after a
  number of failures, then that is my recommendation.  Just because a

 alertafter 2 15m

 gives an alert if the service failes 2 times within 15 minutes.

I know that option, but I wish to understand why monitoring fails.
I mean: if the monitoring is experiencing timeout, clients too will...
right?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




Re: False alarms about services with tcpserver

2001-06-13 Thread Andrea Cerrito

Thank you for your reply.

 Andrea:

 If there is a way to configure Mon to report a service as down after a
 number of failures, then that is my recommendation.  Just because a
 service fails a test once doesn't mean that it's down.  I could just be
 busy.

You're right, but the strange beaviour is: when service fails (in monitoring
opinion :) the server is not busy. As I reported in another mail, this is
what happens:

2001-06-12 13:27:03.855642500 tcpserver: status: 1/50
2001-06-12 13:27:03.856118500 tcpserver: pid 17372 from 10.10.32.135
2001-06-12 13:27:11.326985500 tcpserver: ok 17372 pop3.frontend.int:ip:10025
:ip::4563
2001-06-12 13:27:11.334100500 tcpserver: end 17372 status 256
2001-06-12 13:27:11.334181500 tcpserver: status: 0/50

As you can see, from 13:27:03 tcpserver spawn at 13:27:11, far away from
timeout for monitoring (5 secs).

A normal session is like:

2001-06-12 13:28:15.451685500 tcpserver: status: 1/50
2001-06-12 13:28:15.452134500 tcpserver: pid 17378 from 10.10.32.135
2001-06-12 13:28:15.452904500 tcpserver: ok 17378 pop3.frontend.int:ip:10025
:ip::4585
2001-06-12 13:28:15.460697500 tcpserver: end 17378 status 0
2001-06-12 13:28:15.460778500 tcpserver: status: 0/50

If you look at status, you'll see that is far away from busy: it's the only
active session! And: why all others services (ie: Apache) never fails?

I thought it may be the Coda FS (qmail/vpopmails mailboxes are running on
Coda): but even apache is running on Coda, and more accessed files are
cached by clients, so I discarded this idea.

Two solutions are: increase timeouts to 10secs (in that case it appears to
respond after 8) or set the alarm after N failures... but why tcpserver is
delaying 8 secs? I mean, if I discover the cause, I'll solve my problem.

Thank you again
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




False alarms about services with tcpserver

2001-06-12 Thread Andrea Cerrito

Hi to all,

I have a server farm with pop3 / smtp / ftp services running on Linux and
served by tcpserver. My monitoring software is Mon, and sometimes I'm
receiving alarms about these services: they are always false alarms.

For example:

===SERVICE IS MARKED AS DOWN==
Summary output:  Time Out

Group : pop3-a.frontend.int
Service   : smtp
Time noticed  : Tue Jun 12 13:27:10 2001
Secs until next alert :
Members   : pop3-a.frontend.int

Detailed text (if any) follows:
---
pop3-a.frontend.int

SERVICE IS MARKED AS UP==
Summary output:  Time Out

Group : pop3-a.frontend.int
Service   : smtp
Time noticed  : Tue Jun 12 13:28:16 2001
Secs until next alert :
Members   : pop3-a.frontend.int

Detailed text (if any) follows:
---
pop3-a.frontend.int

Just one minute (and I'm doing test every minute)... I'm trying to
understand why I'm having those false alarms on only services running with
tcpserver on Linux. I mean, if the service is running with tcpserver on
Solaris or the services is running on linux without tcpserver, I've no
errors (ie, qmail on solaris and Apache on linux).

Viewing logs, I've no errors.

What can be the problem?? What I've to search for??

Thanks

PS I didn't find a list about ucspi-tcp: if I wrote to wrong list, please
tell me which is the correct one :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




R: vpopmail authentication

2001-06-07 Thread Andrea Cerrito

Did you use the form user@domain as login?
I mean

telnet server 110
+OK
user utente@domain
+OK
pass password

Remember, when using vpopmail you have to use user@domain as login, instead
of user.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Erich Zigler [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledi 6 giugno 2001 19.15
 A: [EMAIL PROTECTED]
 Oggetto: Re: vpopmail authentication


 On Wed, Jun 06, 2001 at 05:24:38PM +0200, Franco Vecchiato wrote:

  In vpopmail I created a new domain test.it, with a new user utente and
  password testutente.  After setting the right stuff into my
 DNS server, I
  sent an email to [EMAIL PROTECTED]  The email has been delivered
 correctly to
  vpopmail/domain/test.it/utente/new directory and the logfile reports no
  errors, but when I try to connect to the mailserver with a POP client
  (outlook express) configured for this account, I get an authentication
  failure error message from the server.

 What does the maillog say when you try to check your email?

 --
 Erich Zigler

 One Unix to rule them all, One Resolver to find them,
 One IP to bring them all and in the zone to bind them.





pop3 login

2001-06-06 Thread Andrea Cerrito

Hi

I'm having a cluster of two pop3 servers using vpopmail+qmail. My monitoring
program is mon, because I've a LVS solution.
Sometimes, I have mon reporting false alarms about pop3 login on just one
server: with false alarm I mean an alarm about the pop3 server at first
attempt and an ok situation at second one. Controls are done every minute.

The monitoring program (written in perl) is doing:

telnet server port
HELO monhost
quit

My logs about the pop3 program show no problems even when I've got the error
(i'm sure about the event because all machines are syncronized with ntp):

2001-06-06 10:53:14.759320500 tcpserver: status: 1/50
2001-06-06 10:53:14.759856500 tcpserver: pid 20437 from monitor
2001-06-06 10:53:14.759990500 tcpserver: ok 20437 servername:serverip:port
:monitormachienip::port
2001-06-06 10:53:14.768756500 tcpserver: end 20437 status 256
2001-06-06 10:53:14.768840500 tcpserver: status: 0/50

I tried to sets timeout to 5 seconds but (1) doesn't solve the problem, (2)
makes no sense cause the telnet from the monitor machine is 1 sec.

What can be the problem? TCPSERVER isn't spawn a qmail-pop3 well or there
can be other problems?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




Re: Features

2001-06-01 Thread Andrea Cerrito

Try here
http://cr.yp.to

---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372



Re: Quick tcpserver question

2001-06-01 Thread Andrea Cerrito

No.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372 



R: Single SMTP out server

2001-05-31 Thread Andrea Cerrito

Of course it is.
Just set the webservers to use the relay as the only relay (smtproutes) and
you've done!
If I remember well, something like *:ip-or-hostname-of-relay in
/var/qmail/control/smtproutes may do the trick.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Brian Moon [mailto:[EMAIL PROTECTED]]
 Inviato: giovedì 31 maggio 2001 16.30
 A: [EMAIL PROTECTED]
 Oggetto: Single SMTP out server


 Hi,

 We use PHP for our web site(s).  It has the mail() function which uses
 standard sendmail to send out mail.  We have qmail installed on all of our
 web servers nodes.  In addition we have a mail server running qmail of
 course.  What I would like to do is have qmail on all servers
 except the the
 mail server relay their mail through the mail server instead of sending it
 themselves.

 Is this possible with qmail?

 Brian Moon
 --
 dealnews.com, Inc.
 Makers of dealnews  dealmac
 http://dealnews.com/ | http://dealmac.com/






R: Dynamic allow of relay

2001-05-31 Thread Andrea Cerrito
Title: Dynamic allow of relay



Yes, 
it's called realy-ctrl.
If 
you're using vpopmail, there is an option to allow it.

Have a 
look on qmail home page.
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
S.p.A.P.zzale Bosco 3A05100 Terni ITTel. +39 744 5441330Fax. +39 
744 5441372 

  -Messaggio originale-Da: Mark Douglas 
  [mailto:[EMAIL PROTECTED]]Inviato: giovedì 31 maggio 2001 
  18.50A: '[EMAIL PROTECTED]'Oggetto: Dynamic allow of 
  relay
  Is there a way to setup qmail such that it will 
  dynamically allow relay hosts based on their previous login to the 
  qmail-pop3d? Namezero has their mail servers set up this way, so that as long 
  as you've checked your mail within the last 10 minutes from that IP, you can 
  use the server to send mail through. My mail server is not local to my 
  workstations, and the workstations are on a DSL PPPoE connection which changes 
  ip's every time I connect. Making a setup like this would greatly simplify how 
  things work for me. Anyone have any ideas on how to do this?
  Mark Douglas - 
  Architecture Sympatico-Lycos Inc. All your base are belong to us! Make your time! 



R: change password for virtual users.

2001-05-25 Thread Andrea Cerrito

omail-admin with vpopmail?
How can it be possible?

---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Mark Lo [mailto:[EMAIL PROTECTED]]
 Inviato: giovedi 24 maggio 2001 8.43
 A: [EMAIL PROTECTED]
 Oggetto: change password for virtual users.


 Hi,

 I am using qmail + vpopmail + omail-admin.  I would like to write a
 simple program to change the virtual user's password on the web
 by using the
 vpasswd function.  I know omail-admin has the function to change password.
 But, I would like to disable the forward filed.  So, I decide to write one
 by myself.  Anybody has any idea to do it.

 Thank you

 Mark





R: change password for virtual users.

2001-05-25 Thread Andrea Cerrito

Ah... :) Ok.
I asked because just few days ago I asked Olivier if it was possible to use
omail-admin with vpopmail and its response was :( different... (no, it
isn't).
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Mark Lo [mailto:[EMAIL PROTECTED]]
 Inviato: venerdi 25 maggio 2001 15.42
 A: Andrea Cerrito; [EMAIL PROTECTED]
 Oggetto: Re: change password for virtual users.


 Hi,

 I mean vmailmgr + qmail + omail-admin ???

 Mark

 - Original Message -
 From: Andrea Cerrito [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, May 25, 2001 7:16 PM
 Subject: R: change password for virtual users.


  omail-admin with vpopmail?
  How can it be possible?
 
  ---
  Cordiali saluti / Best regards
  Andrea Cerrito
  ^^
  Net.Admin @ Centro MultiMediale di Terni S.p.A.
  P.zzale Bosco 3A
  05100 Terni IT
  Tel. +39 744 5441330
  Fax. +39 744 5441372
 
   -Messaggio originale-
   Da: Mark Lo [mailto:[EMAIL PROTECTED]]
   Inviato: giovedi 24 maggio 2001 8.43
   A: [EMAIL PROTECTED]
   Oggetto: change password for virtual users.
  
  
   Hi,
  
   I am using qmail + vpopmail + omail-admin.  I would like
 to write a
   simple program to change the virtual user's password on the web
   by using the
   vpasswd function.  I know omail-admin has the function to change
 password.
   But, I would like to disable the forward filed.  So, I decide to write
 one
   by myself.  Anybody has any idea to do it.
  
   Thank you
  
   Mark
  
 
 





R: webmail recommendations?

2001-05-23 Thread Andrea Cerrito

I think the good-for-all solution can be SQWebMail: it work with any
authentication scheme (and this can be a starting point when talking about
scalability), can change users password, can read messages from Maildirs and
relay only on few needs.

Other websolutions, even so good, may be limitative: I mean, you have to
choose between pop3 and imap support, php, missing features ...

You can decide only after you have in mind what you really want from a
webmail solution.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: remo [mailto:remo]Per conto di Remo Mattei
 Inviato: mercoledi 23 maggio 2001 5.34
 A: Eric Paynter
 Cc: [EMAIL PROTECTED]
 Oggetto: Re: webmail recommendations?


 Eric Paynter wrote:

  I've just started an email server evaluation to provide a complete email
  solution including POP3, SMTP, and webmail. We're already
 strongly thinking
  qmail is a good place to start, but it does not have native
 webmail support.
  We do not need IMAP. So far, the webmail servers on the floor are:
 
  oMail-webmail
  NeoMail
  AtDot
  EmuMail
 
  Does anybody have any good/bad experience with these? Do they
 integrate well
  with qmail? We're hoping to use maildir format. I know oMail
 supports it,
  but from a perusal of the websites, I'm not certain if the
 others do. Also,
  can anybody suggest any other webmail servers that integrate well with
  qmail?
 
  Any comments appreciated.
 
  Thanks,
 
  -Eric P.
 
  ---
  arctic bears - the internet - your way.
  email hosting from US$8/month, domains from US$19/year.
  http://www.arcticbears.com

 Wrong!! Yes it does have webmail support, it's called sqwebmail
 good program
 and very fast, you can also use IMP. I will work with maildir no problem.

 Remo






R: help: bash script to use with vadddomain (vpopmail)

2001-05-23 Thread Andrea Cerrito



You 
may want use the for function.
Use 
man bash to understand how it works.
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
S.p.A.P.zzale Bosco 3A05100 Terni ITTel. +39 744 5441330Fax. +39 
744 5441372 

  -Messaggio originale-Da: jcarreiro 
  [mailto:[EMAIL PROTECTED]]Inviato: mercoledì 23 maggio 2001 
  10.25A: [EMAIL PROTECTED]Oggetto: help: bash script to 
  use with vadddomain (vpopmail)
  hi all,
  
  i'm trying towrite an script who 
  automatically creates new virtual domains in vpopmail
  
  my script uses the vadddomain binarie from 
  vpopmail.
  
  the syntax for vadddomain is : 
  vadddomain[domain name][postmaster passwd]
  so i create i text file with :
  
  ...
  ...
  test.com test
  ...
  
  
  the problem is that vadddomain doesn't treat my 
  file per line 
  well, i'm a script newbie, so i let you see what 
  i'm doing :)) script is next :
  
  --
  PATH="$PATH:/var/spool/popmail/bin"
  
  VDOMAINSFILE="/home/tech/vdomain.txt"VDOMAINSOLDFILE="/home/tech/vdomain.txt.old"NEWDOMAINSFILE="/home/tech/new_vdomains.list" 
  NEWVDOMAINS="/var/tmp/new_vdomains.tmp"
  
  if test -s $VDOMAINSFILEthenif [ 
  $VDOMAINSFILE -nt $VDOMAINSOLDFILE ]; thendiff -u $VDOMAINSOLDFILE 
  $VDOMAINSFILE | grep -v "^+++" | grep -v "^+;" | grep "^+" | sed -e s/^+//g 
   $NEWVDOMAINSfi#awk 'BEGIN { FS=":"} {print $1 " " 
  "test"}' $NEWVDOMAINS  $NEWDOMAINSFILE
  
   vadddomain  cat $NEWDOMAINSFILE 
   rm $NEWVDOMAINS $NEWDOMAINSFILE
  --
  
  and here the output file :
  ---
  # less new_vdomains.listtest.org 
  testorgtest.net testnet
  
  -
  
  thx in advance
  
  


R: R: webmail recommendations?

2001-05-23 Thread Andrea Cerrito

Well, sorry, you are right. I forgot... :(
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Olivier M. [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledi 23 maggio 2001 10.40
 A: Andrea Cerrito
 Cc: [EMAIL PROTECTED]
 Oggetto: Re: R: webmail recommendations?


 On Wed, May 23, 2001 at 10:14:24AM +0200, Andrea Cerrito wrote:
  I think the good-for-all solution can be SQWebMail: it work with any
  authentication scheme (and this can be a starting point when
 talking about

 wrong, it only works with vpopmail-based accounts, and maybe vanilla-qmail
 accounts. Or please show me an example where it works with vmailmgr
 (would be nice if it could with vmailmgr...)

 Cheers,
 Olivier
 --
 _
  Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
 qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch




R: R: leave a copy of messages on server

2001-05-22 Thread Andrea Cerrito



Mmmmhhh, I don't think it's possible.
Anyway, you can set a crontab to delete old messages (ie: 30 days old) or 
you can set quota.

It's 
not advisable to make the delete mandatory because:

1) 
user may want to look his/her messages from a location, and to download them 
from another one,
2) the 
data transfer may fail for some reason (and you force deletion of a message 
unread by user)

Good 
work
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
S.p.A.P.zzale Bosco 3A05100 Terni ITTel. +39 744 5441330Fax. +39 
744 5441372 

  -Messaggio originale-Da: medi [mailto:medi]Per 
  conto di Medi MontaseriInviato: lunedì 21 maggio 2001 
  21.11A: Andrea CerritoCc: 
  [EMAIL PROTECTED]Oggetto: Re: R: leave a copy of messages on 
  serverI have the opposit question, is it possible to 
  mandate delete? That is, can I mandate the all messages be 
  downloaded from a POP server? 
  Andrea Cerrito wrote: 
  Mmmm... strange. 
A normal pop3 session is like 
... stat retr #num dele #num 
and if you set "leave a copy..." the dele action is never done. Try 
to telnet to your box and act as a mail client: you'll be able to know 
if it's a problem with qmail (I don't think so, anyway) or with your 
client. 
I mean 
+OK [EMAIL PROTECTED] user $YOURUSER +OK 
pass $YOURPASS +OK stat +OK 1 1228 retr 1 bla bla 
bla bla bla quit +OK 
then reconnect and see if the message is still alive. Good luck 
--- Cordiali saluti / Best regards Andrea Cerrito 
^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. 
P.zzale Bosco 3A 05100 Terni IT Tel. +39 744 5441330 Fax. 
+39 744 5441372 
 -Messaggio originale-  Da: Roberto Marzialetti [mailto:[EMAIL PROTECTED]]  
Inviato: lunedì 21 maggio 2001 18.39  A: Qmail List  
Oggetto: leave a copy of messages on serverHi 
boys   have got a problem...  well... if i active 
the option "leave a copy  of messages on server " on my email 
client, the messages  doesn't leave on my server :o((  
 have you got some solution ?   many thanks  
 Roberto  --
===
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=== 



R: leave a copy of messages on server

2001-05-21 Thread Andrea Cerrito

Mmmm... strange.

A normal pop3 session is like

...
stat
retr #num
dele #num

and if you set leave a copy... the dele action is never done.
Try to telnet to your box and act as a mail client: you'll be able to know
if it's a problem with qmail (I don't think so, anyway) or with your client.

I mean

+OK [EMAIL PROTECTED]
user $YOURUSER
+OK
pass $YOURPASS
+OK
stat
+OK 1 1228
retr 1
bla bla bla bla bla
quit
+OK

then reconnect and see if the message is still alive.
Good luck
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Roberto Marzialetti [mailto:[EMAIL PROTECTED]]
 Inviato: lunedì 21 maggio 2001 18.39
 A: Qmail List
 Oggetto: leave a copy of messages on server


 Hi boys

 have got a problem...
 well... if i active the option leave a copy
 of messages on server  on my email client, the messages
 doesn't leave on my server :o((

 have you got some solution ?

 many thanks

 Roberto






R: Rebooting before sending mail

2001-05-14 Thread Andrea Cerrito



Instead of sending mail, write a file elsewhere, and 
look for that file at reboot: if file is present, send mail and delete the 
file.
Of 
course, you'll be warned of the reboot just after that.

Anyway, if qmail starts with the machine, why the alert isn't in the 
queue? 
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
S.p.A.P.zzale Bosco 3A05100 Terni ITTel. +39 744 5441330Fax. +39 
744 5441372 

  -Messaggio originale-Da: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Inviato: luned 14 maggio 2001 
  15.33A:Oggetto: 
  Rebooting before sending mailHi. I have a problem: When my machine is rebooting/shutdown, I have set 
  up a rc-script that sends a mailalert to the administrator that the machine 
  has been rebooted. But the machine makes the reboot so fast that the mail 
  never gets send. Any ideas to solve this little 
problem?


R: Urgent Qmail Question (Relaying)

2001-05-09 Thread Andrea Cerrito

 -Messaggio originale-
 Da: Sunil . [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledì 9 maggio 2001 9.47
 A: [EMAIL PROTECTED]
 Oggetto: Urgent Qmail Question (Relaying)


 Hi There,
 I just installed SMTP Relaying Control by Bruce Guenter Version 2.5.
 I installed from the gzipped format. Everything went fine and
 there were no
 errors reported.

 I have inserted the required line in the file
 /service/qmail-pop3d/run. I am
 very sure nothing is wrong with this.

 The only thing left is the cron entry which i have not done yet. I don't
 think that should matter at this moment right.??

Well, not, but don't forget it or probably you'll have an open relay soon
:).

 I am still unable to do selective relay and i still get the same
 old message
 as below.

 The message could not be sent because one of the recipients was
 rejected
 by the server. The rejected e-mail address was '[EMAIL PROTECTED]'.
 Subject 'sad', Account: 'myserver.com', Server: myserver.com',
 Protocol:
 SMTP, Server Response: '553 sorry, that domain isn't in my list
 of allowed
 rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error:
 553, Error
 Number: 0x800CCC79

Well, relayctrl is not doing his job.
Anyway, post your run script and a strace, if possible, to see what the
problem could be.
Maybe relayctrl can't write in the right dir, can't read your conf files,
can't run tcprules...

 Another problem is that, it takes a whole load of a time before i can
 connect to the POP or SMTP server. I am using tcpserver. I added the
 following switches in my run file: -H -R. Initially, i noticed some
 improvement in the speed of connection. But i tried again after
 sometime and
 i realized that it went back to its usual ways.

I think it may be a dns issue.
This is my tcpserver:

-v -H -P -R -l $HOSTNAME

and it works perfectly.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372




R: POP3 Cluster

2001-05-05 Thread Andrea Cerrito

I'm running a linux virtual server (www.linuxvirtualserver.org) with coda fs
(www.coda.cs.cmu.edu) and vpopmail.
I hope it helps
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372

 -Messaggio originale-
 Da: Eduardo Augusto Alvarenga [mailto:[EMAIL PROTECTED]]
 Inviato: sabato 5 maggio 2001 1.02
 A: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Oggetto: POP3 Cluster


 Hi,

 Anyone on the list(s) have any idea of how to make a
 independent-of-another-
 servers pop3 cluster on a group of qmail-vpopmail servers?
 Preferentlly on
 distinct DMZs.

 B.R.

 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Eduardo Augusto Alvarenga - Analista de Suporte - #179653
 Blumenau - Santa Catarina. Tel. (47) 9102-3303
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




R: manually run queue

2001-05-04 Thread Andrea Cerrito



Read 
the faq.
http://cr.yp.to/qmail/faq/admin.html#queuerun
---Cordiali saluti / Best regardsAndrea 
Cerrito^^Net.Admin @ Centro MultiMediale di Terni 
SpAP.zzale Bosco 3A05100 Terni ITTel. 0744 / 5441330Fax. 0744 / 
5441372 

  -Messaggio originale-Da: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Inviato: venerdì 4 maggio 2001 
  8.57A: [EMAIL PROTECTED]Oggetto: manually run 
  queueHi. How do I 
  manually run the queue in qmail? My qmailmachine mapi-mailserver has been down 
  for a couple of hours, and qmail has queued up all the incoming mails. Now the 
  mailserver has been up for 1 hour, but qmail hasn´t started to deliver. 
  


Qmail as only relay

2001-05-03 Thread Andrea Cerrito

Hi to everybody.

I can't be able to set a qmail server for just serving as relay. I mean, the
machine smtp.domain.ext must serve as relay for pop servers, in this way

mail from internet  smtp.domain.ext must carry the duty  smtp.domain.ext
must forward the message to pop.domain.ext (another machine)

In the same scenario, smtp.domain.ext must allow pop.domain.ext to fully
relay.

I've succesfully set up this little kind of mail-world. :)

My problem is that smtp.domain.ext is accepting local mail if the rcpt to:
passage is done without the @.

IE.
220 smtp.domain.ext ESMTP
helo
250 smtp.domain.ext
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: test
250 ok

How can I setup smtp.domain.ext to not allow receving mail for local at all?

Thank you

PS I read the FAQ and I searched this ml archive, but I found only how to do
the scenario above - and I did. What I didn't find is how to not receive
local mail at all.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372




R: Qmail as only relay

2001-05-03 Thread Andrea Cerrito

 -Messaggio originale-
 Da: Charles Cazabon [mailto:[EMAIL PROTECTED]]
 Inviato: giovedi 3 maggio 2001 16.32
 A: [EMAIL PROTECTED]
 Oggetto: Re: Qmail as only relay


 Andrea Cerrito [EMAIL PROTECTED] wrote:
 
  mail from internet  smtp.domain.ext must carry the duty 
 smtp.domain.ext
  must forward the message to pop.domain.ext (another machine)
 
  In the same scenario, smtp.domain.ext must allow pop.domain.ext to fully
  relay.

 Should be easy to do with tcpserver and smtproutes.

It is. :)

  My problem is that smtp.domain.ext is accepting local mail if
 the rcpt to:
  passage is done without the @.

 Fix the clients.  It's forbidden to not have a domain in the
 address(es) in
 the envelope recipient(s).

Ah. Ok.

  How can I setup smtp.domain.ext to not allow receving mail for
 local at all?

 Don't put anything in /var/qmail/control/locals?

Already done, but this doesn't work (qmail puts @smtp.domain.ext if no
domain is used).
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372




R: error with sqwebmail

2001-05-03 Thread Andrea Cerrito

I'm new to sqwebmail, but I think you can help you and us with an strace /
truss of the httpd program serving the cgi.
Good luck
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372

 -Messaggio originale-
 Da: Brendan McAlpine [mailto:[EMAIL PROTECTED]]
 Inviato: giovedi 3 maggio 2001 21.40
 A: [EMAIL PROTECTED]
 Oggetto: error with sqwebmail


 I get the following when trying to launch sqwebmail:

 H1Internal error (module sqwebmail.c, line 1499) - contact system
 administrator/H1

 How can I fix this problem?

 Brendan