Omitting certain headers in outgoing mails?

2001-05-09 Thread Wolfgang Zeikat

some MUA's add headers to outgoing mails:

Netscape mail under Linux adds
Sender: real_username@host

Pine adds
X-Sender: real_username@host
which can be customized to
Sender: real_username@host

can i have qmail remove those headers in outgoing mails?

thanks

wolfgang




Re: Omitting certain headers in outgoing mails?

2001-05-10 Thread Wolfgang Zeikat

In the previous episode (10.05.2001), Robin S. Socha <[EMAIL PROTECTED]> said:

> * Wolfgang Zeikat <[EMAIL PROTECTED]> [010510 00:05]:
> > some MUA's add headers to outgoing mails:
> > 
> > Netscape mail under Linux adds
> > Sender: real_username@host
> > 
> > Pine adds
> > X-Sender: real_username@host
> > which can be customized to
> > Sender: real_username@host
> > 
> > can i have qmail remove those headers in outgoing mails?
> 
> Also, it is debatable whether this entry
> should be removed at all.

i dont want to debate that, but simply remove them.

> Judging from your previous posts, your real
> problem appears to be that your network setup is broken.

why do you think so?

wolfgang




Re: tcprules, rcpthost, ip address problem

2000-07-03 Thread wolfgang zeikat

On Mon, Jul 03, 2000 at 01:10:05PM -0700, Barry Dwyer wrote:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 192.168.0.:allow,RELAYCLIENT=""
> :allow

did you run
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
after creating that /etc/tcp.smtp file?

--

wolfgang


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



Re: qmail returns failure notices when local2remote

2000-07-04 Thread wolfgang zeikat

in the file rcpthosts you need to list all the hosts/domains,
that you want to get mail FOR, not FROM.

that means the hosts that your qmail server is "responsible" for. so it
accepts mails from anyone for those domains and tries to deliver them
directly to the users, virtualusers or recipients listed in aliases ...

mail to hosts that are NOT listed in rcpthosts is considered "relaying"
which is only allowed for relayclients (tcp.smtp).

i administer the qmail MX for infoseek.de and webseek.de,
so our rcpthosts file contains (among others)
webseek.de
infoseek.de
mail.webseek.de

so your rcpthosts file should at least contain:
tux.dyn.priv.at

i hope this helps
(and i could explain it well enuf to make sense for you)

wolfgang


Also sprach Karl Voit <[EMAIL PROTECTED]> on 04.07.2000:

