qmail Digest 21 Apr 2001 10:00:01 -0000 Issue 1341

Topics (messages 61015 through 61055):

Re: Keep getting this kind of email
        61015 by: Mark Lo \(3\)
        61024 by: Charles Cazabon

Re: store and forward incoming e-mail (archive link)
        61016 by: Jason Kawaja

MAIL Forwarding[filtered]
        61017 by: Marco Calistri

Re: store and forward incoming e-mail
        61018 by: Peter Green
        61020 by: Charles Cazabon
        61029 by: alexus

forwarding to internal mail server & external gateway toubles
        61019 by: Iain Morrison

Re: Problem with delivery
        61021 by: Charles Cazabon

Domain name added twice
        61022 by: John P
        61023 by: Charles Cazabon
        61050 by: John P

Re: qmail could not send to another host
        61025 by: Marc Knoop
        61028 by: Greg White

Reply To address
        61026 by: Bill Luckett
        61027 by: Charles Cazabon
        61033 by: Bill Luckett
        61035 by: Charles Cazabon
        61038 by: Mira Temp�r
        61039 by: Chris Johnson
        61046 by: Bill Luckett

Qmail SMTP HELP response
        61030 by: WebSec WebSec
        61031 by: Markus Stumpf
        61034 by: Mira Temp�r

Alias files
        61032 by: Utku S. Haydanli
        61036 by: Mira Temp�r

smtp relay / relay-ctrl / tcpserver
        61037 by: Mike  A. Sauvain
        61041 by: Brad Schuetz

Re: Mail is redirected in from xxx.aaa.bb to aaa.bb. Why?
        61040 by: Mira Temp�r
        61043 by: Chris Johnson

Re: imapd and mbox and aliases rules !
        61042 by: lenneis.wu-wien.ac.at

Can I force a download on POP
        61044 by: Medi Montaseri
        61045 by: Charles Cazabon

smtphost:port
        61047 by: Joerg.Rieger.informatik.med.uni-giessen.de
        61048 by: Chris Johnson
        61049 by: Joerg.Rieger.informatik.med.uni-giessen.de

incorrect_user@correct_domain accepted
        61051 by: Ketan Bajaj
        61052 by: Jesse Reynolds

user masquerading
        61053 by: Roberto Zanasi

Re: problem about move to qmail for virtual domain.
        61054 by: Robin S. Socha

Re: [OT] Sticky question about qmail-queue and qmail-smtpd interactions
        61055 by: Robin S. Socha

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]


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


Hi,

      My mail server keep getting this kind of messages, I would like to
know what it is.  Please help.

Thank you

Mark
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 5:09 PM


> Some addresses were rejected by the MDA fetchmail forwards to.
>
>


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


> Received: from mail.distefora.com ([195.179.153.18])
>           by dominoger.minick.de (Lotus Domino Release 5.0.3 (Intl))
>           with ESMTP id 2001041918081387:15951 ;
>           Thu, 19 Apr 2001 18:08:13 +0200
> Received: from toye.php.net (va.php.net [198.186.203.51])
> by mail.distefora.com (8.11.1/8.11.1) with SMTP id f3JG5Ne22500
> for <[EMAIL PROTECTED]>; Thu, 19 Apr 2001 18:05:24 +0200
> Received: (qmail 10062 invoked by uid 1013); 19 Apr 2001 16:01:07 -0000
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> list-help: <mailto:[EMAIL PROTECTED]>
> list-unsubscribe: <mailto:[EMAIL PROTECTED]>
> list-post: <mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> Received: (qmail 10056 invoked from network); 19 Apr 2001 16:01:06 -0000
> Message-ID: <000701c0c8e9$c8e8a980$72d3fea9@mark>
> From: "Mark Lo" <[EMAIL PROTECTED]>
> To: "*PHP mail list" <[EMAIL PROTECTED]>
> Date: Thu, 19 Apr 2001 23:59:58 +0800
> MIME-Version: 1.0
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.50.4522.1200
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> Subject: [PHP] replace function in a file.
> X-MIMETrack: Itemize by SMTP Server on dominoger/hamburg/minick(Release
5.0.3 (Intl)|21
>  March 2000) at 19.04.2001 18:08:14,
> Serialize by POP3 Server on dominoger/hamburg/minick(Release 5.0.3
(Intl)|21
>  March 2000) at 20.04.2001 11:08:42,
> Serialize complete at 20.04.2001 11:08:42
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> charset="big5"
>

ATT00055.dat





Mark Lo (3) <[EMAIL PROTECTED]> wrote:
> 
> My mail server keep getting this kind of messages, I would like to
> know what it is.  Please help.
[...]
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 20, 2001 5:09 PM
> 
> > Some addresses were rejected by the MDA fetchmail forwards to.

Your fetchmail is misconfigured, and the MTA/MDA it is using for delivery is
failing.  Fix your fetchmail configuration, or use something else.  For one
thing, I doubt that "localhost.localdomain" is the default name for your
machine.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




