Skip to Content.
Sympa Menu

en - Re: [sympa-users] postfix virtual aliases problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Liam Kirsher <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] postfix virtual aliases problem
  • Date: Tue, 25 Jul 2006 11:54:43 -0700

Hope this helps:

At 03:30 PM 7/25/2006 +0200, you wrote:
Please help me please, i think there is a misconfiguration...

my specifications:

vision-software.hu A 195.228.74.109
vision-software.hu MX 195.228.74.109

visionsoft.hu A 195.228.74.109
visionsoft.hu MX 193.68.46.140

lists.visionsoft.hu A 195.228.74.109
lists.visionsoft.hu MX 195.228.74.109

lists.nyomtatokellekek.hu A 195.228.74.109
lists.nyomtatokellekek.hu MX 195.228.74.109

lists.octopus.hu A 195.228.74.109
lists.octopus.hu MX 195.228.74.109

i would like these lists:

lists.visionsoft.hu:
address@concealed
address@concealed
address@concealed
address@concealed

lists.nyomtatokellekek.hu:
address@concealed
address@concealed

lists.octopus.hu:
address@concealed
address@concealed


/etc.postfix/virtual.regexp (added 'regexp:/etc/postfix/virtual.regexp' into main.cf => virtual_aliases_maps )

/^lists\.visionsoft\.hu$/ xxx
/^(postmaster|root|abuse|sympa-request)@lists\.visionsoft\.hu$/ $address@concealed
/^(tesztlista|test|sales|sales2)-(request|editor|owner|subscribe|unsubscribe)@lists\.visionsoft\.hu$/
lists.visionsoft.hu-$2+$1

The regexp above was transmitted as two lines, but, of course, it has to be a single long line! Maybe it was the email program that broke it into two lines?

/^(tesztlista|test|sales|sales2)@lists\.visionsoft\.hu$/ lists.visionsoft.hu+$1

Should be:
/^(tesztlista|test|sales|sales2)@lists\.visionsoft\.hu$/ visionsoft+$1



/^lists\.nyomtatokellekek\.hu$/ xxx
/^(postmaster|root|abuse|sympa-request)@lists\.nyomtatokellekek\.hu$/ $address@concealed
/^(patron|irodak)-(request|editor|owner|subscribe|unsubscribe)@lists\.nyomtatokellekek\.hu$/
lists.nyomtatokellekek.hu-$2+$1
/^(patron|irodak)@lists\.nyomtatokellekek\.hu$/ lists.nyomtatokellekek.hu+$1

/^lists\.octopus\.hu$/ xxx
/^(postmaster|root|abuse|sympa-request)@lists\.octopus\.hu$/ $address@concealed
/^(fejlesztes|support)-(request|editor|owner|subscribe|unsubscribe)@lists\.octopus\.hu$/
lists.octopus.hu-$2+$1
/^(fejlesztes|support)@lists\.octopus\.hu$/ lists.octopus.hu+$1


and the block of aliases:

lists.visionsoft.hu: "| /home/sympa/bin/queue $address@concealed"
lists.visionsoft.hu-request: "| /home/sympa/bin/queue $address@concealed"
lists.visionsoft.hu-editor: "| /home/sympa/bin/queue $address@concealed"
lists.visionsoft.hu-owner: "| /home/sympa/bin/bouncequeue $address@concealed"
lists.visionsoft.hu-subscribe: "| /home/sympa/bin/queue $address@concealed"
lists.visionsoft.hu-unsubscribe: "| /home/sympa/bin/queue $address@concealed"

Should be:
visionsoft: "| /home/sympa/bin/queue $address@concealed"
visionsoft-request: "| /home/sympa/bin/queue $address@concealed"
visionsoft-editor: "| /home/sympa/bin/queue $address@concealed"
visionsoft-owner: "| /home/sympa/bin/bouncequeue $address@concealed"
visionsoft-subscribe: "| /home/sympa/bin/queue $address@concealed"
visionsoft-unsubscribe: "| /home/sympa/bin/queue $address@concealed"


lists.nyomtatokellekek.hu: "| /home/sympa/bin/queue $address@concealed"
lists.nyomtatokellekek.hu-request: "| /home/sympa/bin/queue $address@concealed"
lists.nyomtatokellekek.hu-editor: "| /home/sympa/bin/queue $address@concealed"
lists.nyomtatokellekek.hu-owner: "| /home/sympa/bin/bouncequeue $address@concealed"
lists.nyomtatokellekek.hu-subscribe: "| /home/sympa/bin/queue
$address@concealed"
lists.nyomtatokellekek.hu-unsubscribe: "| /home/sympa/bin/queue
$address@concealed"

lists.octopus.hu: "| /home/sympa/bin/queue $address@concealed"
lists.octopus.hu-request: "| /home/sympa/bin/queue $address@concealed"
lists.octopus.hu-editor: "| /home/sympa/bin/queue $address@concealed"
lists.octopus.hu-owner: "| /home/sympa/bin/bouncequeue $address@concealed"
lists.octopus.hu-subscribe: "| /home/sympa/bin/queue $address@concealed"
lists.octopus.hu-unsubscribe: "| /home/sympa/bin/queue $address@concealed"

these aliases are in /etc/aliases (newaliases ran after made changes)
because in my main.cf 'aliases_maps=hash:/etc/aliases'


Sympa Version 5.2.1

sympa.conf:

###\\\\ Directories and file location ////###

## Directory containing mailing lists subdirectories
home /home/sympa/expl

## Directory for configuration files ; it also contains scenari/ and templates/ directories
etc /home/sympa/etc