>But now, a remote mail cannot be delivered to my local server :(

>I sent a mail from my gmx-account ([EMAIL PROTECTED]) to my local account
>([EMAIL PROTECTED]) and this is, what I got back on my gmx-account:
>The error-msg indicates to me that I have to enter all hosts (from where I
>wish to get mails from) in my rcpthosts!?!?


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



Re: qmail returns failure notices when local2remote

2000-07-04 Thread wolfgang zeikat

Also sprach Karl Voit <[EMAIL PROTECTED]> on 04.07.2000:

>Ow. This is getting complicated now :(

No its not. its logical:

[EMAIL PROTECTED] connects to your qmail via SMTP
with a mail for [EMAIL PROTECTED]

now qmail checks rcpthosts to find out if whatever.com is a host it
accepts mail for - for delivery. if yes, it delivers them according to
your qmail setup.

if not, it checks if the sender's IP address is a relayclient -

if it is a relayclient, qmail forwards the mail to the Mail eXchanger for
whatever.com

if not, it sends the error "not in my rcpthosts".

thats very basically what your SMTP server does,
and you better understand it to understand whats going on.

greetings
wolfgang


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



Re: spam and well known smtp servers

2000-07-05 Thread wolfgang zeikat

this is a bit off topic,
but i consider it useful anyway ...

http://spamcop.net offers handy online forms
that process spam mails (do whois / dns lookups) and prepare a
ready-to-send
complaint emails with choices which ISP/Mail Server to send them to ... i
use it a lot with spam arriving in our domain.

to use the service you need to sign up once at
http://spamcop.net/anonsignup.shtml

regards
wolfgang


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



Re: Courier-IMAP

2000-07-08 Thread wolfgang zeikat

There is a courier-imap mailing list ...

Subscribe to the courier-users mailing list from
http://lists.sourceforge.net/mailman/listinfo/courier-users,
or send a message to <[EMAIL PROTECTED]> and put
"subscribe" in the subject line. 

This mailing list does not accept mail from non-subscribers. You must
subscribe to the list before sending any messages.

wolfgang


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



Re: Help! Qmail tells me "domain not found in rcphosts"

2000-07-13 Thread wolfgang zeikat

Jochen E. Führing writes:
> But in fact, the domain where the mail is coming
> from IS in rcphosts!

 [EMAIL PROTECTED] connects to your qmail via SMTP
 with a mail for [EMAIL PROTECTED]

 now qmail checks rcpthosts to find out if whatever.com is a host it
 accepts mail for - for delivery. if yes, it delivers them according to
 your qmail setup.

 if not, it checks if the sender's IP address is a relayclient -

 if it is a relayclient, qmail forwards the mail to the Mail eXchanger for
 whatever.com

 if not, it sends the error "not in my rcpthosts".

 if whatever.com is your domain, you need to include it's IP numbers in
your /etc/tcp.smtp as RELAYCLIENT - an example could be:

127.0.0.1:allow,RELAYCLIENT=""
192.168.0.:allow,RELAYCLIENT=""
:allow

that would have to be adjusted to your IP numbers of course ...

wolfgang




Re: Autorespond & Forward Problem

2000-07-14 Thread wolfgang zeikat

in /etc/aliases i added
autortest: alias-autor

then i created the file
/var/qmail/alias/.qmail-autor

it contains:

|/var/qmail/alias/autorespond 1 100 /var/tmp/autor.txt
/var/tmp/autorespond/no-mailbox

(that is one line, no matter how your email client wrapped it here)
not sure if you really need that "100" there, but if tons of list users
try this now ...

/var/tmp/autor.txt contains this:

From: Mail Service Problem <[EMAIL PROTECTED]>
Subject: Recipient no longer exists (Auto-reply)


The recipient of your message below does no longer receive mail here.

--- Original Message ---



works fine if you email [EMAIL PROTECTED]

(try it soon cause i will remove that before it gets popular :)
this uses Eric Huss' autorespond by the way (thanks for that one, Eric)

hope this helps
wolfgang


  Also sprach Hubbard, David <[EMAIL PROTECTED]> on 14.07.2000:
  Is there a way to avoid this or a better way to
  accomplish what I'm trying to do?
  
  Thanks in advance,
  
  Dave
  
  




Re: Announcing qmail-autoresponder version 0.91

2000-07-20 Thread wolfgang zeikat

i installed version 0.92.
it sends the reply and ignores the message when repeated immediately,
but it does not quote the original message.

can it do that?
and if so, can it shorten the original message to lets say 100 K or
something?

thanks,
wolfgang


  Also sprach Bruce Guenter <[EMAIL PROTECTED]> on 19.07.2000:
  Version 0.91 of qmail-autoresponder is now available at:
http://em.ca/~bruceg/qmail-autoresponder/
  




Re: qmail: cannot mail to root

2000-07-22 Thread wolfgang zeikat

Also sprach [EMAIL PROTECTED] <[EMAIL PROTECTED]> on 23.07.2000:
from the qmail-1.0.3/INSTALL file:
 5. Read INSTALL.alias. Minimal survival command:
   # (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon
qmail-root)
   # chmod 644 ~alias/.qmail*

from qmail-1.0.3/INSTALL.alias:
* root. Under qmail, root never receives mail. Your system may generate
mail messages to root every night; if you don't have an alias for root,
those messages will bounce. (They'll end up double-bouncing to the
postmaster.) Set up an alias for root in ~alias/.qmail-root. .qmail
files are similar to .forward files, but beware that they are strictly
line-oriented---see dot-qmail.0 for details.

# end of quotes
so you should set up an alias root either as ~alias/.qmail-root
or in /etc/aliases if you use that.

and that alias should redirect mails for root to one or more persons in
charge ...

wolfgang




Re: r all these possible with qmail

2000-07-23 Thread wolfgang zeikat

see http://cr.yp.to/qmail/faq.html
and Life with qmail at http://Web.InfoAve.Net/~dsill/lwq.html
for answers to at least some of your questions.




user accounts and groups for the qmail binaries and such

2000-07-28 Thread wolfgang zeikat

i am about to install qmail in a fresh linux installation ...

while looking at the qmail installation i currently have i noticed that
all the qmail* users have /bin/bash as their login shell, same with the
user alias ...

is that necessary for the programm to work properly?
i rather tend to have */passwd or /bin/true as login shells for users and
am wondering if i could install the new qmail without that /bin/bash there

greetings
wolfgang




qmail ident lookups

2000-07-31 Thread wolfgang zeikat

qmail seems to be doing ident lookups with each email a local user sends
via SMTP.

since the ident port has been disabled in our firewall,
these lookups slow sending mail down on the users' client side.

is there a way to run qmail without those lookups?

wolfgang



Re: Announcing qmail-autoresponder version 0.93

2000-08-05 Thread wolfgang zeikat

i use qmail-autoresponder in .qmail-default to send a message back to
senders who send to invalid users on our server.
now i would like to know a few things:
- is it possible to include only like the first 50 KB of the original
message? so that for example bigger attachments would simply get truncated
to that size?

- is it possible to exclude local users from the message limit of 1 per
hour?

wolfgang




Re: Announcing qmail-autoresponder version 0.93

2000-08-05 Thread wolfgang zeikat

  Also sprach Olivier M. <[EMAIL PROTECTED]> on 05.08.2000:
  Isn't the subject (%S) enough ?

the subject sure is good to have in the response,
but i think of people who spend some time typing their mail,
mistype the address, send without keeping a copy ...
and have to retype it all in order to resend (remember? :)

the included copy would allow them to just copy/paste from the autoreply
..

and since qmail-autoresponder has the -c option to include a copy of the
original message that size restriction came to my mind ... so you wouldnt
send them their entire holiday.jpg or whatever back but just the original
text message which (i think) hardly ever is bigger than 50 K.

wolfgang




Re: Announcing qmail-autoresponder version 0.93

2000-08-05 Thread wolfgang zeikat

  Also sprach David Dyer-Bennet <[EMAIL PROTECTED]> on 05.08.2000:
  So if you want to do your own bounce with your own
  message, *please* take the trouble to do it in a common enough
  bounce format that most tools that handle bounces will be able to
figure it
  out. 

what would be such a format?
"Returned Mail: User unknown" in the subject? or a MAILER-DAEMON
Return-Path? 
i hadnt thought about bounce handling tools yet, but rather about our
mostly german users here who tend to ignore automated bounces as "some
english error message i dont understand or dont care to understand" anyway.
  
  I may even have lost the original files that were attached
  by the time I see the bounce.

i see that point
  
  Furthermore, I may not realize that
  you've truncated the body, if it goes past the first few screens
  intact. 
good point, this could be indicated in the bounce tho.
  
  I do see not wanting to bounce 10 meg files; but how often does it
  happen, really?  

not very often. i had it happen with 90 meg tho, so i got careful here.

wolfgang




Re: Announcing qmail-autoresponder version 0.93

2000-08-05 Thread wolfgang zeikat

well, i have decided to truncate the bounced message,
and i simply added
|head -c 50k >> /var/tmp/no-mailbox.txt
to that .qmail-default, where /var/tmp/no-mailbox.txt is a temporary file
that qmail-autoresponder finally uses for the message to the sender.

wolfgang




Re: Announcing qmail-autoresponder version 0.93

2000-08-07 Thread wolfgang zeikat

  Also sprach Bruce Guenter <[EMAIL PROTECTED]> on 07.08.2000:

  > - is it possible to include only like the first 50 KB of the
  original
  > message?
  I'll add that feature.
great (i achieved by using the head command)
  > - is it possible to exclude local users from the message limit of
  1 per
  > hour?

  Exclude them meaning they wouldn't get any responses, or they would
  not
  be rate limited?  What would this accomplish?

a new co-worker mistyped 5 local email addresses in an hour ... with a
limit of 1 per hour he wouldnt have gotten a message back.

wolfgang




Re: Announcing qmail-autoresponder version 0.93

2000-08-07 Thread wolfgang zeikat

Also sprach Olivier M. <[EMAIL PROTECTED]> on 07.08.2000:
>i achieved by using the head command)  

