Voicemail und Postfix

RealFairPlayer

Neuer User
Mitglied seit
30 Mai 2005
Beiträge
113
Punkte für Reaktionen
0
Punkte
0
Hi zusammen,

Okay, nun werden meine Emails endlich richtig mit Dateianhang über einen externen MTA versendet. Nur unter /var/log/maillog bekomme ich noch die Meldung:
Aug 22 15:58:53 voip postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, or check)


Die verstehe ich nicht, vielleicht kann mir einer von euch sagen warum die Meldung kommt (ich kann nicht feststellen auf welcher Historie sie ausgegeben wird) ... und wie ich sie wegbekomme :)

Danke schon mal im vorraus,

Grüße,
Matze

P.S Hier meine Voicemail.conf

Code:
format=wav
serveremail=212.227.39.2
attach=yes
maxmessage=180
skipms=3000
maxsilence=5
silencethreshold=128
maxlogins=3
externnotify=/usr/sbin/postfix
externpass=/usr/sbin/postfix
;charset=ISO-8859-1
; The ADSI feature descriptor number to download to 
;adsifdn=0000000F
; The ADSI security lock code
;adsisec=9BDBF7AC
; The ADSI voicemail application version number.
;adsiver=1
; Skip the "[PBX]:" string from the message title
;pbxskip=yes
; Change the From: string
;fromstring=The Asterisk PBX
; Permit finding entries for forward/compose from the directory
;usedirectory=yes
;
;Change the From: string for pager messages
;pagerfromstring=The Asterisk PBX
;
; Change the email body and/or subject, variables: 
;     VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM, VM_CIDNAME, VM_DATE
;
; Note: The emailbody config row can be up to 512 characters due to a limitation in 
;       asterisk config files.
emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
; The following definition is very close to the default, but the default shows just 
; the CIDNAME, if it is not null, else just the CIDNUM, or "an unknown caller" if they are both null.
emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n

;
; You can override the default program to send e-mail if you wish, too
;
mailcmd=/usr/sbin/sendmail.postfix -t -oi
; 
; Users may be located in different timezones, or may have different 
; message announcements for their introductory message when they enter 
; the voicemail system. Set the message and the timezone each user 
; hears here. Set the user into one of these zones with the tz= attribute 
; in the options field of the mailbox. Of course, language substitution 
; still applies here so you may have several directory trees that have 
; alternate language choices. 
; 
; Look in /usr/share/zoneinfo/ for names of timezones. 
; Look at the manual page for strftime for a quick tutorial on how the 
; variable substitution is done on the values below. 
; 
; Supported values: 
; 'filename'    filename of a soundfile (single ticks around the filename required)
; ${VAR}        variable substitution 
; A or a        Day of week (Saturday, Sunday, ...) 
; B or b or h   Month name (January, February, ...) 
; d or e        numeric day of month (first, second, ..., thirty-first) 
; Y             Year 
; I or l        Hour, 12 hour clock 
; H             Hour, 24 hour clock (single digit hours preceded by "oh") 
; k             Hour, 24 hour clock (single digit hours NOT preceded by "oh") 
; M             Minute 
; P or p        AM or PM 
; Q             "today", "yesterday" or ABdY (*note: not standard strftime value) 
; q             "" (for today), "yesterday", weekday, or ABdY (*note: not standard strftime value) 
; R             24 hour time, including minute 
; 
; 

;
; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
; if the e-mail is specified, a message will be sent when a message is
; received, to the given mailbox. If pager is specified, a message will be sent there as well. If the password is prefixed by '-' then it is considered to be unchangable
;
; Advanced options example is extension 4069
; NOTE: All options can be expressed globally in the general section, and overriden in the per-mailbox 
; settings, unless listed otherwise.
; 
 tz=central 		; Timezone from zonemessages above.  Irrelevant if envelope=no.
 attach=yes 		; Attach the voicemail to the notification email *NOT* the pager email
 saycid=yes 		; Say the caller id information before the message. If not described, 
			;     or set to no, it will be in the envelope
