Re: Problem mit OPT mailsend

Nelson Matias <[email protected]>
Newsgroups spline.fli4l.dev
Organization spline
Message-ID <[email protected]>
Hallo Harvey,

am Tue, 13 Jan 2026 15:37:37 +0100 schrieb Harvey in spline.fli4l.dev

>> Habe jetzt gerade mal ein Testsystem aufgesetzt noch einmal genau 
>> hingeschaut. OPT_MAILSEND erstellt /etc/msmtp.conf auf meinem 
>> Testrouter. Auf meinen Archlinux-Systemen jedoch ist es /etc/msmtprc. 
>> Unsere Scripte sind dann wohl fehlerhaft und sollten /etc/msmtprc 
>> erzeugen. So hast du es ja vorher auch geschrieben.
>> 
>> Könntest Du mal opt/etc/rc.d/rc910.mailsend und opt/usr/local/bin/ 
>> mailsend-send.sh durch die angehängten Versionen austauschen und 
>> probieren, ob es dann auf Anhieb funktioniert?  
>
>Planänderung. Heute kamen (schon wieder) neue Kernel und ich habe das 
>zum Anlass genommen, die Änderungen schon mal in die heutigen Versionen 
>von EASYCRON UND MAILSEND einzupflegen. Bitte probieren und berichten!

Also hier meine Änderung.

Ich habe in opt/etc/rc.d/rc910.mailsend nach Zeile 64 eine Zeile
eingefügt:

  64 │         eval _port='${MAILSEND_'$_n'_SMTP_PORT}'
+ 65 │         eval _from='${MAILSEND_'$_n'_FROM}'
  66 │         eval _user='${MAILSEND_'$_n'_SMTP_USERNAME}'

und weiter unten bei Zeile 84:

  85 │             echo "port $_port"
+ 86 │
+ 87 │             # envelope_from
+ 88 │             echo "from $_from"
+ 89 │
  90 │             # authentication

das wars schon.

Heute komm ich nicht mehr zum Cron ... aber ich teste das noch.

-- 
Gruß

Nelson
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.