>and what about attachments ? head could cut one in the middle...
it does cut them off, thus my autoreply says:

--- Below this line is a copy of the message.
(Note that this copy has been truncated to 50 KB.)

by the way, please dont send me private copies of your mails to this list
;)
thanks

wolfgang




Re: filters

2000-08-09 Thread wolfgang zeikat

can't you filter on
To: [EMAIL PROTECTED]
?

wolfgang

Also sprach Chris, the Young One <[EMAIL PROTECTED]> on 09.08.2000:

Filter on Delivered-To, or Mailing-List. If hotmail can't do that, use
another email service.




deleting messages from the queue

2000-08-14 Thread wolfgang zeikat

i have a few messages sitting in the qmail queue that will never get
delivered - for example because the recipients' addies are on
fully-unqualified hosts.

can i just delete those messages to save qmail the retries and to save me
the final "sorry wasn't able to deliver" mail to postmaster@ ? or do i
have to follow some special steps to do so?

wolfgang




Re: How is this damn spam getting through.

2000-08-18 Thread wolfgang zeikat

the correct syntax would be:
@indianatimes.com

no wildcard *

wolfgang

Also sprach Duane L. <[EMAIL PROTECTED]> on 18.08.2000:


I have '*@indiatimes.com' in badmailfrom




Cc: recipient list not shown: ;

2000-08-25 Thread Wolfgang Zeikat

when i use the line:

qmail-inject -f [EMAIL PROTECTED] [EMAIL PROTECTED] <
~wzeikat/spamchecker1

the mail that is sent contains a line
Cc: recipient list not shown: ;

why is that?
and, more important: how do i avoid it?

wolfgang







Re: from field in envelop

2000-08-25 Thread wolfgang zeikat

a possible workaround:

if you use the elm program (that can also be used in scripts with options
and such),
the headers for the outgoing mail can be specified in

~/.elm/elmheaders

wolfgang


Also sprach Darrell Wright <[EMAIL PROTECTED]> on 25.08.2000:

Hello, I was just curious.  I've browsed through most documentation for
qmail, but cannot seem to find a reference to this.  When local mail (via
mailx) is sent from a host using qmail, it does not add the users name.
i.e. [EMAIL PROTECTED] -> "John Smith" <[EMAIL PROTECTED]>.

My question is, is there a patch or a control file to allow this.

Thanks
Darrell Wright




Re: IMAP with Qmail

2000-08-25 Thread wolfgang zeikat

i am content with courier-imap together with qmail.

for more details see
http://www.inter7.com/courierimap/

wolfgang




Re: Cc: recipient list not shown: ;

2000-08-26 Thread wolfgang zeikat

using the -a / -h options appropriately fixes the problem (in case someone
is interested).


  Also sprach Wolfgang Zeikat <[EMAIL PROTECTED]> on 25.08.2000:
  
  when i use the line:
  
  qmail-inject -f [EMAIL PROTECTED] [EMAIL PROTECTED] <
  ~wzeikat/spamchecker1
  
  the mail that is sent contains a line
  Cc: recipient list not shown: ;
  
  why is that?
  and, more important: how do i avoid it?
  
  wolfgang
  




Re: maildir with imap and more than 1Gb mailbox

2000-08-26 Thread wolfgang zeikat

once you have the IMAP account added to the outlook setup,
you should be able to drag/drop folders/messages from one account into the
other.
(might be the right time to clean a few out)

you dont have to do them all at once do you.
once the messages are stored on the imap server:

if you dont use offline mode in outlook, only the message headers are
transferred over the network when checking mail ...

my 2 cents
wolfgang




Re: Open relay test.

2000-09-03 Thread wolfgang zeikat

i tested your tester, thanks :)

(*erm*, wouldnt it be easier if you could copy/paste from the results page
without having to open the page source and seeing those *tons* of
color/font tags? :)

however, your test claims i am running an open relay due to these results:
   MAIL FROM:([EMAIL PROTECTED]@62.96.181.213)
   250 ok
   RCPT TO:("nobody%prodigysolutions.com")
   250 ok
   250 flushed
and
   MAIL FROM:([EMAIL PROTECTED]@62.96.181.213)
   250 ok
   RCPT TO:("prodigysolutions.com!nobody")
   250 ok
   250 flushed


i tried both procedures from a shell that is not in my relayclients,
and qmail accepted the mails but then tried to deliver them to
[EMAIL PROTECTED] and domain.ext!user
which are non-existing users, so the mails ended up in the
~/alias/.qmail-default handling. so they were not forwarded to any
external address (at least). so i wonder if your tester's final judgement:
"You are running a Open Relay" is fully correct.

so i wonder:
1. are those two "leaks" in the antirelay settings really a problem? and
2. how could i fix them.

cheers
wolfgang


  Also sprach Sean C Truman <[EMAIL PROTECTED]> on
  03.09.2000:
  
  Hey all,
  
  I have put together a small OPEN relay tester. It runs the same
  test
  ORBS runs.
  
  http://www.prodigysolutions.com/relay_test.html
  
  




Re: Open relay test.

2000-09-03 Thread wolfgang zeikat

oops sorry,
that was rather a temporary netscape problem that didnt let me copy/paste.

  Also sprach wolfgang zeikat <[EMAIL PROTECTED]> on 03.09.2000:
  
  (*erm*, wouldnt it be easier if you could copy/paste from the
  results page
  without having to open the page source and seeing those *tons* of
  color/font tags? :)
  




Re: Open relay test.

2000-09-03 Thread wolfgang zeikat

  Also sprach Sean C Truman <[EMAIL PROTECTED]> on
  03.09.2000:
  But if ORBS runs the test
  and it fails then you are added to the ORBS database..

i doubt that.
my server has repeatedly been tested by ORBS and is considered clean.

wolfgang



  
  




Re: Open relay test.

2000-09-03 Thread wolfgang zeikat

*duh* - telnetting into the world from our mail server is prohibited by
the firewall hehe.
mail-abuse.org accepts mail from me via that server tho (relay reports).

wolfgang



  Also sprach Sean C Truman <[EMAIL PROTECTED]> on
  03.09.2000:
  From your mail server just telnet to mail-abuse.org and you
  will see what I am explaining.
  
  




Re: Shouldn't rcpthosts be empty to ward off spam?

2000-09-05 Thread wolfgang zeikat

Also sprach David Dyer-Bennet <[EMAIL PROTECTED]> on 04.09.2000:

>If a spammer sent that message with an envelope recipient of
>[EMAIL PROTECTED], it would be accepted because newmediaone.net is in
>rcpthosts.  

does that mean: the message is accepted *and* the mails to the Cc: header
recipients (which are not in rcpthosts) are *also* delivered? that was the
original question.

>If the spammer sent a second envelope recipient of [EMAIL PROTECTED],
>and aol.com is NOT in your rcpthosts, he'd get an error on that
>recipient (unless RELAYCLIENT had been set through tcpserver when this
>connection was accepted).

does a Cc: header create a second envenlope recipient? (so far i thought
it doesnt)

wolfgang




Re: Shouldn't rcpthosts be empty to ward off spam?

2000-09-05 Thread wolfgang zeikat

Also sprach David Dyer-Bennet <[EMAIL PROTECTED]> on 04.09.2000:

>If a spammer sent that message with an envelope recipient of
>[EMAIL PROTECTED], it would be accepted because newmediaone.net is in
>rcpthosts.  

does that mean: the message is accepted *and* the mails to the Cc: header
recipients (which are not in rcpthosts) are *also* delivered? that was the
original question.

>If the spammer sent a second envelope recipient of [EMAIL PROTECTED],
>and aol.com is NOT in your rcpthosts, he'd get an error on that
>recipient (unless RELAYCLIENT had been set through tcpserver when this
>connection was accepted).

does a Cc: header create a second envenlope recipient? (so far i thought
it doesnt)

wolfgang




RE: Blocking Spam, badmailfrom not working

2000-07-30 Thread wolfgang zeikat

to contact spammers' mail server administrators i have found it very
useful to have signed up with
http://spamcop.net
via http://spamcop.net/anonsignup.shtml

they provide a form to paste the spam mail into and have all the necessary
DNS/whois lookups done

wolfgang




IP numbers in rcpthosts / locals ?

2000-09-07 Thread wolfgang zeikat

our qmail server has a local IP number in our LAN and a DNS entry for
another IP number. our firewall passes smtp connections for the official
IP to the local IP, works alright, except for the problem that mails to

user@[officialIP] first didnt get accepted:
   - Transcript of session follows -
... while talking to [62.96.181.213]:
>>> RCPT To:
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
550 ... User unknown



after adding [62.96.181.213] in both ~/control/rcpthosts and
~/control/locals they dont bounce anymore, but dont get delivered either.

how would i need to enter that IP and where?

cheers
wolfgang




Re: Does Qmail support MUA on Win9x?

2000-09-10 Thread wolfgang zeikat

actually, SMTP, POP3 and IMAP servers do *not* care which operating system
you are running, as long as your clients use protocol compliant commands.

or in other words: yes, you can use qmail as your SMTP / POP3 server (and
as an IMAP server too, with addons)

(you can *not* install qmail on windoze, if that is what you are asking,
but you dont install apache either in order to visit webpages on
unix/linux servers ...)

wolfgang
 


Also sprach [EMAIL PROTECTED] <[EMAIL PROTECTED]> on 11.09.2000:


It seems that Qmail supports only Unix's MUA.I'm using win9x on my client
PC,does it mean I can't use Qmail as my SMTP/POP3/IMAP server?
Thank you!




Re: rcpthosts

2000-09-13 Thread wolfgang zeikat

rcpthosts only lists the domains that your server accepts mail for (to
deliver it to the user for example) ... to reach other domains, you use
relaying.

for more info see:
http://www.palomine.net/qmail/relaying.html
http://cr.yp.to/qmail/faq/servers.html#authorized-relay
http://Web.InfoAve.Net/~dsill/lwq.html#relaying

cheers
wolfgang

Also sprach Stano Pa9ka <[EMAIL PROTECTED]> on 13.09.2000:

I receive this error message (from Outlook Express):

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
'spoj-von', Account: 'paska@spoj', Server: 'linuxsps.spoj.army.sk',
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

I want send mail everywhere.
I have listed some domains in rcpthosts.
But it is stupid add in rcpthosts ALL domains in world... (.com, .edu,
.org, .net, .sk, )
What I must type in rcpthosts (some widcards)?


Stano.




Re: Strange Problem

2000-09-15 Thread wolfgang zeikat

Also sprach Gadoury <[EMAIL PROTECTED]> on 14.09.2000:

>tcpserver: pid 32442 from 64.83.0.22

this one is *not* allowed by your /etc/tcp.smtp, so you deny (:deny)

>tcpserver: deny 32442 www.graycastle.com:210.228.3.165:25
>mail02.cavtel.net:64.83.0.22::2377
>tcpserver: end 32442 status 25600
>

>tcpserver: pid 32444 from 64.83.19.66

this one is allowed by your /etc/tcp.smtp plus you relay for it

>tcpserver: ok 32444 www.graycastle.com:210.228.3.165:25
>64.83.19.66.dsl66-static-ric.cavtel.net:64.83.19.66::49533
>
>this is my /etc/tcp.smtp file:
>
>:deny
>127.:allow,RELAYCLIENT=""
>192.168.1.2:allow,RELAYCLIENT=""
>166.38.41.:allow,RELAYCLIENT=""
>64.83.19.:allow,RELAYCLIENT=""
>
in my view,
you need
:allow