"Kirti S. Bajwa" wrote:
> 
> David:
> 
> I looked at the site your link pointed to. I am glad because I would like to
> check/read as many as archive which are out there. Is it possible for
> readers of this list to provide links to some other achieve (which they
> consult)?
> 
> Kirti
> 

http://www.ornl.gov/its/archives/mailing-lists/qmail/

the search engine works quite well...

-- 

Regards,
Jason Kawaja, UF-ECE Sys Admin




I posted this question but nobody answered,
may be nobody knows the answer,may be it is an OT,may be it is a FAQ?

Have you a comment about?

#---OLD QUESTION---# 
Is there a simple method with qmail to forward *only* specific addressed MAIL
toward a different host connected on LAN?

I.E.:
pc1 uses qmail as MTA and mail is retrieved via fetchmail
pc1 uses a simple .qmail file where the forward rule is:&[EMAIL PROTECTED]
pc2 get *all* the MAIL as pc1 but I wonder only:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

be forwarded to pc2
#---END---#

T.I.A.

-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2





* Kirti S. Bajwa <[EMAIL PROTECTED]> [010419 19:28]:
> I looked at the site your link pointed to. I am glad because I would like to
> check/read as many as archive which are out there. Is it possible for
> readers of this list to provide links to some other achieve (which they
> consult)?

