qmail Digest 17 Feb 2000 11:00:01 -0000 Issue 914

Topics (messages 37301 through 37349):

Re: Distribution List
        37301 by: Anand Buddhdev

POP Account checking
        37302 by: Istvan Berko
        37314 by: Magnus Bodin

Re: pop3 and checkpassword
        37303 by: Uwe Ohse
        37310 by: Steve Wolfe

Totally boggled..
        37304 by: Henrik Öhman
        37308 by: Dave Sill
        37311 by: Henrik Öhman
        37313 by: Dave Sill

Re: why wont q-mail use other mail exchanger??
        37305 by: Greg Owen

qmailanalog and senders?
        37306 by: TAG

testing delivery ?
        37307 by: John P. Looney

Re: ezmlm-idx 0.40 and web archives...
        37309 by: Fred Lindberg

qmail-pop3d not timing out?
        37312 by: Fred Backman

Spam deflection
        37315 by: Shawn P. Stanley

Managing the Queue
        37316 by: Steve Belt
        37320 by: Steve Wolfe
        37334 by: Peter Samuel

Strange Problem
        37317 by: Bill Parker
        37319 by: iv0

max recipients killing instead of bouncing.
        37318 by: Michael Boyiazis

strange emails for pop accounts.
        37321 by: Eric Lalonde
        37322 by: Russ Allbery
        37323 by: Mark Mentovai
        37324 by: Eric Lalonde

getting mail sent to lists to resolve to correct host/domain
        37325 by: Ben Trussell

Addendum: getting mail sent to lists to resolve to correct host/domain
        37326 by: Ben Trussell

Newbee Question
        37327 by: Roy Kerwood
        37330 by: Sam

Setting Up a Secure, quick, Pop3 Toaster
        37328 by: Matt Mouser
        37332 by: Russell P. Sutherland
        37348 by: Olivier M.
        37349 by: Sven Veckes

advice on moving /var to RAID?
        37329 by: Matt Harrington
        37336 by: John White

qmail and spammers
        37331 by: Erich Zigler
        37335 by: Martin A. Brown

streamline symbolic links?
        37333 by: Eric Lalonde

queue: wrong_owner (#4.3.5) and 'trouble creating files...(#4.3.0)'
        37337 by: Gordon McAllister

blocking domains
        37338 by: Robert
        37339 by: Michael Boman
        37340 by: Robert
        37341 by: Michael Boman
        37342 by: Robert
        37343 by: Mark Mentovai
        37344 by: Robert

run program in .qmail
        37345 by: Jason Huang

Blank messages from qmail via POP
        37346 by: Jeremy G Byrne

mail.local:_unknown_name:_postmaster/ error
        37347 by: Gavin Cameron

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


On Wed, Feb 16, 2000 at 02:07:33PM +0500, Muhammad Ali wrote:

>    I want to make distribution lists in Qmail. How?

man dot-qmail.

-- 
See complete headers for more info




Hi There...

I was wondering if there is a package that allows me to check a pop account
on an external server, rewrite the address and inserts it into the local
server.

Thanks
Istvan





On Wed, Feb 16, 2000 at 01:40:26PM -0800, Istvan Berko wrote:
> Hi There...
> 
> I was wondering if there is a package that allows me to check a pop account
> on an external server, rewrite the address and inserts it into the local
> server.

man fetchmail

/magnus

-- 
http://x42.com/




On Wed, Feb 16, 2000 at 10:33:10PM +1300, kiwitp wrote:
> Escape character is '^]'
> +ok <573.950693006@INIT VERSION=sysvinit-2.74

the qmail-popup command (more precisely the "main" function) 
was started with a garbled command line and environment.
That is, it thinks "INIT VERSION=sysvinit-2.74" is the host
name ...

how do you start it? 

Regards, Uwe




> This is what happens when I telnet port 110.
> #telnet mail.server 110
> trying xxx.xxx.xxx.xxx
> connected to mail server
> Escape character is '^]'
> +ok <573.950693006@INIT VERSION=sysvinit-2.74
> user mike
> +ok
> pass gomike
> -ERR authorization failed
> Connection closed by foreign host
>
> I can't for the life of me figure out what the problem is! I have red all
> the checkpassword doc's and qmail faq's I can fined but see nothing on
this
> problem.

  The most common problem is that the line you're using to start up the
POP3 daemon doesn't have the correct path to the password checking program.
For example, with:

env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0 pop-3
/var/qmail/bin/qmail-popup codon.com /virtuals/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir &

the "/virtuals/bin/vchkpw" is the program used by the daemon to check the
user's password.  Check and  make sure that your startup line points to a
program that actually exists. : )

steve







This morning I got a message from the qmail-list that one of the
messages to me had bounced. Well, my mailer-daemon did deliver a
bounce..
---
Date: 4 Feb 2000 10:44:21 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mail.gammadata.se.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
195.41.46.148 does not like recipient.
Remote host said: 550 Invalid recipient: <[EMAIL PROTECTED]>
Giving up on 195.41.46.148.
---

I checked the logs..
---
Feb  4 11:44:01 gammalinux qmail: 949661041.678271 new msg 539092
Feb  4 11:44:01 gammalinux qmail: 949661041.678902 info msg 539092:
bytes 8458 f
rom <[EMAIL PROTECTED]> qp 32082 uid 21
Feb  4 11:44:01 gammalinux qmail: 949661041.681663 starting delivery
2349: msg 5
39092 to remote [EMAIL PROTECTED]
Feb  4 11:44:04 gammalinux qmail: 949661044.681268 starting delivery
2350: msg 5
39092 to remote [EMAIL PROTECTED]
Feb  4 11:44:05 gammalinux qmail: 949661045.751848 delivery 2349:
failure: 195.4
1.46.148_does_not_like_recipient./Remote_host_said:_550_Invalid_recipient:_<sect

[EMAIL PROTECTED]>/Giving_up_on_195.41.46.148./
Feb  4 11:44:05 gammalinux qmail: 949661045.763374 bounce msg 539092 qp
32085
Feb  4 11:44:05 gammalinux qmail: 949661045.764177 end msg 539092
---

..only one bounce, shouldn't it have been 2?
Let's continue..

