Comments (7)
Great documentation!
Helping makemap
I guess, if sympa_newaliases.pl feeds PATH environment variable, there may be no need for helper script:
--- a/src/sbin/sympa_newaliases.pl.in
+++ b/src/sbin/sympa_newaliases.pl.in
@@ -120,6 +120,10 @@ if ($aliases_program =~ m{\A/}) {
$log->syslog('debug2', 'Executing "%s %s %s < %s"',
q{--MAKEMAP--}, $aliases_db_type, $aliases_file, $aliases_file);
+ # Since makemap(8) of OpenSMTPD reinvokes itself without full path, we
+ # have to feed PATH environment. Helpful to OpenBSD and Debian.
+ $ENV{PATH} = '/usr/sbin';
+
unless (open STDIN, '<', $aliases_file) {
$log->syslog('err', 'Canot open %s', $aliases_file);
exit 1;
Tracking feature
Sendmail command of OpenSMTPD seems not supporting options for DSN (-N
) and envelope ID (-V
). These options are used by message tracking feature of Sympa. I suppose sympa_smtpc
may be used as a replacement of sendmail command to support this feature (adding a line such as
sendmail /path/to/sympa_smtpc --esmtp localhost
to sympa.conf
).
(Unfortunately, currently sympa_smtpc
looks disabled on Debian package).
Update: Correct sympa_smtpc setting.
from sympa.
Updated a ton of typos that were pointed out to me.
I agree for the PATH env, but in my case at the first aliases.db generation the chmod was still necessary… so for now it'll only remove one line
from sympa.
I agree for the PATH env, but in my case at the first aliases.db generation the chmod was still necessary… so for now it'll only remove one line
Maybe it's a bug: Perhaps umask (027) set by sympa.pl is applied to aliases.db (mode 640), but it should be readable by MTA user. I'll submit PR in a few days.
from sympa.
I agree for the PATH env, but in my case at the first aliases.db generation the chmod was still necessary… so for now it'll only remove one line
Maybe it's a bug: Perhaps umask (027) set by sympa.pl is applied to aliases.db (mode 640), but it should be readable by MTA user. I'll submit PR in a few days.
I found that at least Postfix doesn't mind permission: It can access to aliases.db owned by sympa:sympa and having mode 640. I'll investigate a bit to find the method not making aliases.db world-readable, if possible.
from sympa.
Maybe I found solution.
- If aliases file does not exist, create it.
# touch /etc/mail/sympa/aliases
- Make sympa_aliases writable/readable by sympa, readable by smtpd and not accessible by any other users:
# chmod 640 /etc/mail/sympa/aliases
# chown sympa:smtpd /etc/mail/sympa/aliases
- Use makemap to update table.
Add following line tosympa.conf
:
aliases_program /usr/sbin/makemap
from sympa.
@koolfy, could you contribute your work for Sympa documentation?
https://github.com/sympa-community/sympa-community.github.io
from sympa.
Let's continue on the new project: sympa-community/sympa-community.github.io#2
This issue is closed.
from sympa.
Related Issues (20)
- Posting message to myself with web interface bypass DMARC protection HOT 1
- "Request a list" missing from webpage HOT 4
- Ubuntu distribution configuration issue HOT 1
- Will Sympa 6.2.72 work on CentOS 8/9 HOT 1
- RPM package for CentOS 8/9 HOT 3
- Support Stalwart Mail Server HOT 3
- Time to time Bulk.pl process die HOT 4
- Seeing "Could not create new lock" messages after migrating lists from old Sympa to new Sympa server HOT 15
- Footer link "Powered by Sympa 6.x" to www.sympa.community instead of www.sympa.org HOT 2
- Is it possible to have two listmasters ? How I can do it? HOT 1
- `wwsympa.fcgi: Use of uninitialized value $args[0] in pattern match (m//) at /usr/share/sympa/lib/Sympa/Scenario.pm line 1164.` HOT 3
- Amazon Linux 2023 Support for Sympa HOT 2
- Translation site https://translate.sympa.org/ no longer works HOT 2
- do you know what all the folders/file permissions/owners should be for alias address processing to work? (alias addresses not being created for new lists since the OS was updated)
- Some times moderators don't show up in moderator list unless they have a name set HOT 1
- Delete All Subscribers From List HOT 1
- How can I rebuild archives and get attachments with exact extensions? HOT 1
- log_socket_type parameter should allow host, port, timeout options HOT 1
- Prevent custom_header with accents HOT 1
- Incorrect "No bouncing members" on a large list with small number of bouncers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sympa.