## File containing Sympa PID while running.
## Sympa also locks this file to ensure that it is not running more than once. Caution : user sympa need to
write access without special privilegee.
pidfile /home/sympa/sympa.pid

## Umask used for file creation by Sympa
umask 027

## Directory containing available NLS catalogues (Message internationalization)
localedir /home/sympa/locale

## The main spool containing various specialized spools
## All spool are created at runtime by sympa.pl
spool /home/sympa/spool

## Incoming spool
queue /home/sympa/spool/msg

## Bounce incoming spool
queuebounce /home/sympa/spool/bounce

###\\\\ Syslog ////###

## The syslog facility for sympa
## Do not forget to edit syslog.conf
syslog LOCAL1

## Communication mode with syslogd is either unix (via Unix sockets) or inet (use of UDP)
log_socket_type unix

## Log intensity
## 0 : normal, 2,3,4 for debug
log_level 0

###\\\\ General definition ////###

## Main robot hostname
domain vision-software.hu

## Listmasters email list comma separated
## Sympa will associate listmaster privileges to these email addresses (mail and web interfaces). Some error
reports may also be sent to these addresses.
# was listmaster your_email_address@blackie
listmaster address@concealed

## Local part of sympa email adresse
## Effective address will be [EMAIL]@[HOST]
email sympa

## Default lang (cs | de | el | en_US | fr | hu | it | ja_JP | nl | oc | pt_BR | tr)
# was lang en_US
lang hu

## Who is able to create lists
## This parameter is a scenario, check sympa documentation about scenarios if you want to define one
create_list public_listmaster

## Sympa commands priority
sympa_priority 1

## Default priority for list messages
default_list_priority 5

## Secret used by Sympa to make MD5 fingerprint in web cookies secure
## Should not be changed ! May invalid all user password
cookie 756405512

## The default maximum size (in bytes) for messages (can be re-defined for each list)
max_size 5242880

## Specify which rfc2369 mailing list headers to add
# was rfc2369_header_fields ARRAY(0xc83020)
rfc2369_header_fields help,subscribe,unsubscribe,post,owner,archive

## Specify header fields to be removed before message distribution
# was remove_headers ARRAY(0xc86d20)
remove_headers Return-Receipt-To,Precedence,X-Sequence,Disposition-Notification-To

###\\\\ Errors management ////###

## Bouncing email rate for warn list owner
bounce_warn_rate 30

## Bouncing email rate for halt the list (not implemented)
## Not yet used in current version, Default is 50
bounce_halt_rate 50

## Task name for expiration of old bounces
expire_bounce_task daily

## Welcome message return-path
## If set to unique, new subcriber is removed if welcome message bounce
welcome_return_path owner

## Remind message return-path
## If set to unique, subcriber is removed if remind message bounce, use with care
remind_return_path owner

###\\\\ MTA related ////###

## Path to the MTA (sendmail, postfix, exim or qmail)
## should point to a sendmail-compatible binary (eg: a binary named 'sendmail' is distributed with Postfix)
sendmail /usr/sbin/sendmail

## Maximum number of recipients per call to Sendmail. The nrcpt_by_domain.conf file allows a different
tuning per destination domain.
nrcpt 25

## Max. number of different domains per call to Sendmail
avg 10

## Max. number of Sendmail processes (launched by Sympa) running simultaneously
## Proposed value is quite low, you can rise it up to 100, 200 or even 300 with powerfull systems.
maxsmtp 40

###\\\\ Pluggin ////###

## Path to the antivirus scanner engine
## supported antivirus : McAfee/uvscan, Fsecure/fsav, Sophos, AVP and Trend Micro/VirusWall
# antivirus_path /usr/local/uvscan/uvscan

## Antivirus pluggin command argument
# antivirus_args --secure --summary --dat /usr/local/uvscan

###\\\\ S/MIME pluggin ////###

## Path to OpenSSL
## Sympa knowns S/MIME if openssl is installed
# was openssl
openssl /usr/bin/openssl

## The directory path use by OpenSSL for trusted CA certificates
# capath /home/sympa/etc/ssl.crt

## This parameter sets the all-in-one file where you can assemble the Certificates of Certification
Authorities (CA)
cafile /home/sympa/bin/etc/ca-bundle.crt

## User CERTs directory
ssl_cert_dir /home/sympa/expl/X509-user-certs

## Password used to crypt lists private keys
# was key_passwd
key_passwd 5Fjsd78Zh

###\\\\ Database ////###

## Database type (mysql | Pg | Oracle | Sybase | SQLite)
## be carefull to the case
db_type mysql

## Name of the database
## with SQLite, the name of the DB corresponds to the DB file
db_name listserver

## The host hosting your sympa database
# was db_host
db_host localhost

## Database user for connexion
# was db_user
db_user sympa

## Database password (associated to the db_user)
## What ever you use a password or not, you must protect the SQL server (is it a not a public internet
service ?)
# was db_passwd
db_passwd oOi41WT1OThoGtaG

## Database private extention to user table
## You need to extend the database format with these fields
# db_additional_user_fields age,address

## Database private extention to subscriber table
## You need to extend the database format with these fields
# db_additional_subscriber_fields billing_delay,subscription_expiration

###\\\\ Web interface ////###

## Sympa's main page URL
# was wwsympa_url http://blackie/sympa
wwsympa_url http://lists.visionsoft.hu/sympa

Liam Kirsher <liamk/AT/numenet/DOT/com>
415-456-4420
415-438-0384 (cell)
PGP: http://liam.numenet.com/pgp/





Archive powered by MHonArc 2.6.19+.

Top of Page