---
Feb  4 11:44:05 gammalinux qmail: 949661045.765228 new msg 539093
Feb  4 11:44:05 gammalinux qmail: 949661045.766079 info msg 539093:
bytes 9108 f
rom <> qp 32085 uid 26
Feb  4 11:44:05 gammalinux qmail: 949661045.769127 starting delivery
2351: msg 5
39093 to local [EMAIL PROTECTED]
Feb  4 11:44:05 gammalinux qmail: 949661045.787893 delivery 2351:
success: did_1
+0+0/
Feb  4 11:44:08 gammalinux qmail: 949661048.674722 delivery 2350:
failure: 195.4
1.46.148_does_not_like_recipient./Remote_host_said:_550_Invalid_recipient:_<sect

[EMAIL PROTECTED]>/Giving_up_on_195.41.46.148./
---

Ok, here is the second failure.. but no bounce this far.. remember the
msg no.: 539092

---
Feb  4 11:44:21 gammalinux qmail: 949661061.154927 new msg 539092
Feb  4 11:44:21 gammalinux qmail: 949661061.155801 info msg 539092:
bytes 1737 f
rom <[EMAIL PROTECTED]> qp
32092 uid 21
Feb  4 11:44:21 gammalinux qmail: 949661061.159059 starting delivery
2352: msg 5
39092 to local [EMAIL PROTECTED]
Feb  4 11:44:21 gammalinux qmail: 949661061.179819 new msg 539093
Feb  4 11:44:21 gammalinux qmail: 949661061.180866 info msg 539093:
bytes 1848 f
rom <[EMAIL PROTECTED]> qp
32095 uid 10
44
Feb  4 11:44:21 gammalinux qmail: 949661061.184363 starting delivery
2353: msg 5
39093 to local [EMAIL PROTECTED]
Feb  4 11:44:21 gammalinux qmail: 949661061.186468 delivery 2352:
success: did_0
+1+0/qp_32095/
Feb  4 11:44:21 gammalinux qmail: 949661061.196002 bounce msg 539092 qp
32097
Feb  4 11:44:21 gammalinux qmail: 949661061.196804 end msg 539092
---

Hey, wait a moment. The bounce came _after_ the inode had been assigned
to a new msg?
Uhh, is this normal? Did something fuck up, and in that case, was it
qmail or the MUA?
Could this have happened before, or was it a one-timer?

Has anyone else run into this kind of thing? I am totally boggled.. ;)

Thankful for any help or discussion around the subject.

Henrik.





Henrik =?iso-8859-1?Q?=D6hman?= <[EMAIL PROTECTED]> wrote:

>I checked the logs..

I can't make sense out these with the funky line wrapping, and without 
knowing more about your system (e.g., who are UID's 21 and 1044, and
how is mail to henrik.ohman handled?). Try running "matchup" from
qmailanalog to produce easier-to-read log entries.

>Hey, wait a moment. The bounce came _after_ the inode had been assigned
>to a new msg?
>Uhh, is this normal? Did something fuck up, and in that case, was it
>qmail or the MUA?
>Could this have happened before, or was it a one-timer?

I can't really say, since I can't tell what happened, but I can't see
that anything unusual happened. Other than the symptoms you see in the 
logs, what happened that you don't think should have happened, or
didn't happen that you think should have happened?

-Dave




Okay, I'll clarify a little.

I'm not currently using qmailanalog, so I'll try to do it in words.

[EMAIL PROTECTED] produced a bounce due to:
<[EMAIL PROTECTED]>:
195.41.46.148 does not like recipient.

This bounce was supposed to be sent to [EMAIL PROTECTED] (uid
1014), but was instead sent to
[EMAIL PROTECTED], a message which
was accepted by [EMAIL PROTECTED] (uid 1044) and forwarded to
[EMAIL PROTECTED]

The events, as I interpret them, were as follows (in some sort of
meta-language):

1.) Mail is sent with following instructions
From: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

2.) qmail delivers the messages separate from eachother (delivery 2349 &
2350, msg 539092)

3.) qmail reports a failure for delivery 2349, and sends a bounce (delivery
2351, msg 539093)

4.) qmail reports a failure for delivery 2350 (also msg 539092)

Here is the interesting part..

5.) qmail begins a new msg with id 539092 (there has not yet been a second
bounce for that mail, only a second report of failure,) delivery 2352

6.) qmail carries out delivery 2352 successfully, and begins the forward to
[EMAIL PROTECTED] (delivery 2353)

7.) qmail starts a bounce for msg 539092, although delivery 2352 has been
carried out successfully. It bounces the message delivered by delivery 2350,
but to the wrong adress.
It should have bounced to [EMAIL PROTECTED] but bounced to
[EMAIL PROTECTED]

I've marked out the different events in the attached log-file.

I hope this is clearer, otherwise I guess I'll have to install qmailanalog.

Thanks, Henrik.

Dave Sill wrote:

> Henrik =?iso-8859-1?Q?=D6hman?= <[EMAIL PROTECTED]> wrote:
>
> >I checked the logs..
>
> I can't make sense out these with the funky line wrapping, and without
> knowing more about your system (e.g., who are UID's 21 and 1044, and
> how is mail to henrik.ohman handled?). Try running "matchup" from
> qmailanalog to produce easier-to-read log entries.
>
> >Hey, wait a moment. The bounce came _after_ the inode had been assigned
> >to a new msg?
> >Uhh, is this normal? Did something fuck up, and in that case, was it
> >qmail or the MUA?
> >Could this have happened before, or was it a one-timer?
>
> I can't really say, since I can't tell what happened, but I can't see
> that anything unusual happened. Other than the symptoms you see in the
> logs, what happened that you don't think should have happened, or
> didn't happen that you think should have happened?
>
> -Dave
## 1.)
Feb  4 11:44:01 gammalinux qmail: 949661041.678271 new msg 539092
Feb  4 11:44:01 gammalinux qmail: 949661041.678902 info msg 539092: bytes 8458 f
rom <[EMAIL PROTECTED]> qp 32082 uid 21

## 2.)
Feb  4 11:44:01 gammalinux qmail: 949661041.681663 starting delivery 2349: msg 5
39092 to remote [EMAIL PROTECTED]
Feb  4 11:44:04 gammalinux qmail: 949661044.681268 starting delivery 2350: msg 5
39092 to remote [EMAIL PROTECTED]

## 3.)
Feb  4 11:44:05 gammalinux qmail: 949661045.751848 delivery 2349: failure: 195.4
1.46.148_does_not_like_recipient./Remote_host_said:_550_Invalid_recipient:_
Giving_up_on_195.41.46.148./
Feb  4 11:44:05 gammalinux qmail: 949661045.763374 bounce msg 539092 qp 32085
Feb  4 11:44:05 gammalinux qmail: 949661045.764177 end msg 539092
Feb  4 11:44:05 gammalinux qmail: 949661045.765228 new msg 539093
Feb  4 11:44:05 gammalinux qmail: 949661045.766079 info msg 539093: bytes 9108 f
rom <> qp 32085 uid 26
Feb  4 11:44:05 gammalinux qmail: 949661045.769127 starting delivery 2351: msg 5
39093 to local [EMAIL PROTECTED]
Feb  4 11:44:05 gammalinux qmail: 949661045.787893 delivery 2351: success: did_1
+0+0/

## 4.)
Feb  4 11:44:08 gammalinux qmail: 949661048.674722 delivery 2350: failure: 195.4
1.46.148_does_not_like_recipient./Remote_host_said:_550_Invalid_recipient:_<sect
[EMAIL PROTECTED]>/Giving_up_on_195.41.46.148./

## 5.)
Feb  4 11:44:21 gammalinux qmail: 949661061.154927 new msg 539092
Feb  4 11:44:21 gammalinux qmail: 949661061.155801 info msg 539092: bytes 1737 f
rom <[EMAIL PROTECTED]> qp 32092 uid 21
Feb  4 11:44:21 gammalinux qmail: 949661061.159059 starting delivery 2352: msg 5
39092 to local [EMAIL PROTECTED]

## 6.)
Feb  4 11:44:21 gammalinux qmail: 949661061.179819 new msg 539093
Feb  4 11:44:21 gammalinux qmail: 949661061.180866 info msg 539093: bytes 1848 f
rom <[EMAIL PROTECTED]> qp 32095 uid 10
44
Feb  4 11:44:21 gammalinux qmail: 949661061.184363 starting delivery 2353: msg 5
39093 to local [EMAIL PROTECTED]
Feb  4 11:44:21 gammalinux qmail: 949661061.186468 delivery 2352: success: did_0
+1+0/qp_32095/

## 7.) 
Feb  4 11:44:21 gammalinux qmail: 949661061.196002 bounce msg 539092 qp 32097
Feb  4 11:44:21 gammalinux qmail: 949661061.196804 end msg 539092
Feb  4 11:44:21 gammalinux qmail: 949661061.198004 new msg 539094
Feb  4 11:44:21 gammalinux qmail: 949661061.198872 info msg 539094: bytes 2447 f
rom <> qp 32097 uid 26
Feb  4 11:44:21 gammalinux qmail: 949661061.202550 starting delivery 2354: msg 5
39094 to remote [EMAIL PROTECTED]
Feb  4 11:44:21 gammalinux qmail: 949661061.224028 delivery 2353: success: did_1
+0+0/
Feb  4 11:44:21 gammalinux qmail: 949661061.225800 end msg 539093
Feb  4 11:44:29 gammalinux qmail: 949661069.445899 delivery 2354: success: 131.1
93.178.181_accepted_message./Remote_host_said:_250_ok_949661062_qp_27142/




Henrik =?iso-8859-1?Q?=D6hman?= <[EMAIL PROTECTED]> wrote:

>5.) qmail begins a new msg with id 539092 (there has not yet been a second
>bounce for that mail, only a second report of failure,) delivery 2352
>
>6.) qmail carries out delivery 2352 successfully, and begins the forward to
>[EMAIL PROTECTED] (delivery 2353)
>
>7.) qmail starts a bounce for msg 539092, although delivery 2352 has been
>carried out successfully. It bounces the message delivered by delivery 2350,
>but to the wrong adress.
>It should have bounced to [EMAIL PROTECTED] but bounced to
>[EMAIL PROTECTED]

Obviously, that shouldn't happen. I've never seen reports of other
people having such things happen, and it's never happened to me.
Somebody who knows a whole lot more about qmail internals than I do,
e.g., Dan, would have to look at your log entries and attempt to
figure out what went wrong (or what could have gone wrong).

-Dave






