HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Feature Requests (
-   -   smtpd_sender_login_maps and aliases (

lenthir 9th November 2009 19:39

smtpd_sender_login_maps and aliases
This is my feature request...

I want to add reject_sender_login_mismatch to smtpd_sender_restrictions. This is very useful thing... with this users can't fake source e-mail address (user can't send e-mail contained "mail from: <>" which is not belonging to user).

Everything is fine, when I do: [user email] = [user account] (I don't need any MySQL data ;) -> simple SELECT '%s' :P).

The problem is, when I want add user aliases. When user has alias, sometimes he/she want to write using alias source, eg. account is:, alias is: User log to SMTP by account login, and in "mail from:" he/she write:

Someone who designed mail_forwarding do several bad things!
1. common data with 'alias','aliasdomain','forward','catchall'
( ok I can do 'WHERE', but type is not indexed! )
2. use text in destination! (aaaaaa!!!)
3. and don't use index in destination

This is not good, more... this is performance headshot :/
I think You should repair this :)

Destination e-mails should be in other records, and also should be indexed.
Postfix understand when query gives 2 or more rows.
Types should be indexed too.

By the way... I switched Courier to Dovecot in ispconfig3 and it works fine :)
If someone are interested in config files... msg to priv.

All times are GMT +2. The time now is 06:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.