Re: saslfinger output, was Re: postfix hangs when SASL enabled

2008-10-11 Thread Nikita Kipriyanov
Travis wrote: What's the meaning of: Oct 10 22:40:55 lexus postfix/smtpd[13983]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied There are wrong permissions on saslauthd socket. From http://www.postfix.org/SASL_README.html : IMPORTANT:

Re: Finally blocking some spam

2008-10-13 Thread Nikita Kipriyanov
Joey wrote: I have at this point had NO false positives and have seen in my own personal spam a reduction of 90%. You will never see any false positives - those who aren't spammers simply think that your server gone away, even they aren't able to say to you anything... This method won't be

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
ram пишет: On one of my servers I have put in main.cf smtpd_client_restrictions = permit_mynetworks,reject Because I want only my internal servers to use this machine as a relay. This works as expected , but when connections come from outside mynetworks the Error comes only after RCPT TO:

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
http://www.postfix.org/postconf.5.html#smtpd_delay_reject more to say, even better is to block external connections with firewall

Re: Newbie needs help with virtual domain e-mail... mail not getting to /home/vmail

2008-10-14 Thread Nikita Kipriyanov
Keith Palmer Jr. wrote: I have a directory named /home/vmail user/group vmail 5000:5000. I have not created any directories in this folder, I don't know if I need to or not... I saw something somewhere about using makemaildir.dovecot, but I don't have that script/binary on my FreeBSD system

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
Victor Duchovni пишет: Consider setting a null-mx record for the system's host name: ahost.example.com IN MX 0 . As I understand things, it simply forces a 'fallback to A record', like when there is no MX records... Can you please explain, why this is needed?

Re: Finally blocking some spam

2008-10-14 Thread Nikita Kipriyanov
Joey пишет: Imagine with a 6GB monthly maillog how long this process can take, it's just too time consuming. No, I cant imagine 6Gb, only 2Gb ;) [machine that I administer] mail # ls -l postfix.* -rw-r- 1 root adm16258536 Окт 14 23:31 postfix.log -rw-r- 1 root root 1923487124

Re: Multiple protected destinations?

2008-10-15 Thread Nikita Kipriyanov
Victor Duchovni wrote: query = SELECT 1 FROM `insiders` WHERE `address`='%s' I don't recall 1 being a valid documented access(5) action. Consider I saw that somewhere, maybe in third-party howtos. Thank you for the notice. query = SELECT 'OK' FROM 'insiders' WHERE 'address'='%s'

Re: Question about Postfix and .pst

2008-10-15 Thread Nikita Kipriyanov
[EMAIL PROTECTED] пишет: I have a question that may not be for the Postfix mailing list but I thought I would ask here first. Does anyone know of a utility (command line preferably) that can take a mailbox from the server and connecting via IMAP or POP export (download) the data as a .pst file?

Re: Blocking senders

2008-10-18 Thread Nikita Kipriyanov
Raymond Jette пишет: Good morning, I get messages from some senders that i would like to block. Would the following solution work to block mail from senders? /etc/postfix/main.cf smtpd_sender_restrictions = ... check_sender_access hash:/etc/postfix/sender_access permit

Re: Routing mail (rewrite relay transport ??)

2008-10-27 Thread Nikita Kipriyanov
Wietse Venema пишет: Mathieu Kretchner: smtp proxy.foo.com - default.foo.com | redirect_map ? -- new.foo.com I'm new to postfix routing mail and I'm a little bit lost ... So I think it's not a big deal to do but I don't

Re: Sender Bcc Maps

