Re: How to force Postfix 2.5.9 to try another MX?

2014-03-27 Thread Bogdan Enache
Pe 27.03.2014 15:51, Wietse Venema a scris: Bogdan Enache: I restarted Postfix and flushed the queue a few times, but there isn't any change. It's always trying "notes.uptel.net", never any of the other 2 MXs. The Postfix client tries a limited number of IP addresses and

How to force Postfix 2.5.9 to try another MX?

2014-03-27 Thread Bogdan Enache
Hi, I've got quite a strange problem. A user is trying to send email to a domain, "tn.odessa.ua" which has 3 MX servers. One of them is clearly not working, "notes.uptel.net[195.138.170.139]", which has a priority of 30. Checking the logs I see that Postfix always tries to deliver to "notes.up

Re: Show username for "SASL LOGIN authentication failed:"?

2013-06-10 Thread Bogdan Enache
Hi. On 09.06.2013 18:12, Charles Marcus wrote: > On 2013-06-09 10:34 AM, Zhang Huangbin wrote: >> On Sunday, June 9, 2013 at 10:09 PM, Charles Marcus wrote: >>> Dovecot uses login_log_format_elements to determine what it logs for >>> login attempts... you'll find the variables it supports here: >

Re: Show username for "SASL LOGIN authentication failed:"?

2013-06-09 Thread Bogdan Enache
Hi list. On 09.06.2013 03:35, LuKreme wrote: > On 08 Jun 2013, at 04:09 , Bogdan Enache wrote: > >> But how can I also show the username that was tried in the logs? I want >> to see: >> 1. Which user keeps entering the wrong password. >> 2. What user is someone el

Show username for "SASL LOGIN authentication failed:"?

2013-06-08 Thread Bogdan Enache
Hi. When an user inputs an incorrect password, I have the following message in the logs: mx1 postfix/smtpd[1069]: warning: unknown[89.xx.xx.xx]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Which is perfectly normal. But how can I also show the username that was tried in the logs? I want to see:

Re: How can I restrict some specific users from sending email to external domains?

2013-05-29 Thread Bogdan Enache
Pe 28.05.2013 20:21, Viktor Dukhovni a scris: > On Tue, May 28, 2013 at 07:09:43PM +0200, Chris wrote: > >>> The check_sender_access restriction below triggers the lookup to catch the >>> sender: >>> >>> smtpd_recipient_restrictions = >>> ... >>> check_sender_access hash:/etc/postf

How can I restrict some specific users from sending email to external domains?

2013-05-27 Thread Bogdan Enache
Hi, I have an internal domain, "mydomain.com", and around 50 users defined on this domain. I want to restrict 2 certain users, "f...@mydomain.com" and "b...@mydomain.com" from sending emails to external domains. They should be able to send emails only to "mydomain.com", and I want to be able to