>ok, I read that thread (or most of it anyway)  interesting discussion - but
>this isn't the problem I'm having...
>I can't connect to the remote host at all...  I tried to connecting to the
host
>with telnet and the connection just times-out (I even logged the packets
and
>didn't get any replys from the remote host) and I've pinged the remote host
>with no response..   so the remote host is down...  and I'm not going
through
>any kind of firewall..  as far as I can tell it seems that there's
something
>wrong with my qmail setup..  especially since it's giving the wrong error
>message in the logs...

    That's very odd; the qmail error message "Connected... but connection
died" definitely indicates that qmail thought that a connection was opened.

    However, my limited testing concurs; that host isn't giving a glimmer of
response.

    Just a final check... you are running ping and telnet from the qmail
host, correct?  And there is no firewall in front of your qmail host?  If
the answer to both is "yes," I'm stumped.

    --Greg





Hi,

How do you use qmailanalog to determine the amount of message sent to a
particular domain??

Thanks

Tonino




 I've hacked up a version of getpw to authenticate off an Oracle database,
and, surprise surprise, it doesn't work. From reading docs, qmail-inject
seems to be pretty similar to the old "sendmail -v" I used to use to use
to debug broken sendmail systems. However, the man page is a bit confusing
for someone that just wants to see what happens/what's invoked when a mail
is to be delivered locally. 

 Could someone post an example session ?

Kate





On Tue, 15 Feb 2000 10:12:01 -0500, Angus Robertson wrote:

>Is it possible to have the ezmlm-idx web archive on a seperate server
>from the qmail/ezmlm server?

Yes, and no. The idea with ezmlm-cgi is to access the archive directly
without the [admin and space] overhead of separate storage. Thus,
ezmlm-cgi needs to have access to a list archive. You can have a
separate machine and access the archive over NFS, you can set up a
sublist and access that archive (as I've done for
http://id.wustl.edu/cgi-ez/ezmlm-cgi/1#b), or you can use e.g. MHonarc.

Since ezmlm-cgi does formatting on-the-fly it is ideal for systems that
have many lists with relatively little http access per list. It is easy
to set up for an entire host and can serve lots of lists (at some point
a cdb config file will be supported to make that scale better -
currently you can just set up several ezmlm-cgi with say 100 lists
each). If you have a lot of http access it becomes more advantageous to
translate only once and store the html files, even though ezmlm-cgi is
quite efficient. At the moment, e.g. MHonarc may be better in this
situation.

The next step is to make ezmlm-cgi run directly under tcpserver and use
file time stamps to give modification dates and handle
if-modified-since. Using this, especially combined with e.g. squid will
make it much more efficient (I think faster than serving preformatted
files from Apache [speculation, not profiled ;-)]).

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






(1) If I want to change the qmail-pop3d timeout, is it correct to modify
the line

int timeout = 1200;

in qmail-popup.c and qmail-pop3d.c? If not, how do I go about?

(2) I did just that, changing it from 1200 to 30, but the timeout only
seems to work in the authentication stage, ie. before i'm actually
logged in. Once i'm logged in, i can still be idle for more than 30
secs.

Any idea what's going on? Please help.





Hi,

I'm receiving spam through various open SMTP relays but originating from a
specific network IP and I'd like to block messages originating from that
network IP while allowing e-mail from the various open SMTP relays.  What's
the best way to do that?

I've tried communicating with the open relays, but there are so many of
them, and many are outside the US.  Additionally, I'd like to receive e-mail
from some of the open relay servers.

I've tried to find out who administers the spamming network IP, but reverse
lookups reveal nothing and they don't appear to allow incoming e-mail, so it
looks like the only actions I can take are to ignore the problem or block
the originator.





when I run qmail-qstat, it says there are 2 messages in the queue.
When I rung qmail-qread, it shows no messages.

Do I have a problem? How do I investigate this? I have read the FAQ - is
there a tool / doc for montoring and maintaining queues?

Thanks,

Steve B.





> when I run qmail-qstat, it says there are 2 messages in the queue.
> When I rung qmail-qread, it shows no messages.
>
> Do I have a problem? How do I investigate this? I have read the FAQ - is
> there a tool / doc for montoring and maintaining queues?

http://www.qmail.org , choose a mirror.

"edit" -> "find in page" -> "queue"

The first match is "Michele Beltrame has a tool to view the qmail queue
(with colored display), view messages in it and delete messages. It's very
simple and written in Perl."

Second match is "Eric Huss has released queue-fix 1.4. It repairs or
generates a qmail queue structure. You can use this to help move your queue
location, or if you regenerate the file system and the inode numbering
changes."


steve





On Wed, 16 Feb 2000, Steve Belt wrote:

> when I run qmail-qstat, it says there are 2 messages in the queue.
> When I rung qmail-qread, it shows no messages.
> 
> Do I have a problem? How do I investigate this? I have read the FAQ - is
> there a tool / doc for montoring and maintaining queues?

The long explanation:

qmail-qstat is a shell script that counts the number of files in the
/var/qmail/queue/mess and /var/qmail/queue/todo directories.

The number of files in the mess directories indicate the number of
messages in the queue. The number of files in the todo directory
indicates the number of messages that have not been preprocessed.

qmail-qread examines the files in the /var/qmail/queue/info,
/var/qmail/queue/local and/or /var/qmail/queue/remote directories to
determine where the messages came from and where they are going to.
These files are created by qmail-send, once it has preprocessed the
message (based on the corresponding todo file).

If there are NO files in the info directories, then qmail-qread assumes
there are NO messages to worry about - even if there ARE files in the
/var/qmail/queue/mess directories. If this is the case, then you have a
corrupted queue and you get conflicting results from qmail-qstat and
qmail-qread.

How does this happen? qmail-queue is responsible for placing the
messages in the queue directories. Under certain conditions it can
leave the queue in a corrupt state. One such example is when one of
either the sender or recipient evelope addresses is greater than 1002
characters. If this is the case then qmail-queue will leave the
following files in the queue and exit with a status of 54:

    /var/qmail/queue/intd/227864
    /var/qmail/queue/mess/3/227864

There is NO todo file but there is a mess file. qmail-qstat will show
1 message in the queue but qmail-qread will not show anything.

There may be other conditions under which qmail-queue will corrupt the
queue hierarchy, but I haven't discovered them yet (I'm writing a
qmail-queue wrapper, and the condition I've described above has come
up in my testing).

There are other ways the queue hierarchy may be corrupted, eg system
crashes during qmail-queue's operation etc etc.

Anyway, that explains why you see what you're seeing.

Others have suggested using the qmail-fix tool to fix the queue.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"





Hi All,

        I'm running qmail v1.03, qmailadmin, tcpserver, vpopmail...what I want to
