Re: changing relayhost based on sender

2011-08-03 Thread Fernando Maior
Hi Michael, Did you try to unset the default relayhost and then setup sender_dependent_relayhost_maps for the domains and users that should have a relayhost AND no setup maps for the domains and users that should not have a relayhost? Also, may be there is another way to accomplish what you want.

changing relayhost based on sender

2011-08-03 Thread Michael Barrett
Hi, I'm searching for a way to effectively unset relayhost whenever an email goes through my postfix 2.7.0 server with a from address coming from either a specific email address, or from a specific domain or any email address from one of its subdomains. sender_dependent_relayhost_maps seems lik

Re: patch proposal

2011-08-03 Thread Hari Hendaryanto
On 8/3/2011 9:23 PM, Wietse Venema wrote: I have another scenario tcp:host:port tcp:/path/name Sorry, tcp:/path/name is bad user interface design. Everywhere else in Postfix, one has to specify the socket TYPE before the socket NAME (with BC compatibility for programs such as the SMTP client or

Re: Accepting email regardless of address

2011-08-03 Thread Noel Jones
On 8/3/2011 11:05 AM, Jirka Bourek wrote: > Noel Jones wrote: >> >> Seems to me if you're getting a "relay access denied" then the >> @testing.domain is working, and you have some other rule that's >> rejecting the mail. Or maybe you somehow removed "testing.domain" >> from relay_domains. >> >> Sor

Re: Accepting email regardless of address

2011-08-03 Thread Jirka Bourek
Noel Jones wrote: Seems to me if you're getting a "relay access denied" then the @testing.domain is working, and you have some other rule that's rejecting the mail. Or maybe you somehow removed "testing.domain" from relay_domains. Sorry, I don't debug SQL. I suggest you get it working with fla

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Wed, Aug 3, 2011 at 12:19 PM, Stan Hoeppner wrote: > On 8/3/2011 2:56 AM, Andrea Ganduglia wrote: > >> If I set >> >> virtual_transport = dovecot >> >> outbound emails are always deferred. > > I gave you the correct fix for this a few days ago: 587 submission. I will try in few days. Thanks ag

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Wed, Aug 3, 2011 at 4:01 PM, Benny Pedersen wrote: > On Wed, 3 Aug 2011 09:56:35 +0200, Andrea Ganduglia wrote: >> >> On Mon, Aug 1, 2011 at 5:53 AM, Benny Pedersen wrote: >>> >>> On Fri, 29 Jul 2011 23:34:54 +0200, Andrea Ganduglia wrote: >>> transport_maps = mysql:/etc/postfix/mysql_vir

Re: misunderstanding with dovecot

2011-08-03 Thread Stan Hoeppner
On 8/3/2011 9:04 AM, Benny Pedersen wrote: > On Wed, 03 Aug 2011 05:19:10 -0500, Stan Hoeppner wrote: >> On 8/3/2011 2:56 AM, Andrea Ganduglia wrote: >> >>> If I set >>> >>> virtual_transport = dovecot >>> >>> outbound emails are always deferred. >> >> I gave you the correct fix for this a few days

Re: Accepting email regardless of address

2011-08-03 Thread Noel Jones
On 8/3/2011 6:59 AM, Jirka Bourek wrote: > > and I get "Recipient address rejected: User unknown in relay > recipient table". Adding "@testing.domain" into table domains leads > to "Relay access denied" Seems to me if you're getting a "relay access denied" then the @testing.domain is working, and

Re: patch proposal

2011-08-03 Thread Wietse Venema
Hari Hendaryanto: [ Charset ISO-8859-1 unsupported, converting... ] > On 8/2/2011 2:29 AM, Wietse Venema wrote: > > Hari Hendaryanto: > >> Hello, > >> > >> I've created a patch that mimicked tcp_table. however, the table lookups > >> are directed to a unix domain socket instead of tcp servers. > >>

Re: postscreen unable to log spamhaus URL

2011-08-03 Thread Wietse Venema
Jeetu: [ Charset ISO-8859-1 unsupported, converting... ] > On 02/08/11 8:02 PM, Wietse Venema wrote: > > If in doubt, read the fine documentation. As documented, postsceen > > currently does not have any controls to format the DNSBL reply > > (other than aliasing the DNSBL domain name). > > Fine W

Re: misunderstanding with dovecot

2011-08-03 Thread Benny Pedersen
On Wed, 03 Aug 2011 05:19:10 -0500, Stan Hoeppner wrote: On 8/3/2011 2:56 AM, Andrea Ganduglia wrote: If I set virtual_transport = dovecot outbound emails are always deferred. I gave you the correct fix for this a few days ago: 587 submission. and note that outbound mails is not handled b

Re: misunderstanding with dovecot

2011-08-03 Thread Benny Pedersen
On Wed, 3 Aug 2011 09:56:35 +0200, Andrea Ganduglia wrote: On Mon, Aug 1, 2011 at 5:53 AM, Benny Pedersen wrote: On Fri, 29 Jul 2011 23:34:54 +0200, Andrea Ganduglia wrote: transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf maildrop_destination_recipient_limit = 1 virtual_transpor

RE: Postfix , aliases : send messages failed

2011-08-03 Thread Baptiste Bauer
-Message d'origine- De : Benny Pedersen [mailto:m...@junc.org] Envoyé : mercredi 3 août 2011 15:54 À : postfix-users@postfix.org Objet : RE: Postfix , aliases : send messages failed On Wed, 3 Aug 2011 11:29:34 +0200, Baptiste Bauer wrote: >> the problem lies with the relayhost and must b

RE: Postfix , aliases : send messages failed

2011-08-03 Thread Benny Pedersen
On Wed, 3 Aug 2011 11:29:34 +0200, Baptiste Bauer wrote: the problem lies with the relayhost and must be fixed by the postmaster of the relayhost. Ok you give me the certitude that the problem must be fixed by the provider. The mail are blocked on the relayhost. ( according my logs ) can yo

Re: Accepting email regardless of address

2011-08-03 Thread Jirka Bourek
Noel Jones wrote: On 8/2/2011 9:31 AM, Jason Gauthier wrote: Greetings, Due to a new business requirement, I need to make a change with postfix that I am not certain how to handle. First, I use postfix as a relay only system. It does not do local delivery. Once it does it's tasks it passes

Re: postscreen unable to log spamhaus URL

2011-08-03 Thread Noel Jones
On 8/3/2011 12:49 AM, Jeetu wrote: > On 02/08/11 8:02 PM, Wietse Venema wrote: >> If in doubt, read the fine documentation. As documented, postsceen >> currently does not have any controls to format the DNSBL reply >> (other than aliasing the DNSBL domain name). > > Fine Wietse, i found a workarou

Re: misunderstanding with dovecot

2011-08-03 Thread Stan Hoeppner
On 8/3/2011 2:56 AM, Andrea Ganduglia wrote: > If I set > > virtual_transport = dovecot > > outbound emails are always deferred. I gave you the correct fix for this a few days ago: 587 submission. -- Stan

RE: Postfix , aliases : send messages failed

2011-08-03 Thread Baptiste Bauer
> the problem lies with the relayhost and must be fixed by the postmaster of the relayhost. Ok you give me the certitude that the problem must be fixed by the provider. The mail are blocked on the relayhost. ( according my logs ) Thank you for your help.

Re: Postfix , aliases : send messages failed

2011-08-03 Thread Ansgar Wiechers
On 2011-08-03 Baptiste Bauer wrote: > De : Ansgar Wiechers [mailto:li...@planetcobalt.net] Envoyé : mercredi >> Sorry, but this isn't clear at all. Please rephrase, because I have no >> idea what you're asking here. > > I draw something, it could be easy to explain : > http://img827.imageshack.

RE: Postfix , aliases : send messages failed

2011-08-03 Thread Baptiste Bauer
>De : Ansgar Wiechers [mailto:li...@planetcobalt.net] Envoyé : mercredi >3 août 2011 10:08 À : postfix-users@postfix.org Objet : Re: Postfix , >aliases : send messages failed >Sorry, but this isn't clear at all. Please rephrase, because I have no >idea what you're asking here. >Regards >Ansgar

Re: Postfix , aliases : send messages failed

2011-08-03 Thread Ansgar Wiechers
On 2011-08-03 Baptiste Bauer wrote: > On 2011-08-03 Baptiste Bauer wrote: >> I phoned yesterday my provider, it propose me a relay with necessary >> opening port. >> But securities system problems could exist , what is the critical >> level ? > > To be clear : > > It is IMPOSSIBLE to "transport",

Re: postscreen: unknown command: OK

2011-08-03 Thread Ralf Hildebrandt
* Jeetu : > On 03/08/11 12:48 AM, Ralf Hildebrandt wrote: > >>$head /etc/postfix/whitelisted_clients > >>> x.x.x.x OK > >>> x.x.x.x OK > >permit, not OK. > > ok. i wanted to know if i add access_list in postscreen, > then do i need it in smtpd_recipient_restrictions or

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Mon, Aug 1, 2011 at 5:53 AM, Benny Pedersen wrote: > On Fri, 29 Jul 2011 23:34:54 +0200, Andrea Ganduglia wrote: > >> transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf >> maildrop_destination_recipient_limit = 1 >> virtual_transport = virtual > > doh :-) > > virtual is postfix that

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Sun, Jul 31, 2011 at 11:08 PM, Victor Duchovni wrote: > On Sat, Jul 30, 2011 at 12:20:40PM +0200, Andrea Ganduglia wrote: > >> Without transport_maps it doesn't works. If I set virtual_transport = >> dovecot log returns relay=none >> >>> >> >>> The "virtual_transport" setting only app

Re: patch proposal

2011-08-03 Thread Hari Hendaryanto
On 8/2/2011 2:29 AM, Wietse Venema wrote: Hari Hendaryanto: Hello, I've created a patch that mimicked tcp_table. however, the table lookups are directed to a unix domain socket instead of tcp servers. Actually, the patch itself is a modification of the source code of tcp_table. Map names have