2008-10-29 Thread Nikita Kipriyanov
Ranjith Kumar пишет: Hi, I have enabled sender_bcc_maps on my postfix mta using the documentation available on postfix site. The mails are being forwarded successfully, but I am receiving 2 copies of the mail. What could be the problem? Please, show main.cf and master.cf, specifically

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Nikita Kipriyanov
DULMANDAKH Sukhbaatar пишет: For me XFS seemed very fast. But usually I use ext3, which is proven to be stable enough for most situations. I feel also that xfs if much faster than ext3 and reiserfs, especially when it deals with metadata. In some bulk operation (bulk changing attributes

Re: some user must send email only mydomain

2008-10-31 Thread Nikita Kipriyanov
Gabriele Di Giambelardini пишет: Hi to all I have a problem with my configuration, I don't found any solution on internet. My problem is: I'd need some of my users can't send email to other domain, but only to my domain... Some body know the way?? thanks Have you tried

Re: Which FileSystem do you use on your postfix server?

2008-10-31 Thread Nikita Kipriyanov
On Fri, 31 Oct 2008, Wietse Venema wrote: would violate a basic requirement of Postfix (don't lose data after fsync). Postfix updates existing files all the time: it updates queue files as it marks recipients as done, and it updates mailbox files as it appends mail. If there is a response

Re: Limit one forward do a specified user

2008-11-04 Thread Nikita Kipriyanov
M. Rodrigo Monteiro пишет: Hi All! Currently, I use the forwards in /etc/aliases like this: # cat /etc/aliases forward1: user1 user2 forward2: user3 forward3: user1 user2 user3 I wanna know if I can limit the use of forward3, because I want to only the user9 send e-mail to forward3. All users

Re: question about smtpd_(client|sender|recipient)_restrictions usage

2008-11-05 Thread Nikita Kipriyanov
Alain Spineux пишет: Hi I've some question bout the smtp_*_restrictions Have you read http://www.postfix.org/SMTPD_ACCESS_README.html ? When smtpd_delay_reject=yes (the default) : - May I expect the policies will be called in the expected order : first the one from

Re: Split MX and user name lookup

2008-11-06 Thread Nikita Kipriyanov
Michael Moritz пишет: On Wednesday 05 November 2008 14:41:42 mouss wrote: Thanks. Any idea how to populate /etc/postfix/relay_recipients with all valid usernames? rsync, mysql, postgres, ldap, ... etc. Thanks but I have quite a number of different soures for usernames (sql,

Re: Split MX and user name lookup

2008-11-06 Thread Nikita Kipriyanov
Michael Moritz пишет: Thjanks Wietse and Nikita. I currently use reject_unverified_recipient. There are two (or maybe three) problems I have with this though: First if an address hasn't been checked it gives a 4xx while checking on the main machine - I'm already using gps for greylisting and

Re: sending a copy of mail to another user..

2008-11-06 Thread Nikita Kipriyanov
Mumtaz Ali пишет: Hi, i want to duplicate mails of a specific email account.. like i have mail address [EMAIL PROTECTED] and i want when [EMAIL PROTECTED] send an email to an external email account a copy of email should be send to [EMAIL PROTECTED] and i dont' want [EMAIL PROTECTED]

Re: sending a copy of mail to another user..

2008-11-06 Thread Nikita Kipriyanov
Nikita Kipriyanov пишет: Mumtaz Ali пишет: Hi, i want to duplicate mails of a specific email account.. like i have mail address [EMAIL PROTECTED] and i want when [EMAIL PROTECTED] send an email to an external email account a copy of email should be send to [EMAIL PROTECTED] and i dont

virtual aliasing to command

2008-11-10 Thread Nikita Kipriyanov
Hello. For a local aliasing, it is possible to specify the command as a destination for mail, using 'pipe' character. We're using this possibility to bind spam-learning facility, like this: (main.cf) alias_maps = /etc/aliases (/etc/aliases) spam: |/usr/local/bin/spamlearn_from_mail.tcl SPAM

Regexp aliases

2008-12-13 Thread Nikita Kipriyanov
We run a mail server with virtual domains (mainly there are mailbox domains). For a certain things same aliases needed in the each and every virtual domain in the system. For example, all these domains maintained by same people, so it is good thing to have each domain's postmaster mapped to

Re: Regexp aliases

2008-12-13 Thread Nikita Kipriyanov
mouss пишет: aliases for your own domains. since you are using mysql, let mysql do it for you: virtual_alias_maps = mysql:/etc/postfix/virtual_alias_maps.cf mysql:/etc/postfix/standard_aliases.cf and in the latter, use something like: query = select 'postmas...@example.com'