Re: [webmin-l] Usermin automatic reply not working

Gilles Celli <[email protected]> Thu, 14 Jul 2022 14:39:12 +0200
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
Well I think I found something...I added procmail to /etc/postfix/main.cf as "mailbox_command" 
mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir

After that it worked: the Auto Reply in Usermin creates the file "autoreply.0.txt" in $HOME,
but inside this file the domainname of the host is not the TLD domain name, but instead "office.local"

From: "gilles" <[email protected]>

it should read:

From: "gilles" <[email protected]>
or
From: "gilles" <[email protected]>

With <mailsrv.office.local> it bounces back and gets queued...

Can someone give me a clue which script to edit that generates the hostname with TLD for file "autoreply.0.txt" ?
I've edited the variable: $host (line 105) in /etc/usermin/forward/autoreply.pl but that doesn't seem to work...

Any clues ?

thanks

gilles


> On 14 Jul 2022, at 10:56, Gilles Celli <[email protected]> wrote:
> 
> Automatic reply for Usermin v1.840 doesn't seem to work on our OpenSUSE Leap 15.3 Email-Server...
> 
> Quick question: is "procmail" required along with postfix to have automatic replies ?
> 
> I've tried / checked a few things:
> When I create a new "Automatic Reply" it creates the ".forward" file in my $HOME directoy with content:
> |/usr/bin/procmail
> 
> If the .forward file is present => no reply, and no email is received.
> 
> Also I checked in "Webmin" > Usermin Configuration > "Usermin module configuration" > "Configurable options for Mail Forwarding and Replies"
> and "Allowed Forwarding types" everything is selected  (Autoreply etc.) and "Mail system installed" is set to "Sendmail".
> 
> I suspect something is missing, but I don't want to mess up my Dovecot / Postfix (with LMTP) setup, so I'm not sure if "procmail" required for Autoreply ?
> 
> cheers
> 
> 
> 
> 
> 
> -
> Forwarded by the Webmin mailing list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list



-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list