:allow means you allow any IP to send mail for your rcpthosts to you
1.2.3.4:allow,RELAYCLIENT="" means the same plus you relay mail from
1.2.3.4 that is directed to other domains too.

wolfgang




Re: Trouble starting qmail on boot

2000-09-17 Thread wolfgang zeikat

the K* symlinks kill the processes on shutdown,
for startup you need the S* symlinks in /etc/rc.d/rc*.d, e.g. S95svscan

wolfgang

Also sprach Gadoury <[EMAIL PROTECTED]> on 17.09.2000:

lrwxrwxrwx   1 root root   16 Sep 14 08:17 K30svscan ->
../init.d/svscan




Re: No Mail For Root

2000-09-19 Thread wolfgang zeikat

in the file INSTALL.alias in qmail-1.03.tar.gz it says:
* root. Under qmail, root never receives mail. Your system may generate
mail messages to root every night; if you don't have an alias for root,
those messages will bounce. (They'll end up double-bouncing to the
postmaster.) Set up an alias for root in ~alias/.qmail-root. .qmail
files are similar to .forward files, but beware that they are strictly
line-oriented---see dot-qmail.0 for details.

(and in the file INSTALL it says: read INSTALL.alias *evil grin*)

cheers
wolfgang




Re: Are we acting as an open relay?

2000-09-19 Thread wolfgang zeikat

i telnetted into port 25 (not sure if this is the machine you wrote about
tho) and got this:
220 info.load-otea.hrdc-drhc.gc.ca ESMTP
mail from: <[EMAIL PROTECTED]>  
250 ok
rcpt to: <[EMAIL PROTECTED]>
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)


if you telnet from a machine that is in your relayclients, you wont get
the 553, could that explain it?

if someone sent mail(s) to non-existent_users@your_machine with a
non-existing envelope sender adress (as spammers often do), the mail
failure notes could not be delivered and would bounce ...

wolfgang


Also sprach Jen Franklin <[EMAIL PROTECTED]> on
19.09.2000:

Our rcpthosts file only lists our domains.
When I telneted into port 25 however and tried to mail from: a remote
address and rcpt to: a remote address I recevied a 250 ok.




Re: QMAILQUEUE patch

2000-09-19 Thread wolfgang zeikat

how would you apply more than one patch then?

wolfgang

Also sprach Jason Haar <[EMAIL PROTECTED]> on 20.09.2000:

Yes this is why it failed. As is usually the case, patches are against
UNTOUCHED sources.




Re: qmail syntax problem

2000-09-20 Thread wolfgang zeikat

qmail announces itself to other SMTP servers with "HELO ..." and then it
adds either with what is in your file
/var/qmail/control/me
or (if it exists) the file /var/qmail/control/helohost

so make sure you have a hostname with a valid DNS entry in
/var/qmail/control/me

or at least in /var/qmail/control/helohost

wolfgang




Also sprach Jens Georg <[EMAIL PROTECTED]> on 20.09.2000:

hi,

while trying to send mails to aol, qmail always reports the following:

Remote host said: 501 syntactically invalid HELO argument(s)
Remote host said: 501 HELO requires domain address

i haven't found anything about this in the docs. somebody here who can
explain to me what's going on there ?




Re: Users don't recieve mail...

2000-09-20 Thread wolfgang zeikat

from my sendmail days i remember creating aliases in /etc/aliases like
UserName:username

but here the problem seems to be the other way around,
is there a way to fix it?
(phew, luckily we only have lower case usernames here :)

wolfgang


Also sprach Dave Sill <[EMAIL PROTECTED]> on 20.09.2000:

>Another thing, my main user account
>has 2 uppercase letters, so I tried using the -u option, but nothing
again.

qmail doesn't deliver to accounts with uppercase letters.[3]




spam processing

2000-09-21 Thread wolfgang zeikat

sadly, one of our domains seems to have gotten onto one or more of those
"Buy * Million first class spam recipients' email addresses NOW" lists/CDs.

so we keep receiving mails from all over this lovely planet for the non
existent users
michellep tonyak jenniferd barbik melindaa gabriellej barbis doloresz
melindab junem
(exciting isn't it)

i would like to process them automatically via a .qmail* file, and one
thing i would like to extract automatically is the IP of the SMTP relay
that sent the mail to our server. example:

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 28677 invoked by alias); 21 Sep 2000 01:26:51 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 28673 invoked from network); 21 Sep 2000 01:26:51 -
Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65)
  by 192.168.27.19 with SMTP; 21 Sep 2000 01:26:51 -
Received: from cs28100-41.houston.RR.COM by srvweb.IMPI-GIPSI.FR with SMTP
(Microsoft Exchange Internet Mail Service Version 5.0.1457.7)
id S52XFY3D; Thu, 21 Sep 2000 00:07:33 +0200
DATE: 20 Sep 00 5:08:51 PM
FROM: [EMAIL PROTECTED]
Message-ID: 
SUBJECT: get shopping discounts, improve your quality of life

so i would like to extract 194.206.111.65 from the line 
Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65)

i am rather new at parsing ... and PERL? is that something you wear around
your neck?

sorry if you consider this off topic, it certainly is part of my life with
qmail *g*

cheers
wolfgang




Re: Maildir Mailbox Format!

2000-09-21 Thread wolfgang zeikat

the email clients Netscape Messenger and Outlook Express dont need to
recognize the maildir format, cause they dont have anything to do with it.

to fetch mail, these clients contact a POP3 server program or an IMAP
server program on your incoming mail server, and those programs "present"
them the mail in a format they understand.

to send mail, these clients contact the SMTP server program on your
outgoing mail server, and that has nothing to do with Maildir / Mailbox.

both netscape and outlook express can cooperate with a qmail mail server
that uses Maildir format.

wolfgang


Also sprach Mark Lo <[EMAIL PROTECTED]> on 21.09.2000:
Can netscape messanger and outlook express automatically recongize the
maildir mailbox format.??




Re: ISP mail server.

2000-09-21 Thread wolfgang zeikat

Also sprach Mark Lo <[EMAIL PROTECTED]> on 22.09.2000:

