Skip to Content.
Sympa Menu

en - Re: [sympa-users] [EXTERNAL] configure mail server

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Michael Sofka <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] [EXTERNAL] configure mail server
  • Date: Wed, 10 Mar 2021 14:40:49 -0500

On 3/9/21 2:22 PM, Luis Manzi wrote:

Hi Guys

 

I’ve already configured sendmail to send emails using AWS SES.

I’ve already set lists.mydomain.com as domain to send emails and address@concealed as email address to “from” field.

 

Now I’m trying to figure out how should I configure sympa with sendmail.

Looking at https://github.com/sympa-community/sympa-community.github.io/blob/master/manual/install/configure-mail-server-sendmail.md

2.Edit sendmail.cf (Note: replace $SYSCONFDIR and $SENDMAIL_ALIASES below):

 

O AliasFile=$SYSCONFDIR/aliases.sympa.sendmail
O AliasFile=$SENDMAIL_ALIASES

O AliasFile=$SENDMAIL_ALIASES,=$SYSCONFDIR/aliases.sympa.sendmail


But this is better done in the sendmail.mc file's "define(`ALIAS_FILE'" directive.


Both lines, on what place of sendmail.cf file should be added?

 

4. Create empty $SENDMAIL_ALIASES file (Note: replace $SENDMAIL_ALIASES below):

touch $SENDMAIL_ALIASES

chmod 640 $SENDMAIL_ALIASES

chown sympa:sympa $SENDMAIL_ALIASES

 

$SENDMAD_ALIASES file, where should be created? In same location that /etc/sympa/aliases.sympa.sendmail?


The first alias file is standard for Sendmail, and should already be made in /etc/mail, typically.  The second might need to be touched, and that would be in the SYSCONFDIR referred to above.  I created it in a subdirectory of /etc/mail called "sympa".  So /etc/mail/sympa, and referred Sympa to there.


Finally,

then create alias databases:

# newaliases

 

newaliases reads sendmail.cf, and converts the text representation in the /etc/mail/aliases, and /etc/mail/sympa/aliases (or whatever you call it, wherever you place it), to aliases.db files, which are used by the running sendmail process.  If there is no aliases file, then nothing is created.

The /etc/mail/aliases file will have root, etc aliases along with the master aliases for Sympa.  The other alias file contains list-specific aliases created by Sympa when a new list is created.  With no lists, the file would remain empty.

Mike


I understood that on new $SENDMAIL_ALIASES I should add some email aliases…but I do not know what is that 😊 Could you please give me a hand on this? Maybe some samples?

 

Thanks!

 

Luis

 

 

 

 

 

 

 

-- 
--
Michael D. Sofka               address@concealed
ITI Software Architect,   Email, TeX, Epistemology
Rensselaer Polytechnic Institute, Troy, NY.  http://www.rpi.edu/~sofkam/



Archive powered by MHonArc 2.6.19+.

Top of Page