qmail Digest 2 Oct 2000 10:00:00 -0000 Issue 1141

Topics (messages 49714 through 49748):

multiple default routes in smtproutes
        49714 by: O'Yang Kai
        49726 by: Charles Cazabon

Re: Best Winbloze Mail Client?
        49715 by: Johan Almqvist
        49720 by: Peter Green
        49723 by: Jan Knepper

RELAYCLIENT   with  ~control/relaymailfrom
        49716 by: reach_prashant.zeenext.com
        49725 by: Charles Cazabon

vpopmail chkpwd Error
        49717 by: Michael Moore
        49718 by: Johan Almqvist
        49719 by: Thorsten Schroeder

Re: conf-spawn and FD_SET question
        49721 by: Chris K. Young

Re: FAQ Listbot?
        49722 by: Chris K. Young

can't make user-ext work with virtual domains
        49724 by: Martin Jespersen
        49739 by: Martin Jespersen

Problems with badmailfrom/badmailpatterns with user #@[]
        49727 by: Daniel Theodoro
        49730 by: Charles Cazabon
        49744 by: Erwin Hoffmann

Re: strange problem with t-online
        49728 by: wolfgang zeikat
        49729 by: Alexander Pennace
        49731 by: wolfgang zeikat

Re: Mailbox file problems
        49732 by: Rob Hines Jr.
        49733 by: markd.bushwire.net

question about checkpoppass
        49734 by: Bassoon
        49735 by: Alexander Pennace

check password
        49736 by: Stano Paška

Connection reset by server
        49737 by: Sam Wun
        49738 by: Sam Wun

(No Subject)
        49740 by: clubysorgio
        49741 by: Brett Randall

Long delay timeout whith xinetd
        49742 by: Kornyakov Yevgeny
        49743 by: Erwin Hoffmann

help!! multiple copies of mails
        49745 by: mok swee loong

Ok, so I'm stupid... :)
        49746 by: Goran Blazic
        49748 by: Brett Randall

Limiting the size of an e-mail sent to an alias
        49747 by: Brett Randall

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,

I'm trying to increase the robustness of our qmail environment by setting up
multiple default routes in control/smtproutes such as:
... 
:hub1.company.com
:hub2.company.com

The problem is that the emails will only route to hub1 and never to hub2.
Before I try to implement round robin DNS or lbnamed, is there any way to
set up in qmail so that it will automatically fall over to hub2 if hub1
fails, or do a random choice between hub1/2?

Thanks,
Kai

CAUTION - This message may contain privileged and confidential information intended 
only for the use of the addressee named above.  If you are not the intended recipient 
of this message you are hereby notified that any use, distribution or reproduction of 
this message is prohibited.  If you have received this message in error please notify 
Siemens Ltd., ABN 98004347880, or Siemens (NZ) Limited immediately.




O'Yang Kai <[EMAIL PROTECTED]> wrote:
> 
> I'm trying to increase the robustness of our qmail environment by setting up
> multiple default routes in control/smtproutes such as:
> ... 
> :hub1.company.com
> :hub2.company.com
> 
> The problem is that the emails will only route to hub1 and never to hub2.
> Before I try to implement round robin DNS or lbnamed, is there any way to
> set up in qmail so that it will automatically fall over to hub2 if hub1
> fails, or do a random choice between hub1/2?

smtproutes isn't really there for this; it's to hardcode the equivalent of
an MX when you want to override that (for an internal domain that doesn't
have one, etc).  Is there something wrong with letting qmail look up
MX records for mail to [EMAIL PROTECTED], and using the MX records?  It will
then fall back to lower-priority MX hosts when the higher priority MX host
is unavailable, giving you your desired robustness.

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.
-----------------------------------------------------------------------




On Sat, Sep 30, 2000 at 11:44:30PM -0400, Hubbard, David wrote:
> How about MS Outlook Express?

It screwed up that reply all right... OT: doesn't mean Re: and so on...

Have you looked at Mullberry?
http://www.cyrusoft.com/mulberry/

Or The Bat
http://www.ritlabs.com/the_bat/

or PMMail
http://www.pmmail2000.com (ex OS/2)

I've heard good things about all of these...

http://directory.google.com/Top/Computers/Software/Internet/Clients/Mail/

-Johan
-- 
Johan Almqvist




also sprach brett:
> OK...I've had enuf of Outlook.

If you don't absolutely have to have a cute GUI, it looks like some folks
have compiled mutt for Windows*. It's a cygwin thing to compile, so it won't
be totally straightforward. However, if you want a tremendously powerful
mailer, I'd highly suggest at least looking into it.

<http://www.mutt.org/>
<http://www.gnt.net/~n5ial/mutt/building_mutt_on_win.html>

It also looks like The Bat! has received fairly good reviews, though I can't
attest for this personally.

<http://www.ritlabs.com/the_bat/index.html>
<http://www.zdnet.com/pcmag/features/e-mail/mail13.html>

Good luck!

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
We used to laugh at Grandpa when he'd head off and go fishing. But we wouldn't 
be laughing that evening when he'd come back with some whore he picked up in 
town.
 (Jack Handey)





I might be weird, but I have been very happy with Netscape Messenger. I have
looked at quite a few other clients, but really like Netscape best so far.

http://home.netscape.com/

Don't worry, be Kneppie!
Jan



Brett Randall wrote:

> OK...I've had enuf of Outlook.
>
> What is the best, most extensible Winbloze mail client? Tried Eudora 5, it
> sucked butt. Pegasus Mail 3 was pretty good as it was in the past, but a
> little too unusual and ugly in operation. Outlook 2000 IMHO looks nice and
> has an efficient point-and-click interface, but it handles IMAP4 like crap
> and as we all know, screws up In-Reply-To lines among other things.
> So...what is as nice as Outlook point-and-click wise, with good support for
> IMAP4, and nice and extensible (macros would be nice, and keyboard shortcuts
> a must). I'd prefer noone says 'get a real OS' since we all have our reasons
> for what we do. But at last after many comments I want a new mail client in
> the very least. One thing I like about Outlook is the way that each message
> I open is a new window, not an MDI child. That is almost a must, but if need
> be I can sacrifice this 'feature' (some may call it something else).
>
> Thankyou for your comments, and (no doubt) unneeded flames.
>
> Brett.
>
> Manager
> InterPlanetary Solutions
> http://ipsware.com/

--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>






  

    hello firends 


        is RELAYCONTROL  environment variable  overrides
~control/relaymailfrom    file , 


     i am allowing 192.168.1.0. to relay from my mail server , i want
further restriction  , such that  their IP should be with in this range and
their from address must be listed in ~control/relaymailfrom file , 

  but i have observed that RELAYCLIENT  env variable overrides 
~control/relaymailfrom  file 

  thanks & regards 
 Prashant desai 


   







[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>   
>       is RELAYCONTROL  environment variable  overrides
> ~control/relaymailfrom          file , 
[...] 
>   but i have observed that RELAYCLIENT        env variable overrides 
> ~control/relaymailfrom        file 

You answered your own question.  What do you want to hear from the 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.
-----------------------------------------------------------------------




The authorization program error  This is a really problem to me;

The fellow is how i start pop3

csh -cf '/usr/qmail/rc &'
/usr/local/bin/tcpserver -c 500 -u 1003 -g 1001 0 smtp /usr/qmail/bin/qmail-smtpd &
/usr/local/bin/tcpserver -c 500 -H -R 0 pop3 /usr/qmail/bin/qmail-popup  dbeit.com 
/mildata0/vpopmail/bin/vchkpwd /usr/qmail/bin/qmail-pop3d Maildir &


my virtual domain  is dbeit.com

one user is [EMAIL PROTECTED]

and i had been closed pop3 in my inet.conf

my host recieve all message in their correct position
but the remote client recieve mail through Outlook Express get the fellow error 
message
cann't connect to server . account 'mike@dbeit', server: 'dbeit.com', protocol POP3, 
port: 110,  socket 10061, number: 0x800CCC0E

thx 

best regard




On Sun, Oct 01, 2000 at 09:44:08PM +0800, Michael Moore wrote:

> The authorization program error  This is a really problem to me;
> The fellow is how i start pop3
> csh -cf '/usr/qmail/rc &'
> /usr/local/bin/tcpserver -c 500 -u 1003 -g 1001 0 smtp /usr/qmail/bin/qmail-smtpd &
> /usr/local/bin/tcpserver -c 500 -H -R 0 pop3 /usr/qmail/bin/qmail-popup  dbeit.com 
>/mildata0/vpopmail/bin/vchkpwd /usr/qmail/bin/qmail-pop3d Maildir &

That should be all on one line. Is it? It doesn't seem as if there is"
a pop3 server running on dbeit.com

[johan@alpha johan]$ telnet dbeit.com 110
Trying 202.109.75.200...
telnet: Unable to connect to remote host: Connection refused

> my virtual domain  is dbeit.com
> one user is [EMAIL PROTECTED]
> and i had been closed pop3 in my inet.conf
> my host recieve all message in their correct position
> but the remote client recieve mail through Outlook Express get the fellow error 
>message
> cann't connect to server . account 'mike@dbeit', server: 'dbeit.com', protocol POP3, 
>port: 110,  socket 10061, number: 0x800CCC0E

Outlook's error messages are generally worthless, but in this case
"Can't connect to server" seems quite clear. This is not an authentication
issue.

-Johan
-- 
Johan Almqvist





Hi!

On Sun, 1 Oct 2000, Michael Moore wrote:

> The authorization program error  This is a really problem to me;
> 
> The fellow is how i start pop3
[...]
> /usr/local/bin/tcpserver -c 500 -H -R 0 pop3 /usr/qmail/bin/qmail-popup  dbeit.com 
>/mildata0/vpopmail/bin/vchkpwd /usr/qmail/bin/qmail-pop3d Maildir &

I think you had to give it your fqhn and not the (virtual) domainname...
 
> my virtual domain  is dbeit.com
> one user is [EMAIL PROTECTED]

Did you login with username "mike" or "mike%dbeit.com" ?

Let´s take a look at the FAQ:

---snip---
1. How do I pop in to pick up my virtual domain email?
 
   Virtual domain users need to use the following format for thier
   user name when popping in:
 
        user%virtual_domain_name
 
   Eudora might require the following syntax
        user%virtual_domain_name@pophost
 
   If you don't include the %virtual_domain_name, vpopmail will
   assume it is either a /etc/passwd user or a vpop user in
   ~vpopmail/users or configured with "default domain".
---snip---

Bye,

Thorsten

-- 
Thorsten Schroeder <[EMAIL PROTECTED]>
Achtung: $to =~ s/ths\@gosh\.in-berlin\.de/ths\@so36\.net/g;
http://www.so36.net - non-commercial web & mailhosting
:wq





Quoted from James T. Perry:
> qmail compiles when the conf-spawn is 509 or below since
> my linux kernel 2.2.17 has a "hidden FD_SET() of 1024"
> as the compile time error msg had explained.

By the way, I'm almost willing to put money on the fact that the
next major version of qmail will no longer have this ``hidden
limit'' on operating systems that support poll(2).

Why? Because newer DJB packages use the iopause interface[1],
which internally uses poll(2). I am rather confident that qmail
will follow.

        ---Chris K.
[1] http://cr.yp.to/lib/iopause.html

-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  




Quoted from Bruno Wolff III:
>                                      Probably not responding to anything
> with a subject of Re:.* would be a good start.

Yes.

>                                                Check In-Reply-To and 
> References headers would also be a good idea.

No. You'll be surprised how many newbies start new threads by
replying to a post, ostensibly to save typing the list address.

Unless your test involves more than checking for the existence of
the fields you named, in which case my comment is irrelevant.

        ---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  




Hi all

I have a slight problem that i am apparently to stupid to figure out how to solve :(

i have set up virtual domains to all be handled by the alias user.

The alias user then forwards the mails to the virtual domains to the right local users 
or forwards
them to a remote host.

The problem i have is when forwarding to local users.

example:

i have a virtual domain like this:

domain.com:alias-domain:com


now i get a mail to [EMAIL PROTECTED] which is then handled by 
alias/.qmail-domain:com-mbj-default and
it looks like this:

&[EMAIL PROTECTED]

the problem is that user mbj doesn't have control over [EMAIL PROTECTED] with this 
setup since
[EMAIL PROTECTED] also goes to

[EMAIL PROTECTED]


and not

[EMAIL PROTECTED]

like i want it to.... how can i make it work the right way?

i mean, without having to set up individual .qmail-ext files for all the users in 
alias's home
dir....

/Martin




Hi all

I have a slight problem that i am apparently to stupid to figure out how to solve :(

i have set up virtual domains to all be handled by the alias user.

The alias user then forwards the mails to the virtual domains to the right local users 
or forwards
them to a remote host.

The problem i have is when forwarding to local users.

example:

i have a virtual domain like this:

domain.com:alias-domain:com


now i get a mail to [EMAIL PROTECTED] which is then handled by 
alias/.qmail-domain:com-mbj-default and
it looks like this:

&[EMAIL PROTECTED]

the problem is that user mbj doesn't have control over [EMAIL PROTECTED] with this 
setup since
[EMAIL PROTECTED] also goes to

[EMAIL PROTECTED]


and not

[EMAIL PROTECTED]

like i want it to.... how can i make it work the right way?

i mean, without having to set up individual .qmail-ext files for all the users in 
alias's home
dir....

/Martin




How is the best way to deny messages from this user -> #@[] ?

I put it in my badmailfrom/badmailpatterns but it still send email from
my smtp's

Some idea ?

=========================
Daniel Theodoro
Tecnologia - iG






Daniel Theodoro <[EMAIL PROTECTED]> wrote:
> How is the best way to deny messages from this user -> #@[] ?
> 
> I put it in my badmailfrom/badmailpatterns but it still send email from
> my smtp's

That address is the standard one used for bounces.  That's why badmailfrom
doesn't let you block it.

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.
-----------------------------------------------------------------------




At 16:09 1.10.2000 -0300, Daniel Theodoro wrote:
>How is the best way to deny messages from this user -> #@[] ?
>
>I put it in my badmailfrom/badmailpatterns but it still send email from
>my smtp's
>
>Some idea ?

Difficult, because they are control characters (check DJB "E Mail Header"
page).
In your case, E-Mails with the "RCPT TO:" lines seem to be bounces. Use my
SPAMCONTROL patch (version 1.30) which includes additional sender MX checks.

cheers.
eh.

>
>=========================
>Daniel Theodoro
>Tecnologia - iG
>
>
>
+-----------------------------------------------------------------------+
|  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+




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
>
>





On Sun, Oct 01, 2000 at 09:12:45PM +0200, wolfgang zeikat wrote:
> 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?

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

PGP signature





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





Hmm...Okay, well, I'm using QPOP 3.0.2, I've even recompiled it a couple
times. When I look at the messages that are getting appended. There is a
normal header at the beginning, but at the end, the header of the next
message is prefixed with a '>' on the first line of the header. I'll see
if I can also ask someone associated with Qualcomm, but I have this setup
running on other systems without any problems (read exactly the same but
for hardware and the SMTP_AUTH patch).

The problematic system is:

Sun Ultra II Enterprise w/ dual 200mhz chips
1.2G RAM
20G SCSI storage
Solaris 8
qmail 1.03 w/ Mrs. Brisby's SMTP_AUTH patch, and checkpasswd
QPOP 3.0.2

Hope that helps. If I /have/ to, I'll go to Maildir, but I'd hate to have
to do that.

Please let me know.
Rob

On Fri, 29 Sep 2000, Aaron L. Meehan wrote:

> Quoting Rob Hines Jr. ([EMAIL PROTECTED]):
> > 
> > I am running qmail on a Solaris system, and have had nothing but good
> > luck with it. I installed Mrs. Brisby's smtp_auth patch, and all is good
> > delivering to homedir Mailboxes. I am having a problem though.
> > Occasionally users will retrieve their mail to find one message appended
> > to the end of the previous one. I am at a loss as to why this might
> > happen.
> 
> Ahem, you forget something: what pop3 server are you using?  Since
> qmail-pop3d only reads Maildirs, then you're using something else.
> Indeed, since we know that qmail-local does write correctly to
> mbox-format, then that would probably preclude qmail from being the
> problem.  Hence, you're almost off-topic :-)
> 
> In an mbox-style mailbox, each email is seperated by a newline then
> "From " -- so if you're really using qmail-local for delivery, then
> your POP3 server is misbehaving.  OTOH, if you'are using something
> else for delivery, like procmail for instance, then it might not be
> writing properly.  Perhaps, also, the mailbox isn't properly being
> locked while another process is reading it, which can result in
> corrupt mailboxes--a good argument for Maildir delivery.  Since it
> would appear to be infrequent, then the latter seems likely.  Anyway,
> I'm just guessing.
> 
> In short, more info is needed!
> 
> Aaron
> 





On Sun, Oct 01, 2000 at 08:40:33PM -0500, Rob Hines Jr. wrote:
> Hmm...Okay, well, I'm using QPOP 3.0.2,

You mean qpopper from qualcomm?

> I've even recompiled it a couple times.

Did you change any config values between the recompiles or did you just
recompile and expect the compiler would generate different code each time?
If the former, what did you change? If the latter, why did you expect that?

> When I look at the messages that are getting appended. There is a
> normal header at the beginning, but at the end, the header of the next
> message is prefixed with a '>' on the first line of the header. I'll see

Why not show us those lines exactly? It would help. Are they, perchance lines
that start with the string "From "?

> Hope that helps. If I /have/ to, I'll go to Maildir, but I'd hate to have
> to do that.

Why is that? You might get a pleasant surprise. If your users only access
via POP, then the change-over may be worth it.

> Please let me know.

One issue is whether qpopper is compiled to use the same locking method as
qmail-local. The dot-qmail manpage explains the locking method that qmail-local
uses.


Regards.




Question ... I use checkpoppass to check users passwd's ... But how do I add an account to qmail that isn't system wide




On Sun, Oct 01, 2000 at 10:27:55PM -0400, Bassoon wrote:
> Question ... I use checkpoppass to check users passwd's ... But how do I add
> an account to qmail that isn't system wide

1. Please don't send HTML mail with attached graphics.

2. Look into vpopmail or vmailmgr. Links to those and other useful
qmail things are at http://www.qmail.org/top.html

PGP signature





Can I use users/passwords from WIN NT server for qmail/vpopmail?
And how?
 
Stano.
 




I have installed qmail server in my FreeBSD 4.1.1-stable box, I've also
got tcpserver, courier-imap running, ipfilter and IPsec running as well.
IPsec is running between my cllient and server box. The following
diagram illustrate the my basic networking:

Client (FreeBSD 4.1-stable) -> Server (FreeBSD 4.1.1-stable) ->Internet
(sendmail)                                        (Qmail server)
sec.rock.com                                    fastline.rock.com

I don't think ipfilter and IPSec blocks the connection, because server
box (FreeBSD 4.1.1-stable) can send email to the client machine (FreeBSD
4.1-stable). The problem is the client box cannot send email to the
server. Whenever it sends email, an error msg will be raised by sendmail
with the "Connection reset by server" err msg. Besides, server can
client can ping each other, and client can ping and lynx outside wild
wild internet websites. I can send emails within my server box. email
can be sent to theh client box.

Here is the error msg from /var/log/maillog:
Oct  2 14:58:04 sec sendmail[2205]: e91M8Zv00283:
[EMAIL PROTECTED], ct
laddr=swun (1000/1000), delay=05:49:29, xdelay=00:00:00, mailer=esmtp,
pri=12008
14, relay=fastline.rock.com., dsn=4.0.0, stat=Deferred: Connection reset
by fast
line.rock.com.

My nmap -v in my client machine shows:
Port       State       Service
22/tcp     open        ssh
25/tcp     open        smtp
111/tcp    open        sunrpc
587/tcp    open        submission

Nmap -v in the server machine shows:
Port       State       Service
22/tcp     open        ssh
25/tcp     open        smtp
53/tcp     open        domain
110/tcp    open        pop-3
143/tcp    open        imap2
5432/tcp   open        postgres
6000/tcp   open        X11

I run tcpserver with:
/usr/local/bin/tcpserver -x/usr/local/etc/tcp.smtp.cdb \
        -u$QMAILDUID -g$NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd\
        /var/qmail/bin/qmail-smtpd 2>&1 &

The portmap_enable and sendmail_enable are set to NO in file
/etc/rc.conf.

Can anyone tell me what may be wrong with it?

Thanks
Sam.





I forgot to mention that the client box can send email to the wild wild
internet.

Sam Wun wrote:

> I have installed qmail server in my FreeBSD 4.1.1-stable box, I've also
> got tcpserver, courier-imap running, ipfilter and IPsec running as well.
> IPsec is running between my cllient and server box. The following
> diagram illustrate the my basic networking:
>
> Client (FreeBSD 4.1-stable) -> Server (FreeBSD 4.1.1-stable) ->Internet
> (sendmail)                                        (Qmail server)
> sec.rock.com                                    fastline.rock.com
>
> I don't think ipfilter and IPSec blocks the connection, because server
> box (FreeBSD 4.1.1-stable) can send email to the client machine (FreeBSD
> 4.1-stable). The problem is the client box cannot send email to the
> server. Whenever it sends email, an error msg will be raised by sendmail
> with the "Connection reset by server" err msg. Besides, server can
> client can ping each other, and client can ping and lynx outside wild
> wild internet websites. I can send emails within my server box. email
> can be sent to theh client box.
>
> Here is the error msg from /var/log/maillog:
> Oct  2 14:58:04 sec sendmail[2205]: e91M8Zv00283:
> [EMAIL PROTECTED], ct
> laddr=swun (1000/1000), delay=05:49:29, xdelay=00:00:00, mailer=esmtp,
> pri=12008
> 14, relay=fastline.rock.com., dsn=4.0.0, stat=Deferred: Connection reset
> by fast
> line.rock.com.
>
> My nmap -v in my client machine shows:
> Port       State       Service
> 22/tcp     open        ssh
> 25/tcp     open        smtp
> 111/tcp    open        sunrpc
> 587/tcp    open        submission
>
> Nmap -v in the server machine shows:
> Port       State       Service
> 22/tcp     open        ssh
> 25/tcp     open        smtp
> 53/tcp     open        domain
> 110/tcp    open        pop-3
> 143/tcp    open        imap2
> 5432/tcp   open        postgres
> 6000/tcp   open        X11
>
> I run tcpserver with:
> /usr/local/bin/tcpserver -x/usr/local/etc/tcp.smtp.cdb \
>         -u$QMAILDUID -g$NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd\
>         /var/qmail/bin/qmail-smtpd 2>&1 &
>
> The portmap_enable and sendmail_enable are set to NO in file
> /etc/rc.conf.
>
> Can anyone tell me what may be wrong with it?
>
> Thanks
> Sam.





Title: Message
 







MessageApart from the fact that (and this I guess :> ) was a pointless waste
of bandwidth for the qmail list,
1. We don't like HTML messages in general...
2. Your date looks screwed

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/

  -----Original Message-----
  From: clubysorgio [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, 5 October 2014 4:52 PM
  To: [EMAIL PROTECTED]
  Subject: (No Subject)





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









Hi !
I use xinetd for invoking qmail
next configuration:

service smtp
{                                                                                      
                         
flags       = NODELY REUSE NAMEINARGS                                                  
                         
socket_type = stream                                                                   
                         
protocol    = tcp                                                                      
                         
wait        = no                                                                       
                         
user        = qmaild                                                                   
                         
id          = smtp                                                                     
                         
server      = /var/qmail/bin/tcp-env                                                   
                         
server_args = -R /var/qmail/bin/qmail-smtpd                                            
                         
log_on_success -= DURATION USERID PID HOST EXIT                                        
                         
log_on_failure -= USERID HOST ATTEMPT RECORD                                           
                         
}

but I have delay about 10 sec when I try to use smtp
How I can remove this delay ????
P S:  iF i remove -R option delay become 1 or 1.5 minutes
  and next question how I can set relay rules






Hi,


At 14:02 2.10.2000 +0600, Kornyakov Yevgeny wrote:
>Hi !
>I use xinetd for invoking qmail
>next configuration:
>
>service smtp
>{
                                     
>flags       = NODELY REUSE NAMEINARGS
                                     

-- I think, those are obsolete and may cause the delay.

>socket_type = stream
                                     
>protocol    = tcp
                                     
>wait        = no
                                     
>user        = qmaild
                                     
>id          = smtp
                                     
>server      = /var/qmail/bin/tcp-env
                                     
>server_args = -R /var/qmail/bin/qmail-smtpd
                                     
>log_on_success -= DURATION USERID PID HOST EXIT
                                     
>log_on_failure -= USERID HOST ATTEMPT RECORD
                                     
>}
>
--- you should check, WHERE Xinetd stores the log. Ususally thats defined
in the header section of the xinetd.conf Check also your /etc/syslog.conf.

>but I have delay about 10 sec when I try to use smtp
>How I can remove this delay ????
>P S:  iF i remove -R option delay become 1 or 1.5 minutes
>  and next question how I can set relay rules

-- you have to use tcpserver instead or to apply the "relaymailfrom" or my
SPAMCONTROL patch.

http://www.fehcom.de/qmail_html

cheers.
eh.
>
>
>
+-----------------------------------------------------------------------+
|  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+




hi all,
i'm using qmail with vpopmail (inter7).  i'm having this problem that, i've
set up alias files at /home/vpopmail/domains/mydomain/.qmail-myalias

and the file format is
/home/vpopmail/domains/mydomain/user1/Maildir/
/home/vpopmail/domains/mydomain/user2/Maildir/
/home/vpopmail/domains/mydomain/user3/Maildir/
/home/vpopmail/domains/mydomain/user4/Maildir/
/home/vpopmail/domains/mydomain/user5/Maildir/
/home/vpopmail/domains/mydomain/user6/Maildir/

sometime (inconsistant problem), some users, for example user1 and user6
will receive multiple copy of the same mail that sent to this
[EMAIL PROTECTED] over and over again, what could be wrong here? where
should i start tracking this problem from?

thanks!

mok swee loong







I have this problem I dont even know how to start solving...

There is this mail server for a company that is online most of the time
(18-20 hours a day), but it can happen, that the server goes offline for
some period (dont ask, I tried, but they dont want to change it!).
Ok, I thought, so I put that server as the primary MX, and put another as a
lower priority MX...

As far as I understand this, any mail server that want to send mail to the
primary MX will do so, if that server is available. If not, it will use a
lower priority one.... Correct?
Ok, but how do I get the lower priority mail server to send mail to the
primary one when he comes online? My guess is that something like smptget*
(whatever) is not really a sollution...

Thanks in advance, Goran

egrave - Slovenskih fantov elektronski grob





> As far as I understand this, any mail server that want to send mail to the
> primary MX will do so, if that server is available. If not, it will use a
> lower priority one.... Correct?
Yes

> Ok, but how do I get the lower priority mail server to send mail to the
> primary one when he comes online? My guess is that something like smptget*
> (whatever) is not really a sollution...
A few ideas here...
1. Have a rexec script set up...when the primary one comes online, it
rexec's a script on the secondary server that runs /etc/rc.d/init.d/qmail
alrm (presuming you are using SysVinit style scripts...if not, check them
out and find out how to send alrm to svc). I use this for all of our
subsidiary servers. You may have to play with sudo a bit...
2. Learn about the ETRN capabilities of qmail
3. Mail is deferred on the secondary server, not just held. At extending
intervals, it is attempted to be sent again. (It is almost logarithmic...but
I don't guarantee this). You could just wait. That may mean mail won't be
delivered for up to 4 hours after the primary server comes online, but its
easy, and it could win you some points to keep your primary server online
permanently!

Enjoy

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/


> -----Original Message-----
> From: Goran Blazic [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 02, 2000 7:32 PM
> To: '[EMAIL PROTECTED]'
> Subject: Ok, so I'm stupid... :)
>
>
> I have this problem I dont even know how to start solving...
>
> There is this mail server for a company that is online most of the time
> (18-20 hours a day), but it can happen, that the server goes offline for
> some period (dont ask, I tried, but they dont want to change it!).
> Ok, I thought, so I put that server as the primary MX, and put
> another as a
> lower priority MX...
>

>
> Thanks in advance, Goran
>
> egrave - Slovenskih fantov elektronski grob
>
>





OK I want to limit the size of e-mails to particular aliases on my qmail
system. This is a weird concept, and not a natural one, I know, so here's
the time for some of you to be real inventive!

Basically, I am using fastforward in conjunction with supervise, tcpserver,
multilog, (qmail, in case there r some drongo's out there), the whole
shabang. I want some users in the aliases file to be limited in the size of
an e-mail that I send to them (I act virtually as an incoming relay for
these users... Mail hits me from the Internet and I 'bounce' it to the
appropriate user somewhere else on the net). I only have limited outgoing
bandwidth (but virtually unlimited coming in), so I would much rather reject
e-mails than send them to the user or bounce the entire e-mail back to the
originator.

I know the databytes file can limit ALL e-mail, but I want to limit it for
particular aliases (the $LOCAL part of the recipient). Remember that e-mails
handled by fastforward are actually delivered to the alias user first, and
piped in .qmail-default, so there may be some way of setting databytes on
the fly, depending on the user that it appears to be delivered to and the
'rule' set up for that user's e-mail limit. I don't know the best way of
implementing this, or even in what stage of the delivery databytes is read,
so any ideas from any of you smart people out there?

Thanks

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/




Reply via email to