do is have a copy of all mail received at [EMAIL PROTECTED] forwarded to
[EMAIL PROTECTED] (i.e. have one copy deposited in his mail dir at work, and the 
other to his ISP, but when I do this with .qmail-shark and put in
&[EMAIL PROTECTED], it prevents any mail from being received by his account, even
though qmail's logs show it to be delivered...what could I be doing wrong?

-Bill





Bill Parker wrote:
> 
> Hi All,
> 
>         I'm running qmail v1.03, qmailadmin, tcpserver, vpopmail...what I want to
> do is have a copy of all mail received at [EMAIL PROTECTED] forwarded to
> [EMAIL PROTECTED] (i.e. have one copy deposited in his mail dir at work, and the
> other to his ISP, but when I do this with .qmail-shark and put in
> &[EMAIL PROTECTED], it prevents any mail from being received by his account, even
> though qmail's logs show it to be delivered...what could I be doing wrong?
> 
> -Bill

You need two lines in .qmail-shark

One to forward and one to place in the users Maildir

Like:
&[EMAIL PROTECTED]
./Maildir/

Or whatever the path to the maildir is.

Ken Jones
www.inter7.com




Sorry if you are seeing this twice.  I don't think
it made it to the list.

I've done the below w/ a 5XX series error and the exit(1).
Unfortunately I seem to be tossing mailing list emails out,
not just the joker trying to mail to 2000 people at once.

My understanding was that the mailing list software should
be able to deal w/ the bounce given the 5XX error?  Would
they not get one due to the exit(1)?  If so (not getting the
bounce), how should I rig this so they would?

Thanks,
  Mike.

> From: Ricardo Cerqueira [mailto:[EMAIL PROTECTED]]
> OK, here goes maxrcpt for qmail 1.03. I've given it its own
> error code (666 :) ). RFC fanatics, strip it out yourselves ;-)
>
> One note. The default maxrcpt behavior is to deliver it's max
> number of messages, and dropping the others. If you want it
> to reject everything, change
>
> void err_excessrcpt() { out("666 Too many recipients  specified
(#5.5.4)\r\n"); }
> to
> void err_excessrcpt() { out("666 Too many recipients  specified
(#5.5.4)\r\n"); _exit(1); }



__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html




I recently modified procmail and recompiled it to deliver to
/home/user/Mailbox. Then I made a symbolic link between /home/user/Mailbox
and /var/spool/mail/user. Qmail's startup script on my box is identical to
the one in /var/qmail/boot/proc. Mail delivery works and pine.conf was
modified so pine gets the mail correctly  in /home/user/Mailbox.

however, sometimes a very strange thing happens:
If mail is sent to the user on my system, and the user uses pine to read the
mail, and then deletes it, and then later checks their mail from the pop
server using outlook express or equivilent, they get the following email
message:
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Body:
This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values

If the user checks email via their pop, and doesn't use pine on the box, it
works fine, new mail is delivered to their mua and that strange message
isn't delivered. This strange message is only displayed if they have checked
mail via pine on the box itself first.
For a pop3 daemon I am using ipop3d executed via inetd. (its a small user
base)
the inetd line looks like:
pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd  ipop3d

Anyone have any idea why users are getting this message if they check via
pine first? What is this important folder data?

Any help is appreciated.

Eric lalonde






Eric Lalonde <[EMAIL PROTECTED]> writes:

> however, sometimes a very strange thing happens:

> If mail is sent to the user on my system, and the user uses pine to read
> the mail, and then deletes it, and then later checks their mail from the
> pop server using outlook express or equivilent, they get the following
> email message:

> Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
> Body:

> This text is part of the internal format of your mail folder, and is not
> a real message.  It is created automatically by the mail system
> software.  If deleted, important folder data will be lost, and it will
> be re-created with the data reset to initial values

Current versions of Pine create that message and stick it in the folder
automatically.  I believe there's a way to turn it off in the options; it
doesn't store any useful information unless you're using the University of
Washington IMAP server.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>




Eric Lalonde wrote:
>however, sometimes a very strange thing happens:
>If mail is sent to the user on my system, and the user uses pine to read the
>mail, and then deletes it, and then later checks their mail from the pop
>server using outlook express or equivilent, they get the following email
>message:
>Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA

That's a "feature" of Pine - it's a meta-message that lets Pine share some
information with UW's IMAP and POP servers.  It's nothing more than a pain
for most of the world.

In /usr/local/lib/pine.conf (the global equivalent of .pinerc, good for the
entire system), put:

feature-list=quell-folder-internal-msg

Incidentally, this is not really qmail-related at all.

Mark

-- 
Do not reply directly to this e-mail address
-- 
Mark Mentovai
GGN NOC System Administrator





thanks for the insight..made the changes. funny the email doesn't even say
that pine created the message. just the 'mail folder'.

thanks again

eric
----- Original Message -----
From: "Mark Mentovai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 2:46 PM
Subject: Re: strange emails for pop accounts.


> Eric Lalonde wrote:
> >however, sometimes a very strange thing happens:
> >If mail is sent to the user on my system, and the user uses pine to read
the
> >mail, and then deletes it, and then later checks their mail from the pop
> >server using outlook express or equivilent, they get the following email
> >message:
> >Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
>
> That's a "feature" of Pine - it's a meta-message that lets Pine share some
> information with UW's IMAP and POP servers.  It's nothing more than a pain
> for most of the world.
>
> In /usr/local/lib/pine.conf (the global equivalent of .pinerc, good for
the
> entire system), put:
>
> feature-list=quell-folder-internal-msg
>
> Incidentally, this is not really qmail-related at all.
>
> Mark
>
> --
> Do not reply directly to this e-mail address
> --
> Mark Mentovai
> GGN NOC System Administrator
>





 
Hello all,
I manage a university department's mailing lists, as well as their network and PCs.  My predecessor had set up qmail and ezmlm on a FreeBSD machine to allow teachers to have discussion list for their classes.  The machine's host and domain name differ slightly from the department's resolved web name. 
 
I've set up the virtual domain to correctly resolve the lists when subscribing/unsubscribing in /var/qmail/control/, but when a user sends email to the list from outside of ASU's domain ([EMAIL PROTECTED] , etc), the message's "To:" field list address is appended to reflect the machines actual host/domain instead of the virtual domain that was used to send it.  Presuming that this is occurring at my machine, where do I look and how do I correct this?
 
example:  [EMAIL PROTECTED] is used in the "To:" to send an msg from <somewhere>@hotmail.com , but the returned mail from ezmlm says that the address was [EMAIL PROTECTED] .  I need the address ezmlm receives or uses to be hdshc.asu.edu
 
Thank you kindly,
Ben Trussell




Also, my virtualdomains file contains "aquinas.pp.asu.edu:hdshc.asu.edu" (no quotation marks).
thanks again.
 
----- Original Message -----
Sent: Wednesday, February 16, 2000 3:52 PM
Subject: getting mail sent to lists to resolve to correct host/domain

 
Hello all,
I manage a university department's mailing lists, as well as their network and PCs.  My predecessor had set up qmail and ezmlm on a FreeBSD machine to allow teachers to have discussion list for their classes.  The machine's host and domain name differ slightly from the department's resolved web name. 
 
I've set up the virtual domain to correctly resolve the lists when subscribing/unsubscribing in /var/qmail/control/, but when a user sends email to the list from outside of ASU's domain ([EMAIL PROTECTED] , etc), the message's "To:" field list address is appended to reflect the machines actual host/domain instead of the virtual domain that was used to send it.  Presuming that this is occurring at my machine, where do I look and how do I correct this?
 
example:  [EMAIL PROTECTED] is used in the "To:" to send an msg from <somewhere>@hotmail.com , but the returned mail from ezmlm says that the address was [EMAIL PROTECTED] .  I need the address ezmlm receives or uses to be hdshc.asu.edu
 
Thank you kindly,
Ben Trussell




I want to get sqwebadmail but I don't know how to setup the GDBM or DB
database lookup... for sqwebmail can I get some advice please.


Thanks
Roy Kerwood
Network Administrator
Cityxpress.com
604-638-3800
Local 311






On Wed, 16 Feb 2000, Roy Kerwood wrote:

> I want to get sqwebadmail but I don't know how to setup the GDBM or DB
> database lookup... for sqwebmail can I get some advice please.

For starters, there's a separate sqwebmail list.  Additionally, your
question really concerns only your particular operating system, and how
you go about installing and using shared libraries on your platform.

What you need to do is to install either the GDBM or the DB library.  You
can find GDBM somewhere in ftp://ftp.gnu.org, and DB can be found
somewhere on http://www.sleepycat.com.

I personally recommend GDBM, because I'm really getting pretty tired of
Sleepycat always changing their API with each release, and to hell with
backward compatibility.  Download version 2.7 of DB, if that's what you
want.  I haven't tried it, but I'll guarantee that version 3.0 will not
work.

Then, for help in installing and using either library, you should ask in a
mailing list or a newsgroup that's particular to your operating system.


--
Sam






Hi,

I am setting up a server farm here. I plan to be running many domains on the
same machine. This machine will be running many services as well such as
http,ftp, mySQL, etc...    Dns will be on a outside machine.  All I need
qmail for is pop3 and for receiving mail and placing it in correct folders.
I figure all the below is easily possible but I was hoping someone could
point me to a nice web site for setting all this up on a linux box.

Multiple name Based domains  (login as [EMAIL PROTECTED])
Non-system users (have all mail accounts run as 1 user)
No relaying
Autoresponders and forwarders
Quotas on mailboxes
Allow command line mailsending (for perl/cgi scripts)

If at all possible a web based config would be awesome. I am sure this all
seems trivial to most people but I am new to setting up mailservers. Thanks.
Any and all help is appreciated.

Matt





* Matt Mouser ([EMAIL PROTECTED]) [16 Feb 2000 18:17]:

> I am setting up a server farm here. I plan to be running many domains on the
> same machine. This machine will be running many services as well such as
> http,ftp, mySQL, etc...    Dns will be on a outside machine.  All I need
> 
> Multiple name Based domains  (login as [EMAIL PROTECTED])
> Non-system users (have all mail accounts run as 1 user)
> No relaying
> Autoresponders and forwarders
> Quotas on mailboxes
> Allow command line mailsending (for perl/cgi scripts)

I would start by taking a look at:

        Vpopmail        http://www.inter7.com/vpopmail/
or
        Vmailmgr        http://em.ca/~bruceg/vmailmgr/

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




Hi Matt,

On Wed, Feb 16, 2000 at 03:11:03PM -0800, Matt Mouser wrote:
> I am setting up a server farm here. I plan to be running many domains on the
> same machine. This machine will be running many services as well such as
> http,ftp, mySQL, etc...    Dns will be on a outside machine.  All I need
> qmail for is pop3 and for receiving mail and placing it in correct folders.
> I figure all the below is easily possible but I was hoping someone could
> point me to a nice web site for setting all this up on a linux box.
> 
> Multiple name Based domains  (login as [EMAIL PROTECTED])
no problem

> Non-system users (have all mail accounts run as 1 user)
if you want _one_ account for all, look at vpopmail
but
if you want one account per _domain_, use vmailmgr  (the one I use).

> No relaying
of course... :)

> Autoresponders and forwarders
no pb.

> Quotas on mailboxes
think it is in beta stand.

> Allow command line mailsending (for perl/cgi scripts)
there is a sendmail wrapper.

> If at all possible a web based config would be awesome. I am sure this all
look at : http://omail.omnis.ch

Good luck,
Olivier




Matt Mouser wrote:

> Hi,
>
> I am setting up a server farm here. I plan to be running many domains on the
> same machine. This machine will be running many services as well such as
> http,ftp, mySQL, etc...    Dns will be on a outside machine.  All I need
> qmail for is pop3 and for receiving mail and placing it in correct folders.
> I figure all the below is easily possible but I was hoping someone could
> point me to a nice web site for setting all this up on a linux box.
>
> Multiple name Based domains  (login as [EMAIL PROTECTED])
> Non-system users (have all mail accounts run as 1 user)
> No relaying
> Autoresponders and forwarders
> Quotas on mailboxes
> Allow command line mailsending (for perl/cgi scripts)
>
> If at all possible a web based config would be awesome. I am sure this all
> seems trivial to most people but I am new to setting up mailservers. Thanks.
> Any and all help is appreciated.
>
> Matt

Maybe you want to use the LDAP patch :
    http://www.nrg4u.com
It does everything you want, in one patch.







my system: FreeBSD 3.4, qmail, Maildir, daemontools,
tcpserver.

i want to move /var to RAID (software RAID with
FreeBSD's "vinum").  i'd like a sanity check on what i
plan to do:

- bring /var2 online.  /var2 = RAID
- reboot into single user.  don't start qmail & MySQL
since they use /var.
- copy /var to /var2
- edit /etc/fstab to switch /var and /var2
- reboot into multiuser mode

will this result in an intact /var?  is this what
people do when they want a more reliable qmail mail
spool?

---matt


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




On Wed, Feb 16, 2000 at 03:27:14PM -0800, Matt Harrington wrote:
> i want to move /var to RAID (software RAID with
> FreeBSD's "vinum").  i'd like a sanity check on what i
> plan to do:

Not sure what RAID level you're using.  However, unless it's
RAID1+0, you're increasing the first bottleneck which people
generally run into: queue disk IO.
 
> - bring /var2 online.  /var2 = RAID
> - reboot into single user.  don't start qmail & MySQL
> since they use /var.
> - copy /var to /var2
> - edit /etc/fstab to switch /var and /var2
> - reboot into multiuser mode
> 
> will this result in an intact /var?  is this what
> people do when they want a more reliable qmail mail
> spool?

Queue file names are based on inode names, so you're going to
corrupt your queue.  However, there is a queue fixing util on
qmail.org.

One thing you might want to think about is starting a second
qmail instance on a fresh /var2/qmail directory.  Change your
qmail-smtp startup path to /var2/qmail/bin, and restart it.
Make sure you allow relaying from localhost, and smtproute
your first qmail instance to localhost.  Then flush the /var
queue to the new queue.

John




I was wondering if anyone knows any little tricks to defer spammers. I know
of only allowing relaying for certain IPs. But what else is there? Is there
an configuration that will limit the ammount of mail sent by a certain host
during a space of time?

-- 
Erich Zigler                    ----                  System Administrator
 The purpose of woriting is to inflate weak ideas, obscure pure reasoning,
      and inhibit clarity. With a little practice, writing can be an
            intimidating and impenetrable fog! -- Calvin




This line is broken for clarity...

This is not elegant.  Anybody have suggestions to make this better?

Let's say you have some jerk spamming you from "wonderfrog.net" Here's how
to bounce /any/ mail from that domain.

| bouncesaying 'The mailbox does not exist.' /bin/sh -c \
       'exit $(echo "${SENDER}" | grep -ivc "wonderfrog.net")'

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Wed, 16 Feb 2000, Erich Zigler wrote:

:I was wondering if anyone knows any little tricks to defer spammers. I know
:of only allowing relaying for certain IPs. But what else is there? Is there
:an configuration that will limit the ammount of mail sent by a certain host
:during a space of time?
:
:





It seems taht unless there is a symbolic link from /var/spool/mail/user to
/home/user/Mailbox, the user will not be notified, if they are logged into
the box, that they have new mail.
Since I want users to be notified when new mail arrives, is there a way to
streamline the process of creating symbolic links when new users are added
to the box? Make it so whenever a new user is added to the box, a symbolic
link from /var/spool/mail/user is also created?

any ideas are appreciated.

eric lalonde






I apologize in advance for the length of this message--I've been reading this list and
searching the archive and FAQ for some time, so I'm trying to anticipate all of the 
information 
about my problem that one might need to solve it...

I've recently installed qmail-1.03 (no patches) and am trying to test local
deliveries on my host (running FreeBSD-3.4-STABLE). I'm having delivery
failures similar to ones that seem to have come up over and over again
on this list--all seem related to file/dir permissions, but I just can't track this 
down...

Injecting a message into qmail-inject per the instructions in TEST.deliver results
in success for root (the message is queued), but the log complains:

2000-02-16 16:17:21.868117500 delivery 1: deferral: 
Sorry,_message_has_wrong_owner._(#4.3.5)/
2000-02-16 16:17:21.868230500 status: local 0/10 remote 0/20

qmail-qsanity (latest version) output:
fletch# qmail-qsanity
uid incorrect (is 0, want 7779) on mess/21/22584

qmail-lint (latest version) is silent, so I'm assuming my basic config is OK.

1. The log and qmail-qsanity are pointing at the problem--but why isn't the correct 
uid set for 
this message?  Manually chown'ing the message to qmails results in immediate delivery.

2. Injecting a message as a regular user results in:

fletch: 04:23pm ~ $ echo to: gordonm | /var/qmail/bin/qmail-inject
qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)

Why is this?

I have run 'make setup check' from the qmail build directory--no errors were noted.

qmail directory perms:
fletch# ll -a /var/qmail
total 11
drwxr-xr-x  11 root    qmail  -  512 Feb 16 15:31 .
drwxr-xr-x  20 root    wheel  -  512 Feb 15 20:33 ..
drwxr-sr-x   2 alias   qmail  -  512 Feb 15 21:50 alias
drwxr-xr-x   2 root    qmail  - 1024 Feb 15 22:43 bin
drwxr-xr-x   2 root    qmail  -  512 Feb 15 20:34 boot
drwxr-xr-x   2 root    qmail  -  512 Feb 15 20:40 control
drwxr-xr-x   2 root    qmail  - 1024 Feb 15 20:34 doc
drwxr-xr-x  10 root    qmail  -  512 Feb 15 20:34 man
drwxr-x---   3 root    qmail  -  512 Feb 15 22:15 qmail-send
drwxr-x---  11 qmailq  qmail  -  512 Feb 16 15:31 queue
drwxr-xr-x   2 root    qmail  -  512 Feb 15 20:34 users

qmail-queue perms:
fletch# ll /var/qmail/bin/qmail-queue
-rws--x--x  1 qmailq  qmail  - 17776 Feb 16 15:31 /var/qmail/bin/qmail-queue

I've seen this one come up in lots of messages on this list as a problem... mine is:
prw--w--w-  1 qmails  qmail  -    0 Feb 16 15:31 trigger

Plenty of free disk space and inodes on /var:
fletch# df -i /var
Filesystem   1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/da0s1h     148823     5776   131142     4%     656   36782     2%   /var

I'm starting and controlling qmail from /service:

fletch# ll /service/qmail-send
lrwxr-xr-x  1 root  wheel  - 21 Feb 15 22:31 /service/qmail-send -> 
/var/qmail/qmail-send

With a run file in ~qmail-send:
#!/bin/sh
exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
qmail-start ./Maildir/ multilog t /var/log/qmail

Which results in:
fletch# ps -aux | grep qmail
root      5406  0.0  0.1   768  304  ??  I     4:13PM   0:00.00 supervise qmail-send
qmails    5407  0.0  0.0   220  104  ??  I     4:13PM   0:00.01 qmail-send
qmaill    5408  0.0  0.1   780  308  ??  I     4:13PM   0:00.00 multilog t 
/var/log/qmail
root      5409  0.0  0.0   176   60  ??  I     4:13PM   0:00.00 qmail-lspawn ./Maildir/
qmailr    5410  0.0  0.0   176   60  ??  I     4:13PM   0:00.00 qmail-rspawn
qmailq    5411  0.0  0.0   172   60  ??  I     4:13PM   0:00.00 qmail-clean

Stopping/restarting qmail via svc doesn't help, either. What do I need to do to enable 
deliveries 
of local messages fed to qmail-inject?  (THEN I'll work on qmail-smtpd...).

I've had NO trouble with other djb software on my machine (dnscache,
publicfile, daemontools, ucspi-tcp)--this is driving me nuts. Please help!

Regards,
Gordon







Hello,
 Is it possible to block incoming email from a certain domain from getting
to my users??

Thanks for any help!!





On Wed, Feb 16, 2000 at 10:11:50PM -0600, Robert wrote:
> Hello,
>  Is it possible to block incoming email from a certain domain from getting
> to my users??
> 
> Thanks for any help!!
> 

/var/qmail/control/badmailfrom is the file you should look at.

Best regards
 Michael Boman

-- 
W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
Pager : (65) 92 93 29 49         ICQ : 5566009
eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com




Thanks for the help!!  I looked at qmail-smtpd man pages and see how this
works now, but I'm curious about one thing.  Will the blocked sender receive
a notice stating that they are blocked when they try to send an email to my
mail server??  I'd like for them to know I'm doing it if possible.

Thanks



----- Original Message -----
From: "Michael Boman" <[EMAIL PROTECTED]>
To: "Robert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 10:24 PM
Subject: Re: blocking domains


> On Wed, Feb 16, 2000 at 10:11:50PM -0600, Robert wrote:
> > Hello,
> >  Is it possible to block incoming email from a certain domain from
getting
> > to my users??
> >
> > Thanks for any help!!
> >
>
> /var/qmail/control/badmailfrom is the file you should look at.
>
> Best regards
>  Michael Boman
>
> --
> W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
> 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
> Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> Pager : (65) 92 93 29 49         ICQ : 5566009
> eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
>





On Wed, Feb 16, 2000 at 10:34:32PM -0600, Robert wrote:
> Thanks for the help!!  I looked at qmail-smtpd man pages and see how this
> works now, but I'm curious about one thing.  Will the blocked sender receive
> a notice stating that they are blocked when they try to send an email to my
> mail server??  I'd like for them to know I'm doing it if possible.
> 
> Thanks
> 

Yes, and no.. The get a SMTP error message telling the that they are
not allowed to post..

/Mike

> 
> 
> ----- Original Message -----
> From: "Michael Boman" <[EMAIL PROTECTED]>
> To: "Robert" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 16, 2000 10:24 PM
> Subject: Re: blocking domains
> 
> 
> > On Wed, Feb 16, 2000 at 10:11:50PM -0600, Robert wrote:
> > > Hello,
> > >  Is it possible to block incoming email from a certain domain from
> getting
> > > to my users??
> > >
> > > Thanks for any help!!
> > >
> >
> > /var/qmail/control/badmailfrom is the file you should look at.
> >
> > Best regards
> >  Michael Boman
> >
> > --
> > W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
> > 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
> > Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> > Pager : (65) 92 93 29 49         ICQ : 5566009
> > eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
> >
> 

-- 
W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
Pager : (65) 92 93 29 49         ICQ : 5566009
eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com




But will they get a bounce message???  I'm not sure I follow you with the
"not allowed to post."  I'm fairly sure these people use a commercial
hosting service, and I doubt seriously that they are privy to maillogs..

Thanks


----- Original Message -----
From: "Michael Boman" <[EMAIL PROTECTED]>
To: "Robert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 10:45 PM
Subject: Re: blocking domains


> On Wed, Feb 16, 2000 at 10:34:32PM -0600, Robert wrote:
> > Thanks for the help!!  I looked at qmail-smtpd man pages and see how
this
> > works now, but I'm curious about one thing.  Will the blocked sender
receive
> > a notice stating that they are blocked when they try to send an email to
my
> > mail server??  I'd like for them to know I'm doing it if possible.
> >
> > Thanks
> >
>
> Yes, and no.. The get a SMTP error message telling the that they are
> not allowed to post..
>
> /Mike
>
> >
> >
> > ----- Original Message -----
> > From: "Michael Boman" <[EMAIL PROTECTED]>
> > To: "Robert" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 16, 2000 10:24 PM
> > Subject: Re: blocking domains
> >
> >
> > > On Wed, Feb 16, 2000 at 10:11:50PM -0600, Robert wrote:
> > > > Hello,
> > > >  Is it possible to block incoming email from a certain domain from
> > getting
> > > > to my users??
> > > >
> > > > Thanks for any help!!
> > > >
> > >
> > > /var/qmail/control/badmailfrom is the file you should look at.
> > >
> > > Best regards
> > >  Michael Boman
> > >
> > > --
> > > W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
> > > 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
> > > Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> > > Pager : (65) 92 93 29 49         ICQ : 5566009
> > > eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
> > >
> >
>
> --
> W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
> 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
> Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> Pager : (65) 92 93 29 49         ICQ : 5566009
> eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
>





Robert wrote:
>But will they get a bounce message???  I'm not sure I follow you with the
>"not allowed to post."  I'm fairly sure these people use a commercial
>hosting service, and I doubt seriously that they are privy to maillogs..

A failure of a MAIL FROM command issued to an SMTP server will render the
message undeliverable.  It is the responsiblity of the sending SMTP server
to generate a bounce and send it to the sender in instances like this.  If
the SMTP client is not a mail server but instead a mailer (which will
probably not be the case), it will notify the user directly.  Either way,
the user will be notified.

Mark

-- 
Do not reply directly to this e-mail address
-- 
Mark Mentovai
GGN NOC System Administrator





Thank you...  It sounds like it's exactly what I need..  I appreciate all
the input on this.

Thank you


----- Original Message -----
From: "Mark Mentovai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 11:00 PM
Subject: Re: blocking domains


> Robert wrote:
> >But will they get a bounce message???  I'm not sure I follow you with the
> >"not allowed to post."  I'm fairly sure these people use a commercial
> >hosting service, and I doubt seriously that they are privy to maillogs..
>
> A failure of a MAIL FROM command issued to an SMTP server will render the
> message undeliverable.  It is the responsiblity of the sending SMTP server
> to generate a bounce and send it to the sender in instances like this.  If
> the SMTP client is not a mail server but instead a mailer (which will
> probably not be the case), it will notify the user directly.  Either way,
> the user will be notified.
>
> Mark
>
> --
> Do not reply directly to this e-mail address
> --
> Mark Mentovai
> GGN NOC System Administrator
>
>





I am trying to run my program in .qmail.
In my program , it will create a file and chage the mode to 755.
But it doesn't work,the file still be 700.
 
Could someone tell me why?
                                 
 




Dear qmail gurus--

We recently installed qmail to replace sendmail under RedHat 5.1, and now
I'm losing mail.

The symptoms (under Eudora 3.0.1; no other clients tested): POP times out
and leaves the last message downloaded entirely blank (no headers, no
content), then _deletes_ the message, along with those it has successfully
downloaded, from the server.

Is there a setting in qmail which might help? Any other ideas?

Thanks very much for your time and consideration.

CYa,
JEREMY





Hi,

Can anyone tell me what the following error message means?

It from a machine that is quite happily running a number of virtual
domains. The machine name is cliserv.itworks.com.au and that is in
rcpthosts and locals.

There is a ~alias/.qmail-postmaster file and it has a valid forwarding
address in it. Other .qmail-* files in ~alias work fine. One thing I
notice is that when I send a mail to postmaster it calls mail.local but it
doesn't do so when mailing root...

Feb 17 18:14:42 cliserv qmail: 950771682.368596 new msg 53850
Feb 17 18:14:42 cliserv qmail: 950771682.369735 info msg 53850: bytes 252
from <[EMAIL PROTECTED]> qp 8066 uid 0
Feb 17 18:14:42 cliserv qmail: 950771682.402602 starting delivery
10887: msg 53850 to local [EMAIL PROTECTED]
Feb 17 18:14:42 cliserv qmail: 950771682.404386 status: local 1/10 remote
0/20
Feb 17 18:14:42 cliserv mail.local: unknown name: postmaster
Feb 17 18:14:42 cliserv qmail: 950771682.523157 delivery
10887: deferral: mail.local:_unknown_name:_postmaster/
Feb 17 18:14:42 cliserv qmail: 950771682.523792 status: local 0/10 remote
0/20


Help!

Thanks in advance
Gavin




Reply via email to