Hallo, On Fri, 13 Jun 2003, Hannes Vogelmann wrote:
Wie kann ich dieser Mailkonfiguration beibringen, dass vor jedem Versand noch ein fetchmail ausgelöst wird (jedesmal von Hand zu checken ist etwas lästig)?
Fuer GMX solltest du SMTP-Auth verwenden, ob das Strato auch verwendet weiss ich nicht. Immerhin kann post.strato.de APOP. Folgende verwende ich fuer SMTP after POP: ==== fetchmailrc ==== # postfach mit dem geringsten Traffic skip post.webmailer.de ## == post.strato.de, aber anderer Name timeout 30 with protocol APOP user <username1> there is <lokalername1> here options fetchall [weitere optionen] # restliche Faecher bei strato poll post.strato.de timeout 30 with protocol APOP user <username2> there is <lokalername2> here options fetchall [weitere optionen] user <username3> there is <lokalername3> here options fetchall [weitere optionen] [..] ==== ==== sm ==== #!/bin/sh <test ob online> && fetchmail [weitere optionen] post.webmailer.de sendmail -q ==== Durch das skip wird der Server "post.webmailer.de" nur dann abgeholt, wenn der Name explizit auf der Kommandozeile angegeben wird. Da dies dann nur eine Account abholt geht das i.d.R. sehr schnell. Wird fetchmail dann ohne Serverargument aufgerufen holt es alle 'poll' Eintraege ab. Schwierig ist das <test ob online>, das haengt davon ab, wie du online gehst, ich hab in meinem PPPoE-Script ein 'status', dass einen passenden exitstatus liefert... -dnh --
I've gone through over-stressed to physical exhaustion... what's next? Tuesday -- Simon Burr & Kyle Hearn