I know of the following (some of which have already been mentioned):

  [http://lists.omnipotent.net/qmail/]
  [http://www.ornl.gov/its/archives/mailing-lists/qmail/] (browse)
  [http://www-archive.ornl.gov:8000/] (search)
  [http://marc.theaimsgroup.com/?l=qmail&r=1&w=2]
  [http://www.mail-archive.com/qmail%40id.wustl.edu/]
  [http://groups.yahoo.com/group/djb-qmail]

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"Whip me.  Beat me.  Make me maintain AIX."
(By Stephan Zielinski)





alexus <[EMAIL PROTECTED]> wrote:
> it's not like i'm "demanding" and i didn't realize that there are an archive
[...]

You need to learn some basic netiquette.  To save you the pain of learning it
through the usual fiery ordeal, here's a couple of tips:

1)  Every message you send to a mailing list costs some hundreds or thousands
of other users a minute or two to read.  If you happen to ask a question which
is clearly answered in the documentation, the various FAQs, or in the mailing
list archives, you have just wasted that time for every other member of the
list.  This is considered extremely rude.  It also lowers the signal-to-noise
ratio of the list, making it a less useful resource for you and everyone else.
This is why netiquette requires that you "lurk" on the mailing list, reading
it but not posting, for the first few weeks.  That way, you see all the common
questions & answers go by, and probably answer all the common newbie questions
you have at this point.

2)  Statements like ``most of that "high qulified IT professionals" are same
as me who's just looking for help'' are inflammatory, incorrect, and
misguided.  This list has, as members, the author of qmail, and the authors of
all the most commonly used add-ons, patches, supplemental documentation, and
complementary packages, as well as dozens of other people who are simply very
knowledgable users of qmail.

> basically i'm very new to all this list stuff..  so i'm trying to do my best
> to "fit in"..

You're not doing a spectacular job of it, then.  Try harder in the future.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




I say.. we talking about personal stuff here more that it needs too..
if you want to say somethin you should e-mail me directly and not to whole
list
so all those hundreds and thousands people wont spend their a minute or two
to read this none sense.. the reason i wrote here at first place was for
reason, i couldn't get it to work and i couldn't find answer for my question
.. so i did.. there is nothing wrong with that.. from what i see in all
those mailing list.. people asking even more stupidest question then i am..
if you feel so busy then don't read e-mail, ignore it, unsubscribe from the
list READ subject (thats what they are for) and you won't have to read
rest.. i'm 100% sure that very same questions is being asked here over and
over and not all people are going to archive to look for answers..

----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 9:54 AM
Subject: OT: Re: store and forward incoming e-mail


> alexus <[EMAIL PROTECTED]> wrote:
> > it's not like i'm "demanding" and i didn't realize that there are an
archive
> [...]
>
> You need to learn some basic netiquette.  To save you the pain of learning
it
> through the usual fiery ordeal, here's a couple of tips:
>
> 1)  Every message you send to a mailing list costs some hundreds or
thousands
> of other users a minute or two to read.  If you happen to ask a question
which
> is clearly answered in the documentation, the various FAQs, or in the
mailing
> list archives, you have just wasted that time for every other member of
the
> list.  This is considered extremely rude.  It also lowers the
signal-to-noise
> ratio of the list, making it a less useful resource for you and everyone
else.
> This is why netiquette requires that you "lurk" on the mailing list,
reading
> it but not posting, for the first few weeks.  That way, you see all the
common
> questions & answers go by, and probably answer all the common newbie
questions
> you have at this point.
>
> 2)  Statements like ``most of that "high qulified IT professionals" are
same
> as me who's just looking for help'' are inflammatory, incorrect, and
> misguided.  This list has, as members, the author of qmail, and the
authors of
> all the most commonly used add-ons, patches, supplemental documentation,
and
> complementary packages, as well as dozens of other people who are simply
very
> knowledgable users of qmail.
>
> > basically i'm very new to all this list stuff..  so i'm trying to do my
best
> > to "fit in"..
>
> You're not doing a spectacular job of it, then.  Try harder in the future.
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
>





Hello everyone again, I have qmail setup to deliver mail to a gateway system 
for delivery to the internet via serialmail. This works perfectly, my query 
is I have setup another mail system on my network that will host internal 
e-mail accounts, I have the DNS setup to have the MX records pointing at the 
correct system but instead of qmail sending the e-mail on to the internal 
server it sends it to the mail gateway via serialmail. This is all well and 
good but the system I need the mail to go does not have any valid internet 
side dns entries.

Basically what I need is for qmail / serialmail to only forward mail to the 
gateway that is not for internal network systems.

Can this be done, if so any ideas??

TIA

IAin Morrison
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Christian Maier <[EMAIL PROTECTED]> wrote:
> When I send an email to my server I get this error message:

That error message is not from qmail.  Either you're relaying your mail
through a different server than you think you are, or you're not running
qmail.  In either case, it's not a qmail issue, and therefore doesn't belong
on this list.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




When I use the mail command, PHP's mail() function or if cron etc. generates
output:

mail to [EMAIL PROTECTED] - recieved OK, from [EMAIL PROTECTED]
mail to john@pluto  fails as below
mail to john  fails as below

deliveries via pop, smtp etc work fine.

Why is my qmail adding a second domain name to these messages, that should
be delivered locally?

The machine pluto is on an internal network (10.0.0.12) which has the domain
'office.internal' - it also has the address office.mobiletones.com, this is
a machine that portforwards ports 25 and 110 to the internal machine. DNS
resolves OK for the internal net (eg. 'nslookup pluto' returns
'pluto.office.internal')

Thanks
John


-------

Hi. This is the qmail-send program at pluto.
I tried to deliver a bounce message to this address, but the bounce bounced!

<[EMAIL PROTECTED]>:
Sorry, I couldn't find any host named pluto.pluto. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 12540 invoked for bounce); 20 Apr 2001 14:59:21 -0000
Date: 20 Apr 2001 14:59:21 -0000
From: MAILER-DAEMON@pluto
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at pluto.
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]>:
Sorry, I couldn't find any host named pluto.pluto. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 12538 invoked by uid 0); 20 Apr 2001 14:59:21 -0000
Date: 20 Apr 2001 14:59:21 -0000
Message-ID: <20010420145921.12537.qmail@pluto>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

--------

output of qmail-showctl:


qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 500, 501, 502, 0, 503, 504, 505, 506.
group ids: 500, 501.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is pluto.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is pluto.

defaulthost: (Default.) Default host name is pluto.

doublebouncehost: (Default.) 2B recipient host: pluto.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is pluto.

helohost: (Default.) SMTP client HELO host name is pluto.

idhost: (Default.) Message-ID host name is pluto.

localiphost: (Default.) Local IP address becomes pluto.

locals:
Messages for office.mobiletones.com are delivered locally.
Messages for pluto are delivered locally.
Messages for office.internal are delivered locally.

me: My name is pluto.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is pluto.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at pluto.
SMTP clients may send messages to recipients at office.mobiletones.com.
SMTP clients may send messages to recipients at office.internal.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 pluto.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.


concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is pluto.

defaulthost: (Default.) Default host name is pluto.

doublebouncehost: (Default.) 2B recipient host: pluto.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is pluto.

helohost: (Default.) SMTP client HELO host name is pluto.

idhost: (Default.) Message-ID host name is pluto.

localiphost: (Default.) Local IP address becomes pluto.

locals:
Messages for office.mobiletones.com are delivered locally.
Messages for pluto are delivered locally.
Messages for office.internal are delivered locally.

me: My name is pluto.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is pluto.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at pluto.
SMTP clients may send messages to recipients at office.mobiletones.com.
SMTP clients may send messages to recipients at office.internal.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 pluto.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.


I think this is the relevant info from the log:

@400000003ae04ed313489f64 info msg 404089: bytes 208 from <[EMAIL PROTECTED]>
qp 12538 uid 0
@400000003ae04ed3152a05ac starting delivery 249: msg 404089 to remote
[EMAIL PROTECTED]
@400000003ae04ed3152a1934 status: local 0/10 remote 1/20
@400000003ae04ed3154e4ebc delivery 249: failure:
Sorry,_I_couldn't_find_any_host_named_pluto.pluto._(#5.1.2)/
@400000003ae04ed3154e6244 status: local 0/10 remote 0/20
@400000003ae04ed3172e130c bounce msg 404089 qp 12540
@400000003ae04ed3172e2a7c end msg 404089
@400000003ae04ed317314374 new msg 404448
@400000003ae04ed317314f2c info msg 404448: bytes 735 from <> qp 12540 uid
506
@400000003ae04ed318b59d6c starting delivery 250: msg 404448 to remote
[EMAIL PROTECTED]
@400000003ae04ed318b5a924 status: local 0/10 remote 1/20
@400000003ae04ed318da6764 delivery 250: failure:
Sorry,_I_couldn't_find_any_host_named_pluto.pluto._(#5.1.2)/
@400000003ae04ed318da82bc status: local 0/10 remote 0/20
@400000003ae04ed31ab8dbc4 bounce msg 404448 qp 12542
@400000003ae04ed31ab8f334 end msg 404448
@400000003ae04ed31abc0074 new msg 404447
@400000003ae04ed31abc0844 info msg 404447: bytes 1176 from <#@[]> qp 12542
uid 506
@400000003ae04ed31c90c844 starting delivery 251: msg 404447 to local
postmaster@pluto
@400000003ae04ed31c90d3fc status: local 1/10 remote 0/20
@400000003ae04ed31ec77e64 new msg 404446
@400000003ae04ed31ec795d4 info msg 404446: bytes 1276 from <#@[]> qp 12545
uid 500
@400000003ae04ed3209e45ec starting delivery 252: msg 404446 to local
john@pluto
@400000003ae04ed3209e5974 status: local 2/10 remote 0/20
@400000003ae04ed3209e6144 delivery 251: success: did_0+1+0/qp_12545/
@400000003ae04ed3209e6914 status: local 1/10 remote 0/20
@400000003ae04ed3209e6cfc end msg 404447
@400000003ae04ed321fb5d1c delivery 252: success: did_1+0+0/
@400000003ae04ed321fb748c status: local 0/10 remote 0/20
@400000003ae04ed321fb7874 end msg 404446
@400000003ae04ef5309c38b4 new msg 404089
@400000003ae04ef5309c4c3c info msg 404089: bytes 2348 from
<[EMAIL PROTECTED]> qp 12557 uid 0
@400000003ae04ef5325ec48c starting delivery 253: msg 404089 to local
[EMAIL PROTECTED]
@400000003ae04ef5325ed814 status: local 1/10 remote 0/20
@400000003ae04ef5339e3db4 delivery 253: success: did_1+0+0/
@400000003ae04ef5339e5524 status: local 0/10 remote 0/20
@400000003ae04ef5339e5cf4 end msg 404089


Any ideas?

Thanks
John






John P <[EMAIL PROTECTED]> wrote:
> 
> Why is my qmail adding a second domain name to these messages, that should
> be delivered locally?
> 
> The machine pluto is on an internal network (10.0.0.12) which has the domain
> 'office.internal'

qmail-inject assumes that a FQDN contains at least one dot.  If it doesn't
contain one, it assumes that it is a hostname with no domain, and appends the
contents of /var/qmail/control/defaultdomain (or me, or "defaultdomain", in
that order).  This is in the manpage for qmail-inject.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




> > Why is my qmail adding a second domain name to these messages, that
should
> > be delivered locally?
> >
> > The machine pluto is on an internal network (10.0.0.12) which has the
domain
> > 'office.internal'
>
> qmail-inject assumes that a FQDN contains at least one dot.  If it doesn't
> contain one, it assumes that it is a hostname with no domain, and appends
the
> contents of /var/qmail/control/defaultdomain (or me, or "defaultdomain",
in
> that order).  This is in the manpage for qmail-inject.
>

Thanks for that Charles,

One more question; the PHP script that was causing the problem is actually
generating the e-mail and sending it to a different machine - Sendmail on
mobiletones.com (207.228.254.10). I'm getting this error from
Sendmail/Qmail:

Connected to 207.228.254.10 but sender was rejected.
Remote host said: 501 5.1.8 <[EMAIL PROTECTED]>... Domain of sender
address [EMAIL PROTECTED] does not exist

quite straightforward, so I put 'office.mobiletones.com' (our 'external'
domain for my qmail box) into defaultdomain but this didn't work when I
tested it from my own personal e-mail account:

  [EMAIL PROTECTED]:
    unrouteable mail domain "pluto.office.mobiletones.com"

I was thinking of forcing the PHP script that's generating the script to
insert correct address (From: [EMAIL PROTECTED]) in the header,
but to me it seems a bit of a kludge. Is there a Better Way? I basically
don't want qmail-inject to add the system name in. As before SMTP+POP works
great.

See previous e-mail to list for system info.

Cheers
John







On Fri, Apr 20, 2001 at 08:03:10AM +0700, Dodol wrote:
> Hi miliser
> 
>   I am newbie for qmail, but I've been succes for install
>   qmail+vpopmail+qmailadmin, it good really working for internal
>   network, but I try to send email to internet its never succes, when
>   I try see log message I have see like this
>   
> Apr 18 13:13:41 web1 qmail: 987574421.004567 starting delivery 3: msg 48238 to r
> emote [EMAIL PROTECTED]

dnsq on both their name servers times out for me when querying for their MX records.  

-- 
../mk 




On Fri, Apr 20, 2001 at 09:51:22AM +0000, Marc Knoop wrote:
> On Fri, Apr 20, 2001 at 08:03:10AM +0700, Dodol wrote:
SNIP
> >   
> > Apr 18 13:13:41 web1 qmail: 987574421.004567 starting delivery 3: msg 48238 to r
> > emote [EMAIL PROTECTED]
> 
> dnsq on both their name servers times out for me when querying for their MX records. 
> 
> 
> -- 
> ../mk 

This is a routing issue of some sort -- I can reach their nameservers
from some networks, and not from others. I suspect that since yahoo.com
is also failing (and quite quickly IIRC), that this is an unrelated
issue. :)


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
                -- John F. Kennedy




