Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Viktor Dukhovni
> On Nov 22, 2018, at 4:32 AM, Stefan Bauer wrote: > > Found it. Was required to modify smtp_auth to > > customer1.de user1:password > customer2.de user2:password. Nope: http://www.postfix.org/SASL_README.html#client_sasl_sender Generally, with Postfix lookups by email address, the lookup

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Stefan Bauer
Found it. Was required to modify smtp_auth to customer1.de user1:password customer2.de user2:password. Am Do., 22. Nov. 2018 um 10:22 Uhr schrieb Stefan Bauer < cubew...@googlemail.com>: > After setting > > smtp_sender_dependent_authentication = yes > > and adding additional credentials

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-22 Thread Stefan Bauer
After setting smtp_sender_dependent_authentication = yes and adding additional credentials postfix rejects change with #root@postgate01:~# nano /etc/postfix/smtp_auth [securegw.intern]:25user1:password [securegw.intern]:25user2:password root@postgate01:~# more

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-06 Thread Stefan Bauer
Thank you! Am Montag, 5. November 2018 schrieb Wietse Venema : > Stefan Bauer: >> Hi, >> >> i have: >> sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps >> smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth >> >> more /etc/postfix/relayhost_maps >> @mydomain.de

Re: sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-05 Thread Wietse Venema
Stefan Bauer: > Hi, > > i have: > sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps > smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth > > more /etc/postfix/relayhost_maps > @mydomain.de[smtp.1und1.de]:587 > @my2domain.de [smtp.1und1.de]:587 > > more

sender_dependent_relayhost_maps with different credentials for same relayhost

2018-11-05 Thread Stefan Bauer
Hi, i have: sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth more /etc/postfix/relayhost_maps @mydomain.de[smtp.1und1.de]:587 @my2domain.de [smtp.1und1.de]:587 more /etc/postfix/smtp_auth [smtp.1und1.de]:587