Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail.cf: virtusertable not usable / NOQUEUE: SYSERR(smmsp): QueueDirectory (Q) option must be set /

120 views
Skip to first unread message

Torsten Valentin

unread,
Aug 12, 2002, 9:54:38 AM8/12/02
to
Hi!

I have a sendmail problem. 3 years ago I built a sendmail.cf for my 8.9.3
version. Today I want to set up amavis using milter and therefore I updated
to the actual release (8.15.5). I am using debian testing.

The debian packet asked me during installation, if it should build now a new
version of sendmail.cf according to the old sendmail.cf I have. I said yes,
but I seems that this process went wrong.

My sendmail does not have to do a lot of things, it sends to local user
accounts and external mail via a smarthost. I have some users on my machine
and the e-mail-adresses match the local user names in very rare cases only,
besides I have multiple domains sendmail should accept mail for, so I used
the virtusertable to map usernames against e-mail-adresses:

------

melanie....@musiker.de melanie

@musiker.de torsten

@meine-zweite-domain.de torsten

------

and so on, these are about 25 entries.

My new sendmail.cf, built by some debian package tool, which uses the
8.15-syntax, does not seem to use the virtusertable. Activating the new
config resulted in the problem that the virtusertable was obviously not read
anymore and therefore emails were rejected because of "user unknown":

------

server1:/etc/mail# nc 127.0.0.1 25 </tmp/mail

220 server1.musiker.de ESMTP Sendmail 8.12.5/8.12.5/Debian-1; Mon, 12

Aug 2002 10:00:51 +0200; (No UCE/UBE) logging access from:

localhost(OK)-root@localhost [127.0.0.1]

250 server1.musiker.de Hello root@localhost [127.0.0.1], pleased to meet

you

250 2.1.0 NO-...@musiker.de... Sender ok

550 5.1.1 no-...@musiker.de... User unknown

221 2.0.0 server1.musiker.de closing connection

server1:/etc/mail#

So I thought the feature might not be in the config and so I added the
following line to sendmail.cf:

-----

Kvirtuser hash -o /etc/mail/virtusertable.db

-----

That unfortunately did not help (I did "makemap hash" and ensured the
permissions are correct).

When I switch to the old sendmail.cf I used in sendmail 8.9.3, virtusertable
is used again and mail sent correctly. I cannot continue using the old
sendmail.cf because I need to switch to migrate using milter and other
reasons.

Another problem is that some cron job (so no matter if sendmail is running
or not) I get these error-messages in /var/log/mail/mail.log regularly:

Aug 12 11:10:02 server1 sm-msp-queue[15496]: NOQUEUE: SYSERR(smmsp): No

local mailer defined

Aug 12 11:10:02 server1 sm-msp-queue[15496]: NOQUEUE: SYSERR(smmsp):

QueueDirectory (Q) option must be set

Aug 12 11:10:02 server1 sendmail[15498]: NOQUEUE: SYSERR(smmsp): No

local mailer defined

Aug 12 11:10:02 server1 sendmail[15498]: NOQUEUE: SYSERR(smmsp):

QueueDirectory (Q) option must be set

I don't know why this is so and I cannot imagine that sendmail does not
have a mailer, it can send mail locally in case the e-mail-adress is valid
without having to look into virtusertable.

So can anybody explain these two issues to me? (A hint what to do would even
be better!)

Regards,

Torsten

(news1 AT musiker DOT de)

Andrzej Filip

unread,
Aug 14, 2002, 7:24:00 AM8/14/02
to
Torsten Valentin wrote:
>[...]

It was bad submit.cf - problem solved in another thread started by the same
author.

--
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
I may disagree with the following *random epigram* :
Brahma said: Well, after hearing ten thousand explanations, a fool is no
wiser. But an intelligent man needs only two thousand five hundred.
-- The Mahabharata

0 new messages