>   Does ISP mail server need to install mail virus scanner ??  I
>personally don't think so, it is the job left to home or corporate users,
>am I right ?? Suggestion is welcome.
>
i would think an ISP mail server doesn't have to run a run a virus scanner,
it sure would be a nice additional service tho,
and it might keep the mail server out of problems that may occur when
certain self-mailing virii cause heavy mail traffic by sending themselves
repeatedly ...

just my 2 cents

wolfgang




Re: Two MX records. Migrating from IMail on NT to QMail

2000-09-22 Thread wolfgang zeikat

Also sprach Deon Bredenhann <[EMAIL PROTECTED]> on 22.09.2000:

>OR
>
>Should I give QMail the higher priority and tell it to forward the
>accounts
>that does not exist to the other mail server.
>

to me, that sounds like the solution.

wolfgang




Re: Help me please

2000-09-22 Thread wolfgang zeikat

Also sprach Gustavo Schroeder <[EMAIL PROTECTED]> on 22.09.2000:

>when the user request to receive his messages (pop3 requisition)
>the qmail returns the following message:
>
>
just to make sure you have not missed something in your setup:
does the user have a directory called Maildir/ in their home directory?

if you have set qmail up to use Maildir/ each mail user will need that
~/Maildir/ where qmail would deliver the mails and where qmail-pop3d would
look for them.

for more info type
man maildir




Re: Help me please

2000-09-22 Thread wolfgang zeikat

Also sprach Gustavo Schroeder <[EMAIL PROTECTED]> on 22.09.2000:
>
>i've used the following command:
># maildirmake $HOME/Maildir
># echo ./Maildir/ >~/.qmail

does the # at the beginning of the line mean you did that as root?

if root types: $HOME
the variable $HOME is expanded to root's home directory which is /root/
so you most likely have created the maildir /root/Maildir
this is useless because root doesnt receive mail in qmail.

if you (as root) want to create a Maildir for a user called username
you have to type
# maildirmake ~username/Maildir
and then
# chown username ~username/Maildir

these are basic unix/linux file and user management commands ... and you
should know them and be able to use them.

make sure to read the qmail FAQ and the INSTALL file carefully.

and please keep the discussion on the list so that others can also follow
it and contribute.

wolfgang




Re: Unsubscribe Info

2000-09-22 Thread wolfgang zeikat

Also sprach Anand Saokar <[EMAIL PROTECTED]> on 22.09.2000:

>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
in each mail from this list, in the header you find the email address:
[EMAIL PROTECTED]

it will tell you that you just need to email
[EMAIL PROTECTED]

make sure to use your subscription adress as your sender adress when doing
so


>Hi,
>
>How do I UnSubscribe from this list ?...
>
>n'x,
>Anand




strange problem with t-online

2000-09-28 Thread wolfgang zeikat

in the course of some mailing list activity i keep getting this error:

Sep 29 02:53:41 luzifer qmail: 970188821.500534 starting delivery 142187:
msg 582933 to local [EMAIL PROTECTED]
Sep 29 02:53:41 luzifer qmail: 970188821.500693 status: local 1/10 remote
1/20
Sep 29 02:53:41 luzifer qmail: 970188821.542630 delivery 142187: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)

adding a user t didnt help,
neither did various attempts with ~/alias/.qmail* files or aliases in
/etc/aliases

how could i direct those mails to some other account / alias?

wolfgang




Return-Path header set by qmail?

2000-06-26 Thread wolfgang zeikat


our redhat linux machine mira's sendmail is using our redhat linux qmail
server luzifer as smarthost

when users on that mira send mails, the mails contain a return-path
containing the full hostname mira.webseek.de which is not fully qualified
(just for internal LAN use) and thus causing problems.
mira's sendmail masks [EMAIL PROTECTED] as [EMAIL PROTECTED] which is
fine, but that durn return-path gets added (by qmail?)

how can i prevent/overwrite that in our qmail configuration?

wolfgang




autoreplies in dot-qmail or fastworward?

2000-06-26 Thread wolfgang zeikat


how would i set up an autoreply for incoming messages in qmail?
with a .qmail-* file? and if so, what should it contain exactly?

or is there a way to do it with the fastforward tool?

wolfgang




Re: autoreplies in dot-qmail or fastworward?

2000-06-26 Thread wolfgang zeikat

i found a rather easy way to do it at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/04/msg00134.html

now i wonder if i could quote the original message?
is there a variable like $msg or something that can be used for that?

wolfgang




Re: Return-Path header set by qmail?

2000-06-27 Thread wolfgang zeikat

i wrote:
>our redhat linux machine mira's sendmail is using our redhat linux qmail
>server luzifer as smarthost

>when users on that mira send mails, the mails contain a return-path
>containing the full hostname mira.webseek.de which is not fully qualified
>(just for internal LAN use) and thus causing problems.

in case someone is interested:
in sendmail.cf i have now added:
Djwebseek.de
that inserts @webseek.de in sendmail's automated Return-Path entries.

wolfgang




Re: strange problem with t-online

2000-10-01 Thread wolfgang zeikat

there is no user t
nor a user t-online

but still mail to t-online is *not* handled
by ~/alias/.qmail-default
but just creates that error message, how i can i "catch" it?

wolfgang


Also sprach Tim Hunter <[EMAIL PROTECTED]> on 28.09.2000:
Check the permissions on your user t's Maildir

- Original Message -
> in the course of some mailing list activity i keep getting this error:
>
> Sep 29 02:53:41 luzifer qmail: 970188821.500534 starting delivery 142187:
> msg 582933 to local [EMAIL PROTECTED]
> Sep 29 02:53:41 luzifer qmail: 970188821.500693 status: local 1/10 remote
> 1/20
> Sep 29 02:53:41 luzifer qmail: 970188821.542630 delivery 142187:
deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)
>
> adding a user t didnt help,
> neither did various attempts with ~/alias/.qmail* files or aliases in
> /etc/aliases
>
> how could i direct those mails to some other account / alias?
>
> wolfgang
>
>




Re: strange problem with t-online

2000-10-01 Thread wolfgang zeikat

thanks,
that solved my problem.

