one host with several hostnames?

2001-01-31 Thread Michael Renner

Hello,

i have the following situation:


+-+
|   qmail 1.03|  
 eth0 --| gemini.qad.org  |
| |
 ppp0 --| gemini.myip.org |
+-+

My host should accept mails to gemini.qad.org
as well as gemini.myip.org, because it is the
same machine.

What I did:
I edited the configure files 'locals', 
'rcpthosts' and 'virtualdomains' and wrote
the additional hostname in there.
The virtualdomains:
tuebingen.mpg.de:
gemini.myip.org:
:alias-ppp

But it appears like an urgly hack to me.
Is there a better way to reach the needed
functionality?

Thanks for answers and hints
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-72072 Tuebingen   Germany|
|Germany Don't drink as root!  ESC:wq



unable to switch to queue directory

2000-11-12 Thread Michael Renner

Hello,
after installing qmail again on my machine
I'm having some troubles with qmail.  Here's what I get
while starting /etc/init.d/qmail

qmail: 974053338.446009 alert: cannot start: unable to switch to queue 
directory

I've looked through the archives, and I checked the permissions on the queue:

cassiopeia:/root # ls -ld /var/spool/qmail
drwxr-x---   11 qmailq   qmail1024 Nov 10 23:51 /var/spool/qmail 

cassiopeia:/root # ls -l /var/spool/qmail/
total 9
drwx--2 qmails   qmail1024 Nov 10 23:37 bounce
drwx--   25 qmails   qmail1024 Nov 10 23:51 info
drwx--2 qmailq   qmail1024 Nov 12 18:48 intd
drwx--   25 qmails   qmail1024 Nov 10 23:51 local
drwxr-x---2 qmailq   qmail1024 Nov 10 23:51 lock
drwxr-x---   25 qmailq   qmail1024 Nov 10 23:51 mess
drwx--2 qmailq   qmail1024 Nov 12 18:48 pid
drwx--   25 qmails   qmail1024 Nov 10 23:51 remote
drwxr-x---2 qmailq   qmail1024 Nov 12 18:48 todo


-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-72072 Tuebingen   Germany|
|Germany Don't drink as root!  ESC:wq



serialsmtp: fatal: network read error: no error

2000-11-06 Thread Michael Renner

Hi,
I installed qmail and serialmail and configured it,
that outgoing mail is queue in ~alias/pppdir.
That work fine.
But the system will to sent the mails out:
gemini:/root # maildirsmtp ~alias/pppdir alias-ppp- mail.gmx.de 
mpik180.kyb.tuebingen.mpg.de
serialsmtp: fatal: network read error: no error
serialsmtp: fatal: network read error: no error
serialsmtp: fatal: network read error: no error
maildirserial: fatal: making no progress, giving up

The host mail.gmx.de is the smtp server from my
ISP. It is reachable. mpik180.kyb.tuebingen.mpg.de
is the 'official' hostname of my linux box.

When I sent mail from the mailclient direct to
the isp, everything works fine.

What can be wrong?
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-72072 Tuebingen   Germany|
|Germany Don't drink as root!  ESC:wq



the bounce bounced!

2000-07-20 Thread michael . renner

Hello,
when I mail for an unknown user arraived a bounce
message is generated. But this message bounce,
my smarthost wont deliver that:
cut--
Hi. This is the maildirbounce program at terramenta.de.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
195.20.224.204 said: 503 Valid RCPT TO recipient must precede DATA

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 2419 invoked for bounce); 20 Jul 2000 16:31:09 -
cut--

I see the problem: The empty Return-Path, but I don`t
know where to fix this!

Any hints or pointers?
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq



from-adresse in bounce-mail

2000-07-19 Thread michael . renner

Moin,
all mails written or delivered to my server 
ruppert.terramenta.de are adress masqueraded,
that they have the form [EMAIL PROTECTED].
That works fine.
But when a mail bounce because the adress is
not existent (e.g. [EMAIL PROTECTED]) the
mailadresse from the mailer-daemon is still
[EMAIL PROTECTED]
  ^^^
The smarthost I use only transport mail
with adresses from terramenta.de, so the 
mail from [EMAIL PROTECTED]
bounce. So, what do I have to do to masquerade the
adresse from MAILER-DAEMON to [EMAIL PROTECTED],
as it works for 'normal' users?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq



vpopmail/qmailadmin with fetchmail and maildirsmtp: where to start?

2000-07-18 Thread michael . renner

Hello,
I run a small internal network. All mails for the
employees are transfered through an isdn dial-up
line. I use fetchmail, qmail therefor, mails are
sent by using maildirsmtp.
Every mail-user needs an own account on this
linux router, which is not needful for the normal
work.

Now I installed vpopmail and qmailadmin to
change this, but I dont know where to start!

How do I have to configure fetchmail to transfer
the mails not to the system users (I fetch mails from a
multidrop mailbox with pop3)?
What else do I have to change? And how should I
handle these users, which still needs a
user account on this router/gateway/mailer as
well as a mailaccount?

Thanks in advance for hints and pointers to the
documentation.
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq



how to check if mails queued in ~alias

2000-07-17 Thread michael . renner

Hello,
I want to write a simple script to check if
mails are queued in /var/qmail/alias/pppdir/new
to decide, wheter the PC should go online or not.
Is there a spezial command like 'qmail-queue' to
decide if the computer should dial (isdn) to the
provider and send the queued mails using maildirsmtp?

Of cource, I can check this with
# if ls var/qmail/alias/pppdir/new then;
but maybe there is an other way?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq