Jump to content
Froxlor Forum
  • 0

[solved] Dovecot: /usr/lib/dovecot/deliver: option requires an argument


ometiclan

Question

Hallo Welt!

 

Ich bastle mir gerade ein sch?nes Shellscript f?r das Setup eines VRS zusammen.

Funktioniert auch schon sehr gut, aus einem sich mir nicht n?her erschlie?enden Grund hakt es aber leider noch beim Mailempfang.

 

SMTP ist Postfix/Dovecot, POP3/IMAP eben Dovecot.

 

Das versenden von Mails funktioniert ohne Probleme.

Wenn ich allerdings auf das verschickte (und in diesem Fall von mir - mit einem anderen Mailserver empfangene) Mail antworten m?chte, bekomme ich als Antwort

Undelivered Mail Returned to Sender

This is the mail system at host mail.spock.bigbytes.at.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

                   The mail system

<coco@bigbytes.at>: command line usage error. Command output:
    /usr/lib/dovecot/deliver: option requires an argument -- 'd' Usage:
    dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>]
    [-f <envelope sender>] [-m <mailbox>] [-e] [-k]

Das System:

 

Debian Wheezy

Webserver: Apache/2.2.22 (Debian)

PHP-Version: 5.4.4-14+deb7u7
MySQL Server Version: 5.5.35-0+wheezy1
Froxlor 0.9.31.2-1
 
 
Und der entsprechende Auszug aus dem mail.log
Feb 26 09:56:22 spock dovecot: master: Warning: Killed with signal 15 (by pid=15765 uid=0 code=kill)
Feb 26 09:56:22 spock dovecot: imap(coco@bigbytes.at): Server shutting down. in=1079 out=2458
Feb 26 09:56:22 spock dovecot: master: Dovecot v2.1.7 starting up (core dumps disabled)
Feb 26 09:59:47 spock postfix/pickup[18608]: BDA664B3E40: uid=0 from=<root>
Feb 26 09:59:47 spock postfix/cleanup[18126]: BDA664B3E40: message-id=<20140226085947.BDA664B3E40@mail.spock.bigbytes.at>
Feb 26 09:59:47 spock postfix/qmgr[6016]: BDA664B3E40: from=<root@spock.bigbytes.at>, size=426, nrcpt=1 (queue active)
#---------------------------------------------------------------------------
Feb 26 09:59:47 spock postfix/pipe[18130]: BDA664B3E40: to=<coco@bigbytes.at>, relay=dovecot, delay=0.07, delays=0.05/0.01/0/0.02, dsn=5.3.0, status=bounced (command line usage error. Command output: /usr/lib/dovecot/deliver: option requires an argument -- 'd' Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>]                    [-f <envelope sender>] [-m <mailbox>] [-e] [-k] )
#---------------------------------------------------------------------------
Feb 26 09:59:47 spock postfix/cleanup[18126]: CA71F4D9B2F: message-id=<20140226085947.CA71F4D9B2F@mail.spock.bigbytes.at>
Feb 26 09:59:47 spock postfix/bounce[18132]: BDA664B3E40: sender non-delivery notification: CA71F4D9B2F
Feb 26 09:59:47 spock postfix/qmgr[6016]: CA71F4D9B2F: from=<>, size=2638, nrcpt=1 (queue active)
Feb 26 09:59:47 spock postfix/qmgr[6016]: BDA664B3E40: removed
Feb 26 09:59:47 spock postfix/cleanup[18126]: CE6714B3E40: message-id=<20140226085947.CA71F4D9B2F@mail.spock.bigbytes.at>
Feb 26 09:59:47 spock postfix/local[18133]: CA71F4D9B2F: to=<root@spock.bigbytes.at>, relay=local, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (forwarded as CE6714B3E40)
Feb 26 09:59:47 spock postfix/qmgr[6016]: CE6714B3E40: from=<>, size=2779, nrcpt=1 (queue active)
Feb 26 09:59:47 spock postfix/qmgr[6016]: CA71F4D9B2F: removed

Kann mir vielleicht jemand auf die Spr?nge helfen? Ich hab nicht mal einen Ansatzpunkt... Danke. :)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

1. Ja,nat?rlich. Ich hab die Config 1:1 kopiert und in mein Shellscript eingef?gt.

 

2. ABER ... Ich hab nat?rlich nicht daran gedacht, dass mein echo "..." im Script, welches ich verwendet habe um das MYSQL-Passwort (welches ich beim Start des Skripts Abfrage) dann in den verschiedenen Configs einzuf?gen, nat?rlich die $variablen in der master.cf als Skriptvariablen interpretiert... und in weiterer Folge die Config dann ohne Variablen in das Configfile schreibt.

 

Das ?ndern von echo "..." auf echo '...' hat geholfen. Genau diesen Denkansto? hab ich gebraucht, danke dir! :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...