Also sprach Alexander Pennace <[EMAIL PROTECTED]> on 01.10.2000:

The qmail-getpw program is responsible for telling qmail where .qmail
files responsible for a given local address are; your problems could
be caused by its confusion. What is the output of:

$ qmail-getpw t-online | xargs -0 echo
$ id alias




Re: Qmail Tshirts

2000-10-10 Thread wolfgang zeikat

would you add ash gray long sleeve too?

cheers
wolfgang


Also sprach Vern Hart <[EMAIL PROTECTED]> on 10.10.2000:

>For what it's worth, cafepress.com now offers four new products
>which I have made available with the qmail designs.  They are: an
>ash gray tshirt, a sweat shirt, a long sleeve tshirt and a "Baby
>Doll" tshirt.
>
>   http://vern.com/tshirts/qmail/
>
>Cheers,
>Vern
>
>




badmailfrom

2000-10-29 Thread wolfgang zeikat

is there a way to put all hosts from one domain into badmailfrom?

not all users from one host of that domain as in 
@host.domain.com

but all users from all hosts of domain.com ...




Re: netscape error

2000-10-31 Thread wolfgang zeikat

wild guess:
try and set "Use SSL ..." in netscape preferences / mail servers
to "Never"


>On Tue, Oct 31, 2000 at 02:14:42PM +0800, shaolei wrote:
>>
>> my qmail system only support outlook receive email
>> netscape can't,password error,why?
>> how to correct it?
>
>Are you using POP or IMAP? What authentification method are you using? 
>You are not giving enough information.




accepting and delivering locally for a different IP ...

2000-11-14 Thread wolfgang zeikat

how can i make qmail accept mails for
user@[123.123.123.123] when the machine 123.123.123.123 forwards all mails
to our qmail server?

wolfgang





Re: accepting and delivering locally for a different IP ...

2000-11-15 Thread Wolfgang Zeikat

Dave Sill wrote:

> Put 123.123.123.123 in control/locals and control/rcpthosts.
> 
> -Dave

ACK! i had mistyped the IP in both files, thanks for making me check
once more :)

wolfgang



Re: Forwarding all messages to local net behind masquerade

2000-11-17 Thread wolfgang zeikat

if your domain is tatrasoft.sk,
remove tatrasoft.sk from ~/control/locals (if its there), and
if the IP number of your server on the local network is 10.1.1.1, put this
in
~/control/smtproutes:

tatrasoft.sk:10.1.1.1
(that has to be the actual IP of your internal mail server of course)

wolfgang


In the previous episode (17.11.2000), Daniel POGAC <[EMAIL PROTECTED]>
said:

>Now i need to forward all messages to server on our local network behind
>masquerade...
>





Handling To: entries (defaulthost?)

2000-11-28 Thread Wolfgang Zeikat

we have lately gotten tons of mails from external senders with weird To:
entries based on various email client address books with commas,
semicolons, whitespaces and such.

so i now want to *stop* qmail from automatically expanding
"To: whatever" into "To: [EMAIL PROTECTED]"
so that only intact [EMAIL PROTECTED] entries in To: fields will be
handled -
and reject the others.

how can i do that? just set defaulthost to something like "defaulthost"
?
and is it possible to have different handling for incoming and outgoing
mails?

current settings are:
# more /var/qmail/control/me
mail.webseek.de
# more /var/qmail/control/defaulthost
webseek.de



Re: Handling To: entries (defaulthost?)

2000-11-28 Thread Wolfgang Zeikat

Frank Tegtmeyer schrieb:

> I doubt that the sender is really external - you wouldn't get the mail
> through SMTP because of missing MX records.

good point

> I think there is a wild
> running script or a buggy SMTP client inside your network.
> 
> Regards, Frank

you were right, i found the bad guy: one of our users had entries like
"display name: Name, Firstname" in their netscape address book, and the
external people had replied to his mails using "Reply To All" *sigh*

thanks
wolfgang



smtproutes

2000-12-08 Thread Wolfgang Zeikat

is it possible to have more than one smtproute for the same destination
for the case that the first relay cannot be reached? if so, how?

wolfgang





Re: MX records

2001-01-02 Thread Wolfgang Zeikat

to check existing MX records, type
# nslookup
>server 212.121.128.10
>set type=mx
then type the domain names you want to look the MX records up for, e.g.
> xyz.com

wolfgang



Re: smtproutes

2001-01-03 Thread Wolfgang Zeikat

In the previous episode (03.01.2001), Steve Hammond
<[EMAIL PROTECTED]> said:
>I have set
>smtproutes
>to smtp:exchange.

the syntax to send all mail (except for locals) to one host is:

:that.one.host

wolfgang




RE: RE: is there a filter to scan message header and reject accordingly

2001-01-28 Thread Wolfgang Zeikat

In the previous episode (26.01.2001), Brian Longwe <[EMAIL PROTECTED]>
said:

>If I knew how to write perl I probably wouldn't be askingthanks for
the tip anyway

here is an idea (not necessarily guru-approved but maybe worth a thought):
a ~/.qmail file catches every mail for the user and sends the mail to a
shell script:


#~/.qmail
./filter

#/var/qmail/alias/.qmail-devnul
#

#~/.qmail-real
./Maildir/

#!/bin/bash
#~/filter
cat > /tmp/to$RECIPIENT.txt
if [ "$(grep 'Subject: whatever' /tmp/to$RECIPIENT.txt)" = "Subject:
whatever" ]
then
cat "/tmp/to$RECIPIENT.txt" | qmail-inject devnul
else
cat "/tmp/to$RECIPIENT.txt" | qmail-inject $USER-real
fi
rm -f /tmp/to$RECIPIENT.txt



/var/qmail/alias/.qmail-devnul will delete every mail sent to devnul

and you could add further commands to the "then" part, like
qmail-inject -a [EMAIL PROTECTED] $SENDER < your.readymade.reply
in order to inform the sender ...

i enjoyed experimenting to make this, hope it helps :)

cheers
wolfgang





RE: RE: is there a filter to scan message header and reject accordingly

2001-01-29 Thread Wolfgang Zeikat

In the previous episode (29.01.2001), Dave Sill <[EMAIL PROTECTED]>
said:

>>#!/bin/bash
>>#~/filter
>>cat > /tmp/to$RECIPIENT.txt
>>if [ "$(grep 'Subject: whatever' /tmp/to$RECIPIENT.txt)" = "Subject:
whatever" ]
>>then
>>cat "/tmp/to$RECIPIENT.txt" | qmail-inject devnul
>>else
>>cat "/tmp/to$RECIPIENT.txt" | qmail-inject $USER-real
>>fi
>>rm -f /tmp/to$RECIPIENT.txt
>>
>>
>>
>>/var/qmail/alias/.qmail-devnul will delete every mail sent to devnul
>
>Why not just not re-inject it?

i wasnt sure if i could use that "if" construction directly in a .qmail
file (can that be done?), and cat was the only thing i could think of to
"keep the data in mind" in order to handle them differently depending on
the result of "if" (i also tried storing the mail in a variable as in
MESSAGE="$(cat)", but that screwed things up ...

>Also, save a fork/exec by doing:
>
>  qmail-inject $USER-real < /tmp/to$RECIPIENT.txt
>
>instead of "cat ... | qmail-inject ...".

yeah, good idea ;)

wolfgang





Re: SOMEONE GET ME OFF THIS LIST

2001-01-29 Thread Wolfgang Zeikat

when you send a mail to
[EMAIL PROTECTED]
you get a reply - sent to the address that you mailed from of course -
to which you have to reply once more for confirmation (so that nobody can
subscribe your adress by forging it)

i just tried it ...

wolfgang

--
if it is there and you can see it   it is real
if it is there and you can not see it   it is transparent
if it is not there and you can see it   it is virtual
if it is not there and you can not see it   it is gone

roy wilks 1983, tcp/ip networking


In the previous episode (29.01.2001), Medi Montaseri <[EMAIL PROTECTED]>
said:
>me too
>where is the instruction for unsubscribing...
>
>Henry Ong wrote:
>
>> haha. i sent email to [EMAIL PROTECTED] a few times
>> but i'm still getting mail messages from the list server
>>




Re: blocking email address

2001-02-02 Thread Wolfgang Zeikat

In the previous episode (01.02.2001), Matthew Patterson
<[EMAIL PROTECTED]> said:
>On Thu, 01 Feb 2001, KIM wrote:
>>Hi to all,
>>
>>How can i block a specific email address in qmail?
>
>echo "[EMAIL PROTECTED]" >>
>/var/qmail/control/badmailfrom
>echo "@another.domain.name" >> /var/qmail/control/badmailfrom
>

note that badmailfrom will block the SMTP envelope sender address (shown
in the mail as Return-Path:) tho,
which is not necessarily the same as the address in the From: line in the
actual mail:

in case of this mail i reply to:

envelope sender:
Return-Path: <[EMAIL PROTECTED]>

mail header:
From: Matthew Patterson <[EMAIL PROTECTED]>

wolfgang





newline in bouncesaying?

2001-02-04 Thread Wolfgang Zeikat

is it possible to somehow use a newline command in the message that the
bouncesaying command sends?
so that the error mail from the sending smtp server back to the envelope
sender would contain deliberate line breaks?

wolfgang





defaultdomain and defaulthost

2001-02-09 Thread Wolfgang Zeikat

we sometimes receive external mails with malformed addresses based on
client-sided addressbook entries like
Name; Firstname [EMAIL PROTECTED] 
(or something like that).

qmail notifies the sender that
Name;@webseek.de (which is our domain) does not exist.

i would like to prevent that completion to [EMAIL PROTECTED],
but i am want to ensure that mails sent locally (by scripts for example)
to "username" will still be delivered correctly.
also i have lots of aliases like
u.sername: username
and want those to keep working too.

so, is there a way to only disable that completion for mails received
via smtp (if thats what is needed) or some other way to solve the
problem on our side?

thanks

wolfgang



newlines in dot-qmail files?

2001-02-25 Thread Wolfgang Zeikat

the program delivery lines in my dot-qmail files are beginning to get
lengthy -
for example with if ... elif statements and such ...

is there a way to continue a line on the next line in order to keep an
overwiew and make editing easier?

thanks

wolfgang





Re: Return-Path

2001-03-03 Thread Wolfgang Zeikat

In the previous episode (03.03.2001), Jon <[EMAIL PROTECTED]> said:
>Anyway to control what the return-path is?

with qmail you can also use the command
sendmail -f   to send mails.
if your script uses that, you could thus define the "return-path", the
smtp envelope sender, to be precise.

qmail-inject -f would do the same.

man qmail-inject
should give you more info.

wolfgang





Re: Spam from addresses harvested from message IDs

2001-03-03 Thread Wolfgang Zeikat

In the previous episode (03.03.2001), Chris Johnson
<[EMAIL PROTECTED]> said:

>What I'd like to do is collect all of this mail in a Maildir, so I can
>avoid
>all the double bounces. What I propose to do is put this in
>~alias/.qmail-default:
>
>|condredirect messageidspam sh -c "echo "$DEFAULT" | egrep -q '^a[0-9]+$'"

why $DEFAULT ? wouldn't you want to use $LOCAL ?
see http://Web.InfoAve.Net/~dsill/lwq.html#environment-variables

>|fastforward -d aliases.cdb

wolfgang





How to move messages from ~/Mailbox to ~/Maildir/ ?

2001-04-02 Thread Wolfgang Zeikat

i started our qmail server by accident with Mailbox delivery enabled,
now the incoming mails of about 3 hours went into those files ~/Mailbox.

our regular usage is ~/Maildir/ delivery, and i restarted the server
with ~/Maildir/ ...

how can i move those mails now?

thanks
wolfgang



Wolfgang Zeikat 
System Administrator - Technology
WSI Webseek Infoservice GmbH & Co. KG - Herrengraben 3 - D-20459 Hamburg
Phone (+49) 40-300 69 322  - Fax (+49) 40-300 69 399
http://www.infoseek.de - mailto:[EMAIL PROTECTED]