Hi,

I'm trying to write a email interface for Bruce Guenter's autoresponder.
and to make a long story short I need to get qmail-inject (or even unix
"mail") to send a message with a specific reply to address in order to make
things as simple as possible for users--so they can hit "Reply" and have it
go to the address I want.

The -f switch for qmail-inject doesn't do it. Any ideas?

*******************************************
Bill Luckett
Director of Information Systems
Phi Theta Kappa International Honor Society
1625 Eastover Dr.
Jackson, MS 39211

[EMAIL PROTECTED]
Ph : 601-984-3559
Fax: 601-984-3506
*******************************************




Bill Luckett <[EMAIL PROTECTED]> wrote:
> 
> I'm trying to write a email interface for Bruce Guenter's autoresponder.
> and to make a long story short I need to get qmail-inject (or even unix
> "mail") to send a message with a specific reply to address in order to make
> things as simple as possible for users--so they can hit "Reply" and have it
> go to the address I want.
> 
> The -f switch for qmail-inject doesn't do it. Any ideas?

Just include a "Reply-to: <address>" header in the headers of the message.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




How? I don't see a way to build/add headers with qmail-inject. Adding
Subject:" to the body works for that but not for "Reply To:".

What am I missing?


At 10:58 AM 4/20/2001 -0600, you wrote:
>Bill Luckett <[EMAIL PROTECTED]> wrote:
>> 
>> I'm trying to write a email interface for Bruce Guenter's autoresponder.
>> and to make a long story short I need to get qmail-inject (or even unix
>> "mail") to send a message with a specific reply to address in order to make
>> things as simple as possible for users--so they can hit "Reply" and have it
>> go to the address I want.
>> 
>> The -f switch for qmail-inject doesn't do it. Any ideas?
>
>Just include a "Reply-to: <address>" header in the headers of the message.
>
>Charles
>-- 
>-----------------------------------------------------------------------
>Charles Cazabon                            <[EMAIL PROTECTED]>
>GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>-----------------------------------------------------------------------
>
>

