Re: Get username of local user from recipient address

2009-12-09 Thread Michal Kurka
Dne 6.12.2009 v 10:41 Michal Kurka napsal(a): > I need resolve whether incoming mail for the recipient accept or defer > or reject according to some rule of local username(s) (of course, if the > recipient corresponds to local username), before SMTP-command DATA. > My idea is create own

RE: Receiving email for us...@my-domain.com and redirecting it to us...@other-domain.com

2009-12-09 Thread Tony Rogers
I'm guessing my obfuscation has clouded the issue, so I'll re-iterate my question with (hopefully) a clearer example. We need three email addresses that go to our domain (in this example referred to as my-domain.com) @my-domain.com, to be redirected to @other-domain.com. These three users do not

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-09 Thread Stan Hoeppner
Mikael Bak put forth on 12/8/2009 3:31 AM: > mouss wrote: >> I'm looking through you, where did you go: >> >> : host greer.hardwarefreak.com[65.41.216.221] >> said: 554 5.7.1 : Client host >> rejected: Access denied (in reply to RCPT TO command) >> >> It is nice to not reject mail from people who h

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-09 Thread Mikael Bak
Stan Hoeppner wrote: > Mikael Bak put forth on 12/8/2009 3:31 AM: >> mouss wrote: >>> I'm looking through you, where did you go: >>> >>> : host greer.hardwarefreak.com[65.41.216.221] >>> said: 554 5.7.1 : Client host >>> rejected: Access denied (in reply to RCPT TO command) >>> >>> It is nice to no

Re: Save a copy of relayed mail?

2009-12-09 Thread Kārlis Repsons
On Monday 07 December 2009 17:38:48 Kārlis Repsons wrote: > Hi all, > > I've found, it can be done by setting always_bcc, but it would also make > copies of normally received mail and locally sent one, right? If so, Just to know: did I ask some nonsense or this was considered a spam or what? > h

Re: postscreen ps_cache fatal

2009-12-09 Thread Wietse Venema
Len Conrad: > >The only thing postscreen does after "postfix reload" (or stop) is > >to fork a child process and terminate immediately in the parent > >process; the child continues in the background, closes the Berkeley > >DB table, erases the Berkeley DB handle, accepts no new connections, > >and

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-09 Thread John Peach
On Wed, 09 Dec 2009 03:58:28 -0600 Stan Hoeppner wrote: [snip] > Two words: LIST MAIL. When you reply directly to senders, all kinds > of unpleasant things can happen. Keep replies on list only and you > can avoid seeing some of the draconian things folks do. > setting the reply-to header hel

Re: SASL plain authentication failed; unable to lookup user record

2009-12-09 Thread JP
Patrick Ben Koetter wrote: > * JP : >> i'll guess the solution to my problem will be something simple and >> obvious, because i know i ain't the first person to do this, but i've >> been staring at it for days and can't see what's wrong. >> >> os x snow leopard server; postfix 2.5.5; dovecot 1.1.1

Re: postfix address rewritting

2009-12-09 Thread tobi
Castagnet Adrien schrieb: > Hi tobi, > thank you for your reply. > In my main.cf > I uncommented a line mydestination, it's now like this : > mydestination = $myhostname, localhost.$mydomain, localhost > So then $myhostname must be your domain name (mydomain.local) or it wont work mydestination

does order of postscreen_* params matter?

2009-12-09 Thread Len Conrad
We have an IP whitelisted because it was also blacklisted, but the postscreen whitelist comes after the postscreen blacklist, and the IP is still being postscreen dropped as blacklisted. the man page says nothing about the order of the main.cf postscreen params. Len

Re: does order of postscreen_* params matter?

2009-12-09 Thread Wietse Venema
Len Conrad: > We have an IP whitelisted because it was also blacklisted, but > the postscreen whitelist comes after the postscreen blacklist, > and the IP is still being postscreen dropped as blacklisted. > > the man page says nothing about the order of the main.cf postscreen params. main.cf synt

Re: does order of postscreen_* params matter?

2009-12-09 Thread Len Conrad
>Len Conrad: >> We have an IP whitelisted because it was also blacklisted, but >> the postscreen whitelist comes after the postscreen blacklist, >> and the IP is still being postscreen dropped as blacklisted. >> >> the man page says nothing about the order of the main.cf postscreen params. > >main

Re: does order of postscreen_* params matter?

2009-12-09 Thread Wietse Venema
Len Conrad: > postconf -n | egrep postscreen > > postscreen_blacklist_action = drop > postscreen_blacklist_networks = > mysql:/usr/local/etc/postfix/mysql-mta_clients_b.cf ... > postscreen_whitelist_networks = $mynetworks, > hash:/usr/local/etc/postfix/mta_clients_white.map > > postmap -q "12.1

Re: postfix address rewritting

2009-12-09 Thread Adrien Castagnet
Tobi I thank you very much. I cant test right now but from what you told me it's seem to be the solution. So again thx ! Adrien. Tel : 06 89 30 82 12 Le 9 déc. 2009 à 20:43, tobi a écrit : Castagnet Adrien schrieb: Hi tobi, thank you for your reply. In my main.cf I uncommented a line my

Re: does order of postscreen_* params matter?

2009-12-09 Thread Kenneth Marshall
On Wed, Dec 09, 2009 at 03:42:30PM -0500, Wietse Venema wrote: > Len Conrad: > > postconf -n | egrep postscreen > > > > postscreen_blacklist_action = drop > > postscreen_blacklist_networks = > > mysql:/usr/local/etc/postfix/mysql-mta_clients_b.cf > ... > > postscreen_whitelist_networks = $mynetwo

Re: does order of postscreen_* params matter?

2009-12-09 Thread Wietse Venema
Kenneth Marshall: > On Wed, Dec 09, 2009 at 03:42:30PM -0500, Wietse Venema wrote: > > Len Conrad: > > > postconf -n | egrep postscreen > > > > > > postscreen_blacklist_action = drop > > > postscreen_blacklist_networks = > > > mysql:/usr/local/etc/postfix/mysql-mta_clients_b.cf > > ... > > > post

Re: does order of postscreen_* params matter?

2009-12-09 Thread Len Conrad
-- Original Message -- From: wie...@porcupine.org (Wietse Venema) Reply-To: Postfix users Date: Wed, 9 Dec 2009 16:25:42 -0500 (EST) >Kenneth Marshall: >> On Wed, Dec 09, 2009 at 03:42:30PM -0500, Wietse Venema wrote: >> > Len Conrad: >> > > postconf -n |

Re: does order of postscreen_* params matter?

2009-12-09 Thread Wietse Venema
Len Conrad: > btw, how to get: > > postmap -d "ip.ad.re.ss" mysql:/usr/local/etc/postfix/mysql-mta_clients_b.cf > > not to return: > > postmap: fatal: mysql:/usr/local/etc/postfix/mysql-mta_clients_b.cf map > requires O_RDONLY access mode That would require updating the documentation that has

THREAD's DEAD Baby (Was: blocking replies (WAS: whitelisting problem))

2009-12-09 Thread mouss
Stan Hoeppner a écrit : > Mikael Bak put forth on 12/8/2009 3:31 AM: >> mouss wrote: >>> I'm looking through you, where did you go: >>> >>> : host greer.hardwarefreak.com[65.41.216.221] >>> said: 554 5.7.1 : Client host >>> rejected: Access denied (in reply to RCPT TO command) >>> >>> It is nice to

SQL query question

2009-12-09 Thread Noel Butler
Hi Wietse, I have a question about postfix looking up users after it would clearly have got a "not a local domain" response. 30 Query SELECT 1 FROM virtual_domains WHERE name='exmple.net' AND active ='1' 31 Query SELECT destination FROM view_aliases WHERE email='someu...@e

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-09 Thread Stan Hoeppner
John Peach put forth on 12/9/2009 7:03 AM: > On Wed, 09 Dec 2009 03:58:28 -0600 > Stan Hoeppner wrote: > > [snip] >> Two words: LIST MAIL. When you reply directly to senders, all kinds >> of unpleasant things can happen. Keep replies on list only and you >> can avoid seeing some of the draconi

Re: [OT?] blocking replies (WAS: whitelisting problem)

2009-12-09 Thread Stan Hoeppner
Mikael Bak put forth on 12/9/2009 4:18 AM: > I understand why you avoid the real question. But hey - it's your server :-) Do you? I have avoided it because these threads can quickly delve into childish mud slinging if the participants aren't civil thoughtful adults. I'm assuming we are all civi

OT: need some advice as to disto - supplementary

2009-12-09 Thread john
I have setup up a Centos system to be used as a server by our group. Because of our age etc., the question of how to administer the system, what tools are needed, what are available. Part of the problem is that should the current admin have to be replaced it is exceedingly unlikely that they wil

Re: OT: need some advice as to disto - supplementary

2009-12-09 Thread Eero Volotinen
1) how much administration does postfix actually need once its setup? From what I have seen so far, with our previous Fedora Postfix setup and the new Centos one, that once the initial configuration is done Postfix requires very little tweaking or am I missing something? We have thought of usin

Re: postfix address rewritting

2009-12-09 Thread Victor Duchovni
On Wed, Dec 09, 2009 at 09:43:36PM +0100, Adrien Castagnet wrote: >> So then $myhostname must be your domain name (mydomain.local) or it wont >> work >> mydestination defines all the targets (domains or hosts) for which >> Postfix is the final station. No "mydestination" defines all the domains f