[pfx] Re: Alias forwarding request

2024-02-17 Thread Byunghee HWANG via Postfix-users
Hellow Maurizio,

On Thu, Feb 08, 2024 at 07:08:35PM +0100, Maurizio Caloro via Postfix-users 
wrote:
> Please i need / want, or i don't know which is the more polite form, to 
> forward alias to mail, and i reading here other people that done this.
> >> Which leads to the conclusion that ${recipient} expands to the recipient 
> >> address *after* any address rewriting or aliasing.
> But I think I'm right in this one, but me gently asking request last week, 
> will be answerd with the message forward to dovecot, ok
> writing also Dovecot and what do my eyes seen, no answer, no answer. I can 
> imagine what your answer is here 😊 but don't be too clumsy,
> because it doesnt go down well.
>
> Sorry so i’am back, really ridiculous, for all involved, and somewhat annoyed 
> and frustrated. sorry gently gentlemen’s asking one more time
> To forwarding alias to emailaddress, mysql are setuped followed:
> Files :
> 
> * /etc/folder/mysql-virtual_alias_maps.cf
> * /etc/folder/mysql-virtual_mailbox_domains.cf
> * /etc/folder/mysql-virtual_mailbox_maps.cf
> 
> I'm not usually the type to ask about everything, but here it's very special.
> i really hope that we can reach our goal.
>
> Version 3.5.23

Where do you plan to forward your emails? Google Gmail?

If so, don't do that. Because it is very dangerous. If you are not careful, 
your mail server's reputation may suffer. Nevertheless, Really if you want 
to do that, use AWS/Mailgun as outbond relay SMTP. 

Or deploy DKIM/ARC with full support!

(Never send spam emails to Google Gmail! Very IMPORTANT!)


Sincerely, Byunghee
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dynamic user lookup

2024-02-17 Thread Wietse Venema via Postfix-users
Andre Rodier via Postfix-users:
> Hello, Postfix users.
> 
> I am looking for a dynamic user mapping, if possible.
> For instance, something like lua, python or perl, to return a user lookup.
> What I need is something very simple and the language don't need to be 
> advanced.
> 
> I'd like to give my users the possibility of creating themselves disposable 
> email addresses,
> using some form like '@'.
> The script would compare the current time with the , and would 
> return the uid if not expired.
> 
> Of course, I could obfuscate the logic, using base32 or by encrypting
> the final recipient part with a user specific key,
> albeit I think the encryption would be overkill.
> 
> Does anyone knows a way to achive this, please ?

Postfix can query several types of database (including socketmaps
and TCP-based tables that can talk to custom programs). Most of the
work will be to implement the application code that manages the data.

Wietse
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org