*******************************************
Bill Luckett
Director of Information Systems
Phi Theta Kappa International Honor Society
1625 Eastover Dr.
Jackson, MS 39211

[EMAIL PROTECTED]
Ph : 601-984-3559
Fax: 601-984-3506
*******************************************




Bill Luckett <[EMAIL PROTECTED]> wrote:
> >Just include a "Reply-to: <address>" header in the headers of the message.

> How? I don't see a way to build/add headers with qmail-inject. Adding
> Subject:" to the body works for that but not for "Reply To:".

                                                         ^
There's your problem; the header is "Reply-to:" or "Reply-To:", _not_
"Reply To:".  Spaces are illegal in header names.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




========= 20/04/01 14:11  by  Bill Luckett =========
| How? I don't see a way to build/add headers with qmail-inject. Adding
| Subject:" to the body works for that but not for "Reply To:".
| 
| What am I missing?

It is "Reply-To:" (with the dash).
If it isn't the problem, send here the headers.

-- 
   Mira Tempír <[EMAIL PROTECTED]>
   http://www.cekit.cz/




On Fri, Apr 20, 2001 at 02:11:20PM -0500, Bill Luckett wrote:
> How? I don't see a way to build/add headers with qmail-inject.

You can add any header that strikes your fancy:

$ /var/qmail/bin/qmail-inject [EMAIL PROTECTED] <<EOF
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> X-AHeaderIJustInvented: Whatever
> Subject: qmail-inject
>
> Here's the message body!
> EOF
$

Chris

PGP signature





Thanks to all--I've got lot's of options now.  :)

*******************************************
Bill Luckett
Director of Information Systems
Phi Theta Kappa International Honor Society
1625 Eastover Dr.
Jackson, MS 39211

[EMAIL PROTECTED]
Ph : 601-984-3559
Fax: 601-984-3506
*******************************************




Hi All,

Can anyone please tell me how to quickly change default Qmail response to 
SMTP HELP string?  Qmail is secure - but we would like to make it less 
obvious.
(we changed the greeting string already and working on error responses)

Also, is there anything else we need to think about to "hide" qmail 
identity?

(I would love to see sendmail exploits targeted at this server!)

Thank you all!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





