Re: Problem mit OPT mailsend

ms1958 <[email protected]>
Newsgroups spline.fli4l.dev
Organization spline
Message-ID <[email protected]>
Am 13.12.2025 um 13:42 schrieb Harvey:
> Nelson,
> 
>> Aber gib mal im Fli4l "msmtp -P" ein. Nach einem [Enter] spuckt der 
>> msmtp seine config aus ... er meckert da, das er keine default-config 
>> findet.
> 
> wenn ich mich recht erinnere, kann man msmtp per Option -C eine andere 
> Config mitgeben. Ich nehme mal an, das Startscript tut genau das (hab 
> das aber nicht geprüft). Dann wäre es kein Wunder wenn das Fehlen einer 
> Default-Config angemeckert wird - aber auch kein Fehler...
> 
> Gruß
> Harvey

Moin zusammen,
bei mir gibt "msmtp -P" gar nichts aus...
und ich muss mit crtl-c abbrechen um wieder auf die konsole zu kommen.


Ich jedenfalls nutze mailsend nur per /usr/local/bin/mailsend und setze 
vorher die Parameter: (mailsend ist ein shell script)
( in /txt/config.txt müssen die zugangsdaten
   zu $From und $ReplyTo hinterlegt sein.
   landet dann in /etc/msmtp.conf )


     From="[email protected]"
  ReplyTo="[email protected]"
       To="[email protected]"
  Subject="Betrefftext"
BodyText="/pfad/textdatei.txt"

mailsend -f "$From" -r "$ReplyTo" -t "$To" -s "$Subject" -B "$BodyText"

@Matthias Nelson: Wie rufst du den Mailsend/msmtp in easycron auf ?

LG Manfred
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.