Relay Access Denied / SSh tunnel / 2525

2009-06-20 Thread Frederic ROBERT

Hello,

I want to make a tunnel ssh with my remote computer.

eg: ssh -L 2525:remoteip:25 u...@remoteip

I'm setting up My E-mail client 127.0.0.1:2525

When i sent to an e-mail, there's a message "Relay Access Denied"

Best regards,

--
Frederic R.


sid-milter with postfix

2009-06-20 Thread fake...@fakessh.eu
Hi all,

documentation postfix understand a line on sid-milter. 
can we find other documentation on sid-milter with postfix

there may be another way to implement SenderID on postfix that the electronic 
process. a milter

thanks

peace for all

"Buddha"

Keep onlive


Multiple relay_hosts

2009-06-20 Thread Cory Hawkless
Hi All,

In my configuration postfix receives all mail, scans and passes to back end
mail server, but I'd like to be able to send to multiple back end mail
servers either in round robin or fail over etc. 
Anybody have any clue how this could happen?

Cheers,
Cory



Re: Relay Access Denied / SSh tunnel / 2525

2009-06-20 Thread Wietse Venema
Frederic ROBERT:
> Hello,
> 
> I want to make a tunnel ssh with my remote computer.
> 
> eg: ssh -L 2525:remoteip:25 u...@remoteip
> 
> I'm setting up My E-mail client 127.0.0.1:2525
> 
> When i sent to an e-mail, there's a message "Relay Access Denied"

In the SERVER logfile, look for the client IP address.

Then, look in "man postconf" for "permit_mynetworks"."

Wietse


Re: Relay Access Denied / SSh tunnel / 2525

2009-06-20 Thread Frederic ROBERT

Wietse Venema wrote:

Frederic ROBERT:

Hello,

I want to make a tunnel ssh with my remote computer.

eg: ssh -L 2525:remoteip:25 u...@remoteip

I'm setting up My E-mail client 127.0.0.1:2525

When i sent to an e-mail, there's a message "Relay Access Denied"


In the SERVER logfile, look for the client IP address.

Then, look in "man postconf" for "permit_mynetworks"."

Wietse



I found the solution !!! / i made a ssh tunnel ssh -D 4343 remotesship

I set up "manual proxy configuration". It's done :-)

Thank you

--
Frederic R.


Re: Multiple relay_hosts

2009-06-20 Thread Barney Desmond
2009/6/20 Cory Hawkless :
> In my configuration postfix receives all mail, scans and passes to back end
> mail server, but I'd like to be able to send to multiple back end mail
> servers either in round robin or fail over etc.

How does mail currently get from postfix to the backends? The usual
way to do this is with multiple equal-weighted MX records (for
round-robin). I'm assuming a "sane" setup whereby postfix finds the
nexthop via usual means (eg. you're not specifying the backends using
transport mappings).


Re: Multiple relay_hosts

2009-06-20 Thread Sahil Tandon
On Sat, 20 Jun 2009, Cory Hawkless wrote:

> Hi All,

Hi, please don't hi-jack threads when asking a new question.  Start a new
topic/thread.

> In my configuration postfix receives all mail, scans and passes to back end
> mail server, but I'd like to be able to send to multiple back end mail
> servers either in round robin or fail over etc. 

Postfix delivers to one location per recipient.  To deliver to multiple
locations, you must split each recipient into multiple recipients.  See:
http://www.postfix.org/ADDRESS_REWRITING_README.html
http://www.postfix.org/VIRTUAL_README.html

-- 
Sahil Tandon 


RE: Multiple relay_hosts

2009-06-20 Thread Cory Hawkless
Hi, thanks for the reply(And prompt!) But i'm confused as to what you mean
about hijacking threads?

-Original Message-
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Sahil Tandon
Sent: Sunday, 21 June 2009 12:15 AM
To: postfix-users@postfix.org
Subject: Re: Multiple relay_hosts

On Sat, 20 Jun 2009, Cory Hawkless wrote:

> Hi All,

Hi, please don't hi-jack threads when asking a new question.  Start a new
topic/thread.

> In my configuration postfix receives all mail, scans and passes to back
end
> mail server, but I'd like to be able to send to multiple back end mail
> servers either in round robin or fail over etc. 

Postfix delivers to one location per recipient.  To deliver to multiple
locations, you must split each recipient into multiple recipients.  See:
http://www.postfix.org/ADDRESS_REWRITING_README.html
http://www.postfix.org/VIRTUAL_README.html

-- 
Sahil Tandon 



Re: sid-milter with postfix

2009-06-20 Thread Noel Jones

fake...@fakessh.eu wrote:

Hi all,

documentation postfix understand a line on sid-milter. 
can we find other documentation on sid-milter with postfix




sid-milter is pretty easy to use with postfix.
1. - see sid-milter documentation for installing and 
configuring sid-milter.

2. - tell postfix what socket sid-milter is listening on.
See the postfix MILTER_README for help with this part.

Some old versions of sid-milter needed a trivial patch to work 
properly with postfix.  This is no longer needed; the current 
version 1.0 of sid-milter works fine with postfix.


there may be another way to implement SenderID on postfix that the electronic 
process. a milter




You can alternately use a policy server to check SenderID/SPF. 
 Here's the postfix documentation on using a policy server:

http://www.postfix.org/SMTPD_POLICY_README.html
There are several policy servers that support SID, here are a few:
http://www.postfix.org/addon.html#policy
http://www.openspf.org/Software



  -- Noel Jones


Re: sid-milter with postfix

2009-06-20 Thread fake...@fakessh.eu
I will try to install it correctly ...;

you know a webpage "a sort of how-to" describing the installation, 
documentation clearer than the one ligne on the website postfix


Le samedi 20 juin 2009 17:15, Noel Jones a écrit :
> fake...@fakessh.eu wrote:
> > Hi all,
> >
> > documentation postfix understand a line on sid-milter.
> > can we find other documentation on sid-milter with postfix
>
> sid-milter is pretty easy to use with postfix.
> 1. - see sid-milter documentation for installing and
> configuring sid-milter.
> 2. - tell postfix what socket sid-milter is listening on.
> See the postfix MILTER_README for help with this part.
>
> Some old versions of sid-milter needed a trivial patch to work
> properly with postfix.  This is no longer needed; the current
> version 1.0 of sid-milter works fine with postfix.
>
> > there may be another way to implement SenderID on postfix that the
> > electronic process. a milter
>
> You can alternately use a policy server to check SenderID/SPF.
>   Here's the postfix documentation on using a policy server:
> http://www.postfix.org/SMTPD_POLICY_README.html
> There are several policy servers that support SID, here are a few:
> http://www.postfix.org/addon.html#policy
> http://www.openspf.org/Software
>
>
>
>-- Noel Jones


Re: Multiple relay_hosts

2009-06-20 Thread Wietse Venema
Cory Hawkless:
> Hi, thanks for the reply(And prompt!) But i'm confused as to what you mean
> about hijacking threads?

You reply to an existing thread and change the subject, instead of
posting a new email message in a new thread.

Wietse


Re: sid-milter with postfix

2009-06-20 Thread Noel Jones

fake...@fakessh.eu wrote:

I will try to install it correctly ...;

you know a webpage "a sort of how-to" describing the installation, 
documentation clearer than the one ligne on the website postfix




Please don't top-post.

See the sid-milter documentation for installing and 
configuring sid-milter.  It's quite easy.


Most likely there's an sid-milter package available for your 
system - ports, or yum, or RPM or whatever your system uses.


Then you start the sid-filter program using the options you 
need.  Mine looks like this (all one line):
/usr/bin/sid-filter -p inet:9967 -t -d megan.vbhcs.org -D -l 
-P /var/run/milter/sid-filter.pid -u milter
You should read "man sid-filter" to see what those command 
options do.


See the postfix MILTER_README for instructions on telling 
postfix where to talk to sid-milter.

http://www.postfix.org/MILTER_README.html

My postfix main.cf entry looks like this:
smtpd_milters = inet:127.0.0.1:9967

  -- Noel Jones


Re: Multiple relay_hosts

2009-06-20 Thread LuKreme

On 20 Jun, 2009, at 09:17 , Cory Hawkless wrote:
Hi, thanks for the reply(And prompt!) But i'm confused as to what  
you mean

about hijacking threads?


Instead of starting your own thread, you replied to Fakessh's message  
with the subject 'sid-milter with postfix' then you changed the  
subject and wrote your message.


This is hijacking a thread, and it screws up threading.


--
This is our music from the bachelor's den, the sound of loneliness
turned up to ten. A harsh soundtrack from a stagnant waterbed
and it sounds just like this. This is the sound of someone
losing the plot making out that they're OK when they're not.
You're gonna like it, but not a lot. And the chorus goes like
this...



Re: Multiple relay_hosts

2009-06-20 Thread Linux Advocate

newbie error.. lets give him/her some love... and a gentle hint... ;)  



- Original Message 
> From: LuKreme 
> To: postfix-users@postfix.org
> Sent: Sunday, June 21, 2009 2:20:22 AM
> Subject: Re: Multiple relay_hosts
> 
> On 20 Jun, 2009, at 09:17 , Cory Hawkless wrote:
> > Hi, thanks for the reply(And prompt!) But i'm confused as to what you mean
> > about hijacking threads?
> 
> Instead of starting your own thread, you replied to Fakessh's message with 
> the 
> subject 'sid-milter with postfix' then you changed the subject and wrote your 
> message.
> 
> This is hijacking a thread, and it screws up threading.
> 
> 
>



  


Re: Multiple relay_hosts

2009-06-20 Thread Sahil Tandon
On Sat, 20 Jun 2009, Linux Advocate wrote:

> newbie error.. lets give him/her some love... and a gentle hint... ;)  

This was already done; see the rest of the thread.  And please don't
top-post.

-- 
Sahil Tandon 


Re: rule to manually put on hold

2009-06-20 Thread Stéphane MERLE

Terry Carmen a écrit :

Hi,

How can I set a rule to put manually on HOLD all email sent to
temporarydeaddomain.com ? I understand that postfix will automatically
sent the emails in the deferred and deal with them from time to time but
as I know that the domain is dead for a while, I'd like to move them
directly on hold and resubmit them in the maildrop when I know that the
domain will work again ...

Thanks for your help.

Stéphane




This should work:

In main.cf:
header_checks = regexp:/etc/postfix/header_checks


In /etc/postfix/header_checks:
/^To:@temporarydeaddomain.com/ HOLD


Terry

  
Hi, thanks, this worked perfectly as I send only one mail per person and 
use only the To field.
I just forgot to do a postmap on the header_checks file in the first 
place :)


Stéphane