Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using zarafa with postfix. For privacy reasons I want to filter client internal IP-addresses and stuff like this. To do so I've added the following to master.cf:

submission inet n - - - - smtpd [...] -o cleanup_service_name=subcleanup [...]

and further down the file:

subcleanup unix n - - - 0 cleanup -o header_checks=pcre:/etc/postfix/smtp_header_checks

which works perfectly for clients delivering their mail through the submission port. But my zarafa is of course not using the submission port to send mail, hence it doesn't hit the subcleanup routine and outgoing mails contain a very nice X-Mailer: Zarafa-exact_version header which is rather unsatisfying. Is there any way to make zarafa use the subcleanup routine?

Any help is much appreciated.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Try configuring Zarafa Spooler (spooler.cfg) to use the SMTP port you're running the 'submission' on.

Alternatively, configure your standard smtpd line in the master.cf to also hit the subcleanup routine like you've set up for 'submission' now. Then it will affect all mail passing the Postfix MTA on the standard port.

share|improve this answer
    
You sire, are a genius. Sometimes it's just too simple ;-) –  olvrlrnz Oct 1 '12 at 10:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.