Re: Weird problem with virtual aliases. Error user has moved to...

2010-03-08 Thread Jaroslaw Grzabel
/dev/rob0 pisze: local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname local_transport = virtual Ugly! Do not mix classes like this. http://www.postfix.org/ADDRESS_CLASS_README.html Define your local domain class in mydestination (and take out the above), and de

Re: Weird problem with virtual aliases. Error user has moved to...

2010-03-08 Thread Jaroslaw Grzabel
/dev/rob0 pisze: There is no way to help you with this unless you post the actual logging and other necessary information ("postconf -n", to start, from which point we can probably tell you what postmap -q queries you will need to look at and correct) as was requested in the list welcome message

Weird problem with virtual aliases. Error user has moved to...

2010-03-08 Thread Jaroslaw Grzabel
Hi, I've just noticed that the one alias I've had suddenly stopped working from unknown reason. I'm using MySQL to keep all domains, users and configuration for them and when I send an email to an alias it bounces back with error: : User has moved to ja...@meil.me It's been working for ages a

Re: suitable webmail

2010-02-01 Thread Jaroslaw Grzabel
K bharathan wrote: hi all of course this is a non postfix topic; but i'd like to know from the experienced which webmail is best for a postfix pop server i'd also have it configured for user soft quota guidance appreciated I would add from my side... Horde IMP. If you need good replacement for

Re: address_verify_sender setup

2010-01-21 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > OTOH this could generate loops :) (if both use the same scheme) Why ? I can't imagine the loop situation. Can you explain in more details ? Also regarding a verification... I've got a problem with understanding refresh times and expiry times. For example if I've got POSIT

Re: address_verify_sender setup

2010-01-21 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > Some systems block mail if sender and recipient are the same! > Especially if THEIR sender is used coming from the outside... > Sorry but It's not that what I meant. You misunderstood me. > BUT verifiying mail from an...@domain.com to ber...@otherdomain.com > using "ber

Re: address_verify_sender setup

2010-01-21 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > Which sender? If anton sends mail to bertha, the the verification is done HOW? > > Like: > MAIL FROM: > RCPT TO: > ? > > Hi Ralf, If emails comes from an...@domain.com to ber...@otherdomain.com I would like to check it sending original data, so to ask otherdomain.com s

address_verify_sender setup

2010-01-21 Thread Jaroslaw Grzabel
Hi, Quick question. I couldn't find an answer in documentation, but that probably means I can't do it but just to confirm. Is there any way to setup address_verify_sender setup value to use original sender email address ? Thank you for your help. Regards, Jarek

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Wietse Venema wrote: > If you are concerned that you reject mail from hosts with valid PTR, > then I recommend that you choose between: > > 1) reject_unknown_reverse_client_hostname. As documented, this >will accept any reverse name, without checking whether it resolves >to to the client IP

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Wietse Venema wrote: > See "man 5 postconf" for the difference between: > reject_unknown_reverse_client_hostname > reject_unknown_client_hostname > > Wietse > Sorry Wietse, but you completely lost me. How does it regard to my problem ? I need to have custom message. reject_unknown_reverse

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Wietse Venema wrote: > > Syntax of access tables is documented: man 5 access. > > Wietse > Yes I know. But as I mention in the post sent a moment ago, the problem is that I'm afraid I will reject unknown hosts with valid PTR. I don't want to do this. Regards, Jarek

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Henrik K wrote: > You don't really need that variable. The hostname/IP is already included in > the > rejection message going out, if you use check_client_access. > > For example: > > 550 5.1.1 Client host rejected: "Fix your reverse DNS..." > > OK, but the problem is at this moment that I'm a

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > > And where is the check that needs to have aa nice error message? > > I forgot to paste this restriction for client: smtpd_client_restrictions = reject_unknown_reverse_client_hostname So there where it should be. Regards, Jarek

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > * Jaroslaw Grzabel : > > >>>> unknown 550 5.1.2 Your reverse DNS entries are off >>>> >>>> >> And also, are you sure that unknown is OK ? I can see in logs that I've >> got number of

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Jaroslaw Grzabel wrote: > Ralf Hildebrandt wrote: > >> Use an access(5) map on the client: >> >> check_client_access hash:/etc/postfix/nice_reject >> >> with: >> >> unknown 550 5.1.2 Your reverse DNS entries are off >> And also, ar

Re: Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Ralf Hildebrandt wrote: > Use an access(5) map on the client: > > check_client_access hash:/etc/postfix/nice_reject > > with: > > unknown 550 5.1.2 Your reverse DNS entries are off > > Thank you for that Ralf. Do you know if may I operate on any variables ? I need to have a message like "550

Custom 550 messages for custom rejections reasons.

2010-01-20 Thread Jaroslaw Grzabel
Hi, I would like to ask you if is there any way to put different rejection message for rejection if some host doesn't have reverse DNS entry ? I need to include a link to the website which explains what is that and what to do and why that message was rejected is there any easy way to do it ?

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Simon Waters pisze: It refreshes cache at 3 hours by default, so within 3 days jon starts getting email (and spam potentially). This is configurable. http://www.postfix.org/verify.8.html Yeah, and it works on the other way round... if my customer's server will go down for more than 3h, my

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Martijn de Munnik wrote: > > http://www.postfix.org/ADDRESS_VERIFICATION_README.html#caching > > > Hi Martin, Thank you for your reply. The only problem with that database is that if customer add some users into his machine then database will always reject that email... let's say for examp

store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Hi, I've just had a hard nut to crack, as I've got SMTP server which stores and forwards or I only hoped so. Why ? As I checked now if the remote server is down, and I use reject_unverified_recipient it gives me an error like: 450 4.1.1 : Recipient address rejected: unverified address: c

Re: Backscatter being generated from mail aliased to other servers.

2009-11-16 Thread Jaroslaw Grzabel
This page (http://www.postfix.org/ADDRESS_VERIFICATION_README.html) looks like it describes part of your problem. Could be the solution Regards tobi I had had a lot of troubles with verification database. For example... new customer is added to SMTP relay, changed MX record to point my

Re: Backscatter being generated from mail aliased to other servers.

2009-11-16 Thread Jaroslaw Grzabel
Jim Lang pisze: John Peach wrote: On Mon, 16 Nov 2009 13:07:05 -0700 Jim Lang wrote: John Peach wrote: On Mon, 16 Nov 2009 13:00:26 -0700 Jim Lang wrote: Wietse Venema wrote: Jim Lang: OK here is the scenario. Spammer sends mail to: u...@mycl

Re: Log per domain

2009-11-16 Thread Jaroslaw Grzabel
ram wrote: > > You can write a parser and dump into a database. > Give every domain a UI to access the database. That is much better. > > Thanks > Ram > PS: > The parser may not be so neat because postfix unfortunately does not > log in sender , recipient , sent and size on a single line > Hi, OK,

Re: Log per domain

2009-11-16 Thread Jaroslaw Grzabel
Magnus Bäck wrote: > On Mon, November 16, 2009 10:58 am, Jaroslaw Grzabel said: > > >> Is there any way to configure postfix to create separate log file for >> every domain it keeps ? >> > > No. Postfix needs to start logging before it even knows to whic

Log per domain

2009-11-16 Thread Jaroslaw Grzabel
Hi guys, Is there any way to configure postfix to create separate log file for every domain it keeps ? Regards, Jarek

Content checking - bulk emails

2009-08-17 Thread Jaroslaw Grzabel
Hi guys, I'm wondering is there any way to configure postfix, to check content of messages which contains ... let say more than 10 recipients, scan those and check contents in looking for un.sub.scribe link (or particular words) and if found pass messages if not block with notification for the se

Re: Understanding rate limiting with anvil.

2009-08-05 Thread Jaroslaw Grzabel
Eduardo Júnior wrote: > > Hi, > Hi, > > just a detail: > > > > With postfwd, i didn't get control how many messages a IP can to send. > > But my control have done through number of connections from host. > > If you consider that a connection is equal a message, this is ok. > > > That ma

Re: Understanding rate limiting with anvil.

2009-08-05 Thread Jaroslaw Grzabel
Hi, Wietse Venema wrote: > Instead, use a policy daemon with persistent database. > As far as I remember I tried once http://www.policyd.org, but it didn't work for me. As I remember there was a problem with message accounting, and I have got an email from Nigel from policyd where he confirmed

Re: Understanding rate limiting with anvil.

2009-08-05 Thread Jaroslaw Grzabel
Stefan Förster wrote: > "Clients that are excluded from connection count, connection rate, > or"... "excluded". > Ah... you're completely right :). I've enabled limiting for everyone from the list besides rest of the world! :). > I think you need Postfix 2.4 or later to work with that bang-s

Understanding rate limiting with anvil.

2009-08-05 Thread Jaroslaw Grzabel
Hi everyone, I had a problem with rate limiting in postfix in last week, and I had to disable it. I don't know why but I set up rate limiting per IP and it looks like it didn't count rates correctly. Let me shed a lit a bit for my problem. My company decided to limit a number of messages per day

Re: Transport Maps

2009-07-21 Thread Jaroslaw Grzabel
Linux Addict wrote: I tried digging, I get the MX servers on the ANSWER section. I manage DNS as well, so I know its resolving correctly. What is in the log files then when you're trying to relay your messages ? Regards, Jarek

Re: Transport Maps

2009-07-21 Thread Jaroslaw Grzabel
Linux Addict wrote: Simon, I already tried that. Its not doing MX lookup I guess. Maybe it works but you're using your local DNS which doesn't know MX record for that remote domain you want to relay your messages through. Try locally run dig domainname.com MX and see the result. If it's empty

RE: Maximum smtp process limit has been reached.

2009-07-02 Thread Jaroslaw Grzabel
postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Thursday, July 02, 2009 5:34 PM To: Postfix users Subject: Re: Maximum smtp process limit has been reached. Jaroslaw Grzabel: > Hi, > > I'm struggling with new SMTP server and I noticed that sometimes it just > hangs becau

Maximum smtp process limit has been reached.

2009-07-02 Thread Jaroslaw Grzabel
Hi, I'm struggling with new SMTP server and I noticed that sometimes it just hangs because of: Jul 2 14:14:21 smtp postfix/master[17716]: warning: service "smtp" (25) has reached its process limit "50": new clients may experience noticeable delays Jul 2 14:15:06 smtp postfix/master[17716]:

Re: speecify secondary mda behind postfix

2009-06-23 Thread Jaroslaw Grzabel
Jiří Hlinka wrote: Hello, i have this situation: Postfix server acts as relay for Lotus Domino (MDA) and everything works ok. Customer adds another Domino server because of HA. The second Domino server has different IP. Delivery process is obvious: when there is not available "primary" Domino

Re: Regular expression with fighting against spam

2009-06-19 Thread Jaroslaw Grzabel
Jorey Bump wrote: To be fair, your original question reveals that you are somewhat unfamiliar with basic concepts of email administration, and that is why noone is eager to help you shoot yourself in the foot, especially if it means the bullet may ricochet off the floor and hit us. That said, yo

Re: Regular expression with fighting against spam

2009-06-19 Thread Jaroslaw Grzabel
Wietse Venema wrote: reject_unverified_recipient automatically builds that access map for you. Wietse I think it's exactly that what I needed! Thank you so much! Regards, Jarek

Re: Regular expression with fighting against spam

2009-06-19 Thread Jaroslaw Grzabel
Michael Tokarev wrote: Jaroslaw, if you want help, please reply to the list, not to me personally. OK sorry for that. I've just replied to all. There are many ways of how to do this. You may ask for the actual list of addresses in the domains your're relaying for, you may use something like ld

Re: Regular expression with fighting against spam

2009-06-19 Thread Jaroslaw Grzabel
Hi Terry, Thank you for your reply. It's not full log just only grepped by pattern and it's just only one example: Jun 19 02:32:47 smtp66 gld: Greylist activated for recipient=<|arl.b...@domain_name.com> sender=<|arl.b...@domain_name.com> ip=<201.62.213.153> Jun 19 02:32:47 smtp66 postfix/s

Regular expression with fighting against spam

2009-06-19 Thread Jaroslaw Grzabel
Hi. As I'm new on that group I would like to welcome everyone. I've noticed that in my SMTP filtering server a lot of spam try to get through. I want to block it but the problem is all these emails starts from | (pipe). How to block it then ? I've tried to add /^From: |(*)/ REJECT in access