On Fri, Apr 20, 2001 at 06:01:58PM -0000, WebSec WebSec wrote:
> Can anyone please tell me how to quickly change default Qmail response to 
> SMTP HELP string?  Qmail is secure - but we would like to make it less 
> obvious.
> (we changed the greeting string already and working on error responses)

You have to edit the source.
Editing  qmail-smtpd.c  should be sufficient.
If you want to mimic sendmail change the texts to look like sendmails'
and you probably have to add some comands (like "debug").

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.




| Can anyone please tell me how to quickly change default Qmail response to 
| SMTP HELP string?  Qmail is secure - but we would like to make it less 
| obvious.

Hmm:
vim qmail-smtpd.c
search for function out

Can you explain to me, why you are wasting the time doing this? 

Maybe you could try to gettext-ify qmail outputs ;-)

-- 
   Mira Tempír <[EMAIL PROTECTED]>
   http://www.cekit.cz/




Hi,

In my extremely large site,  I'm going to upgrade sendmail to qmail.  I'm
planning to keep my /etc/mail/aliases, since there are more than 10.000
users, and creating one file for each in ~alias does not seem to be
practical ( or am I mistaken? Is it a bad idea? ).  However, I have three
alias files in /etc/mail, one for each of my mail hosts in my domain,
which is accomplished by adding the names of these files in sendmail.cf,
besides the /etc/mail/aliases.  Is there any way to tell qmail to create
three database files after each "newaliases"? That is, how could I
configure it to deal with each of /etc/mail/aliases,
/etc/mail/file_for_other_host, and /etc/mail/file_for_the_other ?
Thanks in advance...







========= 20/04/01 21:34  by  Utku S. Haydanli =========
| Hi,
| 
| In my extremely large site,  I'm going to upgrade sendmail to qmail.  I'm
| planning to keep my /etc/mail/aliases, since there are more than 10.000
| users, and creating one file for each in ~alias does not seem to be
| practical ( or am I mistaken? Is it a bad idea? ).  However, I have three
| alias files in /etc/mail, one for each of my mail hosts in my domain,
| which is accomplished by adding the names of these files in sendmail.cf,
| besides the /etc/mail/aliases.  Is there any way to tell qmail to create
| three database files after each "newaliases"? That is, how could I
| configure it to deal with each of /etc/mail/aliases,
| /etc/mail/file_for_other_host, and /etc/mail/file_for_the_other ?
| Thanks in advance...

Please read the docs at http://cr.yp.to before writing here.

        http://cr.yp.to/fastforward.html

-- 
   Mira Tempír <[EMAIL PROTECTED]>
   http://www.cekit.cz/




hello all, if someone know a special mailinglist on smtp relay problem
OR
tcpserver usage's .. please let me know..

my problem are follow:

after a second relay attack from russia i dooed follow things:

- i work whit tcpserver and qmail with mysql support
- i installed the popb4smtp (relay-ctrl-2.5) package from
http://em.ca/~bruceg/relay-ctrl/

-- now i have the the follow problem:
if i deny all (tcpserver & relay-ctrl), allow only what has pop'ed last
5 minute
no one (mail servers) cant send my a mail

so my 2 questions, first has really precedence for me
1. so how i done, that every one ist accepted to deliver local,
but to relay only hoe's has pop'ed before?

2. and where are the messages delivered after the relay was deny ?
not accept are like not recive, or accepted but receject
and sended to postmaster ?  - can i choose ? (i would prefere if it
rejecet silent the mail, but send me the mail he's would, as notice)

some cfg:

smtp.rules (vor relay-ctrl) (but it results, that only pop'ed ip's can
connect to smtp)
.:allow,TCPREMOTEHOST="",TCPREMOTEIP="MYOUTIP",RELAYCLIENT=""
:deny

so thanks for all your headaches....... mike






change the :deny to :allow, you are denying ALL connections (except those
that are in your relay-ctrl list) to port 25 with that setting.
RELAYCLIENT="" which is set by relay-ctrl will allow those clients that
match, to relay, which is what you intend without rejecting all connections.

-= Brad Schuetz =-==-= [EMAIL PROTECTED] =-

-----Original Message-----
From: Mike A. Sauvain [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: smtp relay / relay-ctrl / tcpserver


hello all, if someone know a special mailinglist on smtp relay problem
OR
tcpserver usage's .. please let me know..

my problem are follow:

after a second relay attack from russia i dooed follow things:

- i work whit tcpserver and qmail with mysql support
- i installed the popb4smtp (relay-ctrl-2.5) package from
http://em.ca/~bruceg/relay-ctrl/

-- now i have the the follow problem:
if i deny all (tcpserver & relay-ctrl), allow only what has pop'ed last
5 minute
no one (mail servers) cant send my a mail

so my 2 questions, first has really precedence for me
1. so how i done, that every one ist accepted to deliver local,
but to relay only hoe's has pop'ed before?

2. and where are the messages delivered after the relay was deny ?
not accept are like not recive, or accepted but receject
and sended to postmaster ?  - can i choose ? (i would prefere if it
rejecet silent the mail, but send me the mail he's would, as notice)

some cfg:

smtp.rules (vor relay-ctrl) (but it results, that only pop'ed ip's can
connect to smtp)
.:allow,TCPREMOTEHOST="",TCPREMOTEIP="MYOUTIP",RELAYCLIENT=""
:deny

so thanks for all your headaches....... mike







========= 20/04/01 21:29  by  Artem Koutchine =========
| Hi!
| I am having this weird problem and don't
| understand what the problem is.
| 
| When i sent mail to  [EMAIL PROTECTED] it actually
| goes to [EMAIL PROTECTED] and gets bounced (no
| 'aha' at norilsk.ru). But for other domains like
| xxxx.bbb.pp in the same installation everything works
| fine. The setup was done a lot of time ago and i might
| be missing something.
| [...]

hm and what the control/virtualdomains and users/assign 
file says about this ?

-- 
   Mira Tempír <[EMAIL PROTECTED]>
   http://www.cekit.cz/




> ========= 20/04/01 21:29  by  Artem Koutchine =========
> | Hi!
> | I am having this weird problem and don't
> | understand what the problem is.
> | 
> | When i sent mail to  [EMAIL PROTECTED] it actually
> | goes to [EMAIL PROTECTED] and gets bounced (no
> | 'aha' at norilsk.ru). But for other domains like
> | xxxx.bbb.pp in the same installation everything works
> | fine. The setup was done a lot of time ago and i might
> | be missing something.
> | [...]

The problem is that zp.norilsk.ru has a CNAME record, and the name is being
canonicalized to norilsk.ru by the MTA.

$ dnsqr any zp.norilsk.ru
255 zp.norilsk.ru:
45 bytes, 1+1+0+0 records, response, noerror
query: 255 zp.norilsk.ru
answer: zp.norilsk.ru 86261 CNAME norilsk.ru

Get rid if the CNAME record , and add an MX record or an A record (or both).

Chris

PGP signature






nissim p:

> Hello all ,

> I am interested in knowing how can i configure imapd with qmail running =
> the mbox ( /var/spool/mail  mailbox ) .
> I have checked the FAQ and there is no indication of how to use the =
> imapd with the regular mailbox with tcpserver wrapping it like the=20
> way it is done with qmail-pop3d .

[...]

Qmail can deliver mail in two formats, namely Mailbox and
Maildir. Mailbox is the traditional Unix approach with all mails for
one user concatenated in one (maybe large) file in somewhere like
/var/spool/man/USERNAME. Maildir is a completely different approach
that puts each delivered mail into a separate file in a directory
under (normally) a users homedirectory. qmail-pop3d is only suitable
for Maildir, not for Mailbox. For that you have to get another daemon
that can access Mailboxes, like Qualcom Qpopper for instance.

For imap access you can either use the University of Washington imap
server (Mailbox) or Courier Imapd (Maildir, can be found via
www.qmail.org).

Now, you might want to rethink wether you want use the Mailbox format
full stop, probably for pop3 access and most definitely for imap
access. The reason is that Mailbox files can i) become garbled easily
ii) scale terribly for a large amount of mails. In the imap scenario a
user would manipulate (view/delete/change status) mail on the server
right inside the mailbox file. Consider what happens if a piece of
mail has to be deleted that sits in the middle of a 100 MB Mailbox:
First all of the mails that precede it have so be scanned and saved
somewhere and then all the mails following it appended. So the entire
mailbox file has to be once read and written for each delete
operation. You don't even want to think about a crash while such an
operation is in progress.

Pop3 access might just about be fine (apart from reliability questions
and garbled mailbox files) if your users retrieve their mails
regularily. On the other hand, there is always the dreaded "Leave Mail
on Server" setting in pop3 mailclients that leads to ever increasing
mailbox files, that users are not even aware of, except for the
increase in time that it takes to get at their most recent mail.

Maildir does not suffer from either of these problems since the
delivery algorithm guarantees that a Maildir is always in a sane state
and since each mail sits in its own file there is not much of a
performance penalty associated with deleting the mail or changing its
status (Courier Imapd does this by just altering the filename, not
even the file itself). Depending on the underlying filesystem you
might run into performance problems for very large amounts of mails in
one directory of a Maildir, but that tends to be in the thousands of
mails.

For a third alternative for imap/pop3 access there is also the Cyrus
imap and pop3 combination (http://asg.web.cmu.edu/cyrus/), which
stores mails away from user home directories in either a format not
dissimilar to Maildir (Cyrus versions < 2.0) or in Berkeley DB
database format (Cyrus versions > 2.0) which gives you transaction
protected storage and manipulation of mails.

hope that helps,


-- 

Joerg Lenneis

email: [EMAIL PROTECTED]











Hi,

I was wondering if there is a way (at the server) to force a download of messages
fetched with POP clients. I know the client can be configured to do so. But
I'd like to be sure,hece doing it at the server level.

-- 
=======================================================================
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================
 



Medi Montaseri <[EMAIL PROTECTED]> wrote:
> 
> I was wondering if there is a way (at the server) to force a download of
> messages fetched with POP clients. I know the client can be configured to do
> so.  But I'd like to be sure,hece doing it at the server level.

No, there's no technical solution.  You need an administrative solution, such
as telling your users "All messages will be deleted from the server when they
are X days old", where X is 7, or 10, or 3, or whatever fits.  You then set up
a cronjob to look through all the user's Maildir/{cur,new}/* and delete any
file older than X days every night at midnight or something.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Hello,

I have a question not directly related to qmail, but to
maildirsmtp.

How do I add a port no. to an smtphost IP, e.g.
maildirsmtp ~alias/pppdir alias-ppp- $SMTPHOST:2525 myhost
won't work.

Thanks in advance.

Bye.

-- 




On Fri, Apr 20, 2001 at 11:38:08PM +0200, [EMAIL PROTECTED] 
wrote:
> How do I add a port no. to an smtphost IP, e.g.
> maildirsmtp ~alias/pppdir alias-ppp- $SMTPHOST:2525 myhost
> won't work.

maildirsmtp is a simple shell script that calls maildirserial. Just make a copy
of maildirsmtp and modify it to use a different port (or accept a port as a
parameter).

Chris

PGP signature





On Fri, Apr 20, 2001 at 05:46:55PM -0400, Chris Johnson wrote:

> maildirsmtp is a simple shell script that calls maildirserial. Just make a copy
> of maildirsmtp and modify it to use a different port (or accept a port as a
> parameter).

Shame on me.
Honestly, I have looked at the file a view times and missed the port
number. Now it works, thanks a lot.

Bye.

-- 




I have been seeing a problem:
when i sent an email to an incorrect user at a correct domain, the qmail
logs show that the message has been accepted.
But if i send the same email, incorrect_user@correct_domain through outlook
(microsoft exchange), the email bounces back immediately, with error message
shown below:
************
----- Transcript of session follows -----
550 [EMAIL PROTECTED] User unknown
************

Any idea why email does not bounce when sent through qmail.
thanks,
Ketan





Does the exchange server you're sending through store mail for the 
schwab.com domain?

if so, then this explains why.

-jesse

At 22:01 -0700 20/4/2001, Ketan Bajaj wrote:
>I have been seeing a problem:
>when i sent an email to an incorrect user at a correct domain, the qmail
>logs show that the message has been accepted.
>But if i send the same email, incorrect_user@correct_domain through outlook
>(microsoft exchange), the email bounces back immediately, with error message
>shown below:
>************
>----- Transcript of session follows -----
>550 [EMAIL PROTECTED] User unknown
>************
>
>Any idea why email does not bounce when sent through qmail.
>thanks,
>Ketan

-- 

       Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
                                                  jesse (at) va.com.au




I am trying to solve the following problem, but with no result...

- I have a local newsserver (inn) on my linux machine
- I write a message on a moderated newsgroup
- innd invokes in.nnrpd, which sends the message via smtp to my local
smtpd server (qmail).
- I am not always connected to the internet, so I use a separate queue
for outgoing mail, as specified in the qmail FAQ.
- When I try to send the message with serialmail, the remote server
rejects it because my domain doesn't exist:

Apr 19 20:32:32 attila postfix/smtpd[21789]: reject: RCPT from
smtp1.libero.it[193.70.192.51]: 450 <[EMAIL PROTECTED]>: Sender
address rejected: Domain not found; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]>

In fact, voyager.zar.it is my local domain, used in my local network.

- So I tried to set up user masquerading for the user "news", following
the qmail FAQ, but with no result. If I try to send an email message
from the news login, everything works fine, but if in.nnrpd tries to
send a message, the user masquerading does not work: it seems that
in.nnrpd is not able to read the environmental variables.

So: what should I do...?

Thank you!

--
http://digilander.iol.it/42





* Michael Cheung <[EMAIL PROTECTED]> writes:
> as I want to add virtual domain, which is better vmailmgr and vpopmail
> or any other choice?

It does not really matter. Personally, I like vpopmail's "one user, all
domains" concept better and inter7 has kindly provided some rather nifty
add-ons (like vqsignup and its successor) as well as a pretty decent
webinterface to administrate your domains (qmailadmin - vmailmgr has
omailadmin which is equally good). You should not see any differences
using either of them AFAICT.
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.




* Andy Bradford <[EMAIL PROTECTED]> writes:
> Thus said Jason Haar on Fri, 20 Apr 2001 14:06:02 +1200:

>> me to realise a rare error condition I hadn't expected. This virus
>> scanner didn't like scanning a 90Mb zip'ped AVI file (ahem) - whereas
>> another vendor scanner took 1.5minutes to scan it, this one took
>> nearly two hours...

> Tell them to send MPEG instead. ;-)

Excellent solution. If I read Jason correctly, though, his scanner is
actually opening zip files. Jason, would you like a copy of 42.zip?
You know, that's a 42k zip file with 10 zip files with 10 zip files
with... Unzipping stuff on the server is, well, asking for trouble.
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.


Reply via email to