Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
Hello, In 6.2 smtpd.conf, I had the following syntax for delivery to mlmmj: accept from any for domain virtual \ deliver to mda "/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" I understand I now need to split this into and "action" and a "match" line, but I'm having issues .. All help appreciated! Kind regards, Tor -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
On Feb 5, 2019 5:57 AM, Tor Houghton wrote: > > Hello, > > In 6.2 smtpd.conf, I had the following syntax for delivery to mlmmj: > > accept from any for domain virtual \ > deliver to mda "/usr/local/bin/mlmmj-recieve -L > /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" > Try: action "mlmmj" mda "/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" virtual match from any for domain action "mlmmj" > I understand I now need to split this into and "action" and a "match" line, > but I'm having issues .. > > All help appreciated! > > Kind regards, > > Tor > > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org >
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone? (SOLVED)
On Tue, Feb 05, 2019 at 12:57:32PM +0100, Tor Houghton wrote: > Hello, > > In 6.2 smtpd.conf, I had the following syntax for delivery to mlmmj: > > accept from any for domain virtual \ > deliver to mda "/usr/local/bin/mlmmj-recieve -L > /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" > > I understand I now need to split this into and "action" and a "match" line, > but I'm having issues .. > > All help appreciated! > > Kind regards, > Scratch that - given a bit more time, I was able to fix this. Solution for future reference: action "mda_alias" mda "/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" alias match from any for domain action "mda_alias" Kind regards, Tor Houghton -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
> > Try: > > action "mlmmj" mda "/usr/local/bin/mlmmj-recieve -L > /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" virtual > > match from any for domain action "mlmmj" > > Haha, nuts - your reply appeared at the same time as I sent a reply to my own email! :-) Feb 5 16:19:19 bearclaw smtpd[15758]: 1c4c405dbdfb54ba mta delivery evpid=3ffb0c470930961c from= to= rcpt=<-> source="193.214.208.180" relay="193.214.208.190 (193.214.208.190)" delay=1s result="Ok" stat="250 OK id=1gr2VL-000Iu5-Aw" Tor -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
On Tue, Feb 05, 2019 at 04:26:11PM +0100, Tor Houghton wrote: > > > > Try: > > > > action "mlmmj" mda "/usr/local/bin/mlmmj-recieve -L > > /var/spool/mlmmj/%{rcpt.user:lowercase|strip}/" virtual > > > > match from any for domain action "mlmmj" > > > > > You should really avoid using mlmmj from the config or aliases file. You can easily plug mlmmj from .forward files which is much safer. -- Gilles Chehade @poolpOrg https://www.poolp.org tip me: https://paypal.me/poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
On Tue, Feb 05, 2019 at 04:40:20PM +0100, Gilles Chehade wrote: > > You should really avoid using mlmmj from the config or aliases file. > > You can easily plug mlmmj from .forward files which is much safer. > I see. I shall put aside some time and do this. Thanks again, Tor -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Upgrade from OpenBSD 6.2-stable to 6.4-stable, new syntax .. mlmmj anyone?
On Tue, Feb 05, 2019 at 05:35:56PM +0100, Tor Houghton wrote: > On Tue, Feb 05, 2019 at 04:40:20PM +0100, Gilles Chehade wrote: > > > > You should really avoid using mlmmj from the config or aliases file. > > > > You can easily plug mlmmj from .forward files which is much safer. > > > > I see. > > I shall put aside some time and do this. > > Thanks again, > > Tor > $ doas grep misc /etc/mail/aliases-opensmtpd.org misc: lists $ doas grep lists /etc/passwd lists:*:1034:1034::/home/lists:/bin/sh $ cat ~lists/.forward |/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/%{rcpt.domain:lowercase}/%{rcpt.user:lowercase|strip}/ $ -- Gilles Chehade @poolpOrg https://www.poolp.org tip me: https://paypal.me/poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org