; cidinternalcontexts=intern	; Internal Context for Name Playback instead of extension digits when saying caller id.
; sayduration=no 	; Turn on/off the duration information before the message. [ON by default]
; saydurationm=2        ; Specify the minimum duration to say. Default is 2 minutes
; dialout=fromvm 	; Context to dial out from [option 4 from the advanced menu]
			;     if not listed, dialing out will not be permitted
sendvoicemail=yes	; Context to Send voicemail from [option 5 from the advanced menu]
  			; if not listed, sending messages from inside voicemail will not be 
			; permitted
; callback=fromvm 	; Context to call back from  
			;     if not listed, calling the sender back will not be permitted
; review=yes 		; Allow sender to review/rerecord their message before saving it [OFF by default
; operator=yes 		; Allow sender to hit 0 before/after/during  leaving a voicemail to 
			;     reach an operator  [OFF by default]
; envelope=no 		; Turn on/off envelope playback before message playback. [ON by default] 
			;     This does NOT affect option 3,3 from the advanced options menu
; delete=yes		; After notification, the voicemail is deleted from the server. [per-mailbox only]
			;     This is intended for use with users who wish to receive their voicemail ONLY by email.
; nextaftercmd=yes	; Skips to the next message after hitting 7 or 9 to delete/save current message.
			;     [global option only at this time] 
; forcename=yes		; Forces a new user to record their name.  A new user is
			;     determined by the password being the same as
			;     the mailbox number.  The default is "no".
; forcegreetings=no	; This is the same as forcename, except for recording
			;     greetings.  The default is "no".
; hidefromdir=yes	; Hide this mailbox from the directory produced by app_directory
			;     The default is "no".

[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'

[default]
777 => 777,Matthias,[email protected]
 
1) Kommentiere die Parameter externnotify=/usr/sbin/postfix und externpass=/usr/sbin/postfix aus!
2) Setze mailcmd=/usr/sbin/sendmail -t -oi (in der CVS-Version)
und berichte dann noch mal! :)
 
Hi Stevie,

Mittlerweile läuft das schon wunderbar, trotzdem vielen lieben Dank für den Tip, genau das war der Fehler übrigens, hatte die entsprechende Hilfe vom Suse Board :)

cu,
Matze
 
Freut mich zu hören! Aber eine freundliche Bitte:
Wenn Du Dein Problem selber hast lösen können, dann schreib' doch bitte entweder die Lösung als Antwort auf Deine eigene Frage oder lösche das Original-Posting dazu!
Es ist relativ unspaßig Antworten auf längst gelöste Probleme zu geben! Die Zeit anderer Leute ist auch etwas wert. ;-)
Grüße
Stevie
 
stevie schrieb:
Freut mich zu hören! Aber eine freundliche Bitte:
Wenn Du Dein Problem selber hast lösen können, dann schreib' doch bitte entweder die Lösung als Antwort auf Deine eigene Frage oder lösche das Original-Posting dazu!
Es ist relativ unspaßig Antworten auf längst gelöste Probleme zu geben! Die Zeit anderer Leute ist auch etwas wert. ;-)
Grüße
Stevie

Als "RealFairPlayer" sollte man das wohl wissen ;)

jo
 
STOP !!!!!

Das mache ich doch auch, nur hat meine Lösung so gar nichts mehr mit dem ursprünglichen Problem zu tun, oder anders gesagt, ich habe so viele How To's zusammengewürfelt und umgebaut, umbenannt usw. das ich unmöglich die Lösung noch hierauf nachvollziehbar anwenden kann :)

Sonst mach ich das schon immer brav mit [solved] usw.

Weiß ja selber wie das ist mit bereits erledigten Sachen und so.

Grüße,
Matze
 

Zurzeit aktive Besucher

Neueste Beiträge

Statistik des Forums

Themen
244,858
Beiträge
2,219,651
Mitglieder
371,572
Neuestes Mitglied
#Kuddel#
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.