Re: Relayhost

2010-11-23 Thread Noel Jones
On 11/23/2010 5:54 AM, Angelo Amoruso wrote: Hi, is there any way for postfix to change the outgoing relayhost using a sort of policy server? Postfix doesn't directly support that, although there may be workarounds for some situations. What information will you use to determine the relayhos

Re: Relayhost

2010-11-25 Thread Angelo Amoruso
On 23/11/2010 17.37, Noel Jones wrote: On 11/23/2010 5:54 AM, Angelo Amoruso wrote: Hi, is there any way for postfix to change the outgoing relayhost using a sort of policy server? Postfix doesn't directly support that, although there may be workarounds for some situations. What information

Re: Relayhost

2010-11-25 Thread /dev/rob0
On Thu, Nov 25, 2010 at 10:33:33AM +0100, Angelo Amoruso wrote: > One situation is when having Postfix using as smarthost your ISP > smtp server. > Nowadays the smtp server DNS record is actually a round-robin dns > name or set of aliases which points to a pool of smtp servers. > > Example: > > s

Re: Relayhost

2010-11-25 Thread /dev/rob0
On Thu, Nov 25, 2010 at 06:34:03AM -0600, /dev/rob0 wrote: > And "dig outmx.site. mx" yields this: > outmx.site. IN 600 10 goodrelay.1.example.net. > outmx.site. IN 600 10 goodrelay.2.example.net. > ... Coffee deprivation, sorry. More like this: outmx.site. 600 IN

Re: relayhost

2009-03-11 Thread Noel Jones
Rocco Scappatura wrote: Hello, I need to use 'mail()' PHP function on a UNIX system, which uses Postfix as MTA. On Linux systems, mail() function use the 'sendmail' program to transmit messages. And so, my PHP program uses postfix setup to transmit the messages. In particular, it looks up DNS f

Re: relayhost

2009-03-12 Thread Ralf Hildebrandt
* Rocco Scappatura : > Hello, > > I need to use 'mail()' PHP function on a UNIX system, which uses Postfix > as MTA. > > On Linux systems, mail() function use the 'sendmail' program to transmit > messages. And so, my PHP program uses postfix setup to transmit the > messages. In particular, it loo

Re: relayhost

2009-03-12 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Rocco Scappatura : > > Hello, > > > > I need to use 'mail()' PHP function on a UNIX system, which uses Postfix > > as MTA. > > > > On Linux systems, mail() function use the 'sendmail' program to transmit > > messages. And so, my PHP program uses postfix setup to transmit

RE: relayhost

2009-03-12 Thread Rocco Scappatura
Noel, > > I need to use 'mail()' PHP function on a UNIX system, which uses > Postfix > > as MTA. > > > > On Linux systems, mail() function use the 'sendmail' program to > transmit > > messages. And so, my PHP program uses postfix setup to transmit the > > messages. In particular, it looks up DNS f

Re: relayhost question

2010-08-12 Thread Noel Jones
On 8/12/2010 9:43 AM, P.A wrote: Hi, hoping someone can help. I have a situation that I want to send all outgoing mail to 3 servers that are part of a spam cluster which will check the email for spam and deliver it. I was thinking of creating a host in DNS, for example smtp-relay and have it po

RE: relayhost question

2010-08-12 Thread P.A
for future versions of postfix. Paul. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones Sent: Thursday, August 12, 2010 11:01 AM To: postfix-users@postfix.org Subject: Re: relayhost question On 8/12/2010 9:43 AM, P.A w

Re: relayhost question

2010-08-15 Thread Jeroen Geilman
On 08/12/2010 05:11 PM, P.A wrote: Noel, thanks for the quick reply. I don't mind delivering directly if all the relayhosts are down, because it's better than the email sitting in the queue waiting. The only reason I want the email to be forward is so it can be checked for spam. The problem wi

Re: relayhost = smtp.myisp.nl

2013-01-18 Thread Reindl Harald
Am 18.01.2013 11:17, schrieb Adri van Loopik: > Hallo, > > As an amateur I am playing with configuring email on a Linux box (Ubuntu > 12.04 LTS Server). > > I was able to send mail DIRECTLY to the internet, but of course I ran into > the problem of spamhouse etc. So it > seems clear that I a

Re: relayhost = smtp.myisp.nl

2013-01-18 Thread Reindl Harald
FIRST: DO NOT REPLY OFF-LIST AND DO NOT REPLY IN HTML ON MAILING-LISTS! Am 18.01.2013 11:39, schrieb Adri van Loopik: > what about the manual? > http://www.postfix.org/postconf.5.html#relayhost > > what else should postfix do if you only say "relay to host xyz"? > > The next-hop

Re: relayhost = smtp.myisp.nl

2013-01-18 Thread Wietse Venema
Adri van Loopik: > use a relayhost. This works perfectly, the Linux box can send mail > indirectly - via the smtp server provided by my ISP - to internet > addresses. > > But when relayhost is defined, mail to other hosts on my LAN does not go > through. relayhost, as documented, sends mail th

Re: relayhost = smtp.myisp.nl

2013-01-18 Thread Adri van Loopik
Thanks a lot Wietse, for Postfix and also for this very helpful reaction and good advice. It has worked, though not immediately. I had first also to put smtp_host_lookup on 'native, dns' (I did the same for lmtp_host_lookup, not sure that was needed). Everything started to go really well after

Re: relayhost = smtp.myisp.nl

2013-01-18 Thread Viktor Dukhovni
On Fri, Jan 18, 2013 at 09:12:31PM +0100, Adri van Loopik wrote: > I had first also to put smtp_host_lookup on 'native, dns' (I did the > same for lmtp_host_lookup, not sure that was needed). The real issue was that you failed to use the correct relayhost syntax: relayhost = [relay.exam

Re: relayhost = smtp.myisp.nl

2013-01-19 Thread Adri van Loopik
For what it is worth: I DID use the relayhost = [smtp.myisp.nl] syntax. I hope this is helpful to someone. 2013/1/18 Viktor Dukhovni : > On Fri, Jan 18, 2013 at 09:12:31PM +0100, Adri van Loopik wrote: > >> I had first also to put smtp_host_lookup on 'native, dns' (I did the >> same for lmtp_hos

Re: relayhost = smtp.myisp.nl

2013-01-19 Thread Wietse Venema
Adri van Loopik: > For what it is worth: I DID use the relayhost = [smtp.myisp.nl] syntax. > > I hope this is helpful to someone. It's not helpful without a descripton of the problem symptoms. A working Postfix does not need /etc/hosts lookups just because you add a transport map. That makes abs

Re: relayhost problem

2013-02-08 Thread Reindl Harald
Am 08.02.2013 13:02, schrieb Dominique: > Hi, > > We use the relayhost option to send our mail through the ISP mail server (not > really an option to do it in any > other way).Works most of the time, but randomly some mails are rejected with > the following internal error: > > Feb 4 14:20:57

Re: relayhost and sender_dependent_relayhost_maps

2008-10-02 Thread Wietse Venema
Johan Str?m: > Hi > > I got a situation where I need to relay ALMOST all mail through > another mail server. The catch is that I want a few specific sender > mail addresses to send directly from the postfix itself (as if I > didn't have a relayhost directive). I've fooled around woth > sen

Re: relayhost and sender_dependent_relayhost_maps

2008-10-03 Thread Johan Ström
On Oct 3, 2008, at 2:49 AM, Wietse Venema wrote: Johan Ström: Hi I got a situation where I need to relay ALMOST all mail through another mail server. The catch is that I want a few specific sender mail addresses to send directly from the postfix itself (as if I didn't have a relayhost directi

Re: relayhost and sender_dependent_relayhost_maps

2008-10-03 Thread Wietse Venema
If you really want no relayhost for a list of senders, this is not easily done with Postfix. sender_dependent_relayhost_maps was designed to do the exact opposite: specify a relayhost for a list of senders. If the sender list is REALLY small, you could use the pcre built-in negation operator: /e

Re: relayhost and sender_dependent_relayhost_maps

2008-10-03 Thread Wietse Venema
Wietse Venema: > If you really want no relayhost for a list of senders, this is not > easily done with Postfix. sender_dependent_relayhost_maps was > designed to do the exact opposite: specify a relayhost for a list > of senders. > > If the sender list is REALLY small, you could use the pcre buil

Re: relayhost + backup relayhost

2010-04-19 Thread Noel Jones
On 4/19/2010 9:34 AM, CT wrote: My relay sends as follows: 90% - relayhost 10% - other hosts in transport (these go "directly" out) This works well. my question: When the primary relayhost is "unavailable" what would be the best way to *send* the 90% out.. ? (not about load balancing) If yo

Re: relayhost and transport_maps

2010-04-29 Thread Wietse Venema
Israel Garcia: > Hi, > > I'm sending all emails to a relayhost with a TLS connection , but I > want to send mail to specific domain using another hosts. I mean: As documented, the transport_maps setting overrides the relayhost setting, so you are on the right track: relayhost = [smtp.tls.ho

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
On Thu, Apr 29, 2010 at 2:22 PM, Wietse Venema wrote: > >> �...@domain1 smtp:[host1] >> �...@domain2 smtp:[host2] > > The syntax for transport maps is documented: man 5 transport. Please > take a minute to read the docs. :-) working now.. but I'm getting this error when try to connect with the

Re: relayhost and transport_maps

2010-04-29 Thread Wietse Venema
Israel Garcia: > On Thu, Apr 29, 2010 at 2:22 PM, Wietse Venema wrote: > > > >> ?...@domain1 smtp:[host1] > >> ?...@domain2 smtp:[host2] > > > > The syntax for transport maps is documented: man 5 transport. Please > > take a minute to read the docs. > > :-) working now.. > > but I'm getting thi

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
>> >> Apr 29 08:31:49 server postfix/smtp[25835]: 270101CE0C: >> to=, relay=host1[xx.xx.xx.xx]:25, delay=545, >> delays=545/0.02/0.09/0, dsn=4.7.0, status=deferred (SASL >> authentication failed; server host1[xx.xx.xx.xx] said: 535 5.7.0 >> Error: authentication failed: authentication failure) >> >

Re: relayhost and transport_maps

2010-04-29 Thread Brian Evans - Postfix List
On 4/29/2010 11:21 AM, Israel Garcia wrote: >>> Apr 29 08:31:49 server postfix/smtp[25835]: 270101CE0C: >>> to=, relay=host1[xx.xx.xx.xx]:25, delay=545, >>> delays=545/0.02/0.09/0, dsn=4.7.0, status=deferred (SASL >>> authentication failed; server host1[xx.xx.xx.xx] said: 535 5.7.0 >>> Error: authe

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
On Thu, Apr 29, 2010 at 5:34 PM, Brian Evans - Postfix List wrote: > > This is because of your setting in main.cf: > >> smtp_sasl_password_maps = static:login:userpasswd >> > > This will send the same user and password to every server that supports > authentication. > Suggest changing this to a m

Re: relayhost and transport_maps

2010-04-30 Thread Wietse Venema
Israel Garcia: [ Charset UTF-8 unsupported, converting... ] > On Thu, Apr 29, 2010 at 5:34 PM, Brian Evans - Postfix List > wrote: > > > > > This is because of your setting in main.cf: > > > >> smtp_sasl_password_maps = static:login:userpasswd > >> > > > > This will send the same user and passwor

Re: relayhost if fail

2010-08-23 Thread Julien Tartarin
Hello, On Mon, Aug 23, 2010 at 01:40, listadecorreo wrote: > In the configuration of my main.cf, I have all mail sent to an external > server (relayhost) I can do to check if the server is operational and if it > fails to send all mail to another server > > relayhost=xxx.xxx.xxx.xxx if fail send

Re: relayhost if fail

2010-08-23 Thread Wietse Venema
listadecorreo: [ Charset ISO-8859-1 unsupported, converting... ] > Hi to all > > In the configuration of my main.cf, I have all mail sent to an external > server (relayhost) I can do to check if the server is operational and if > it fails to send all mail to another server > > relayhost=xxx.xxx

Re: relayhost if fail

2010-08-23 Thread listadecorreo
On 08/23/2010 01:11 PM, Wietse Venema wrote: listadecorreo: [ Charset ISO-8859-1 unsupported, converting... ] Hi to all In the configuration of my main.cf, I have all mail sent to an external server (relayhost) I can do to check if the server is operational and if it fails to send all mail

Re: relayhost if fail

2010-08-23 Thread Wietse Venema
listadecorreo: > > See: http://www.postfix.org/postconf.5.html#smtp_fallback_relay > > > Thanks a lot i'm using smtp_fallback_relay but show tis error > > Aug 23 19:27:52 jupiter postfix/smtpd[15705]: ECC30EA056: > client=unknown[10.111.100.100] > Aug 23 19:27:55 jupiter postfix/c

Re: relayhost and authentication

2009-09-15 Thread John Peach
On Tue, 15 Sep 2009 16:06:54 +0200 K bharathan wrote: > if the relay host has got a username and password how can i specify > these in the main.cf > a google on this showed me the following: > > relayhost = smtp.example.com:25 > smtp_sasl_auth_enable=yes > smtp_sasl_password_maps=hash:/etc/p

Re: relayhost and authentication

2009-09-15 Thread Stan Hoeppner
K bharathan put forth on 9/15/2009 9:06 AM: > if the relay host has got a username and password how can i specify > these in the main.cf > a google on this showed me the following: > > relayhost = smtp.example.com:25 > smtp_sasl_auth_enable=yes > s

Re: relayhost and authentication

2009-09-15 Thread Ansgar Wiechers
On 2009-09-15 K bharathan wrote: > if the relay host has got a username and password how can i specify > these in the main.cf > a google on this showed me the following: > > relayhost = smtp.example.com:25 > smtp_sasl_auth_enable=yes > smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd >

Re: relayhost and smtpd_recipient_restrictions

2013-11-17 Thread Wietse Venema
Adam Pribyl: > Hello, > > we were using postfix as mail server directly delivering email from and to > company without issues. Now we had to change the ISP and the new one > forces us to use his relay as "The next-hop destination of non-local > mail" - this means I only added a directive "relay

Re: relayhost and smtpd_recipient_restrictions

2013-11-17 Thread Adam Pribyl
On Sun, 17 Nov 2013, Wietse Venema wrote: Adam Pribyl: Hello, we were using postfix as mail server directly delivering email from and to company without issues. Now we had to change the ISP and the new one forces us to use his relay as "The next-hop destination of non-local mail" - this means

Re: relayhost and smtpd_recipient_restrictions

2013-11-17 Thread Wietse Venema
Adam Pribyl: > On Sun, 17 Nov 2013, Wietse Venema wrote: > > > Adam Pribyl: > >> Hello, > >> > >> we were using postfix as mail server directly delivering email from and to > >> company without issues. Now we had to change the ISP and the new one > >> forces us to use his relay as "The next-hop de

Re: relayhost and smtpd_recipient_restrictions

2013-11-17 Thread Noel Jones
On 11/17/2013 5:38 AM, Adam Pribyl wrote: > Hello, > > we were using postfix as mail server directly delivering email from > and to company without issues. Now we had to change the ISP and the > new one forces us to use his relay as "The next-hop destination of > non-local mail" - this means I onl

Re: relayhost not working correctly

2009-01-02 Thread Dan Langille
Arthur Wiebe wrote: Hey folks, I'm setting up a mail server using postfix, don't have a whole lot of experience with it and so here's what I want to do. I want Postfix to be a smarthost, with internal connections to use SSL. Dovecot is my MDA as well. The relay host (smarthost) is my ISP, and i

Re: relayhost not working correctly

2009-01-02 Thread Sahil Tandon
Arthur Wiebe wrote: [...] > Also I've monitored my firewall and I can see the connection to my > ISP's mail server when attempting to send an email using postfix. But > the email never get's delivered so I assume it's something to do with > the relayhost authentication. > > So here's my main.cf

Re: relayhost not working correctly

2009-01-02 Thread Arthur Wiebe
On Sat, Jan 3, 2009 at 1:06 PM, Dan Langille wrote: > Arthur Wiebe wrote: >> >> Hey folks, >> >> I'm setting up a mail server using postfix, don't have a whole lot of >> experience with it and so here's what I want to do. >> >> I want Postfix to be a smarthost, with internal connections to use >>

Re: relayhost not working correctly

2009-01-02 Thread Terry Carmen
Arthur Wiebe wrote: On Sat, Jan 3, 2009 at 1:06 PM, Dan Langille wrote: Arthur Wiebe wrote: Hey folks, I'm setting up a mail server using postfix, don't have a whole lot of experience with it and so here's what I want to do. I want Postfix to be a smarthost, with internal connectio

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar : Hi, I am looking for a solution where i would be able to configure one postfix instance in such a way that it rotates multiple relayhosts and acts as a host that relays emails to multiple hosts. For eg. we currently have the option of entering just one relayhost = xx.xx

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
can you please give me a tutorial to achieve this? Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Wed, Nov 18, 2009 at 17:57, Eero Volotinen wrote: > Quoting Dhiraj Chatpar : > > Hi, >

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar : can you please give me a tutorial to achieve this? See the: http://cormander.com/blog/2008/05/round-robin-balancing-with-iptables/ and http://www.zytrax.com/books/dns/ch9/rr.html -- Eero

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
I believe there is an option within postfix too to achieve this? Ogden Nash - "The trouble with a kitten is that when it grows up, it's always a cat." On Wed, Nov 18, 2009 at 18:50, Eero Volotinen wrote: > Quoting Dhiraj Chatpar :

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar : I believe there is an option within postfix too to achieve this? As far as I known, postfix only supports one relayhost plus backup host. -- Eero

Re: Relayhost to multiple hosts

2009-11-18 Thread Barney Desmond
2009/11/19 Dhiraj Chatpar : > I believe there is an option within postfix too to achieve this? I'm fairly sure there's not. If you don't like the idea of using iptables, the alternative would be a customised DNS entry for your relayhost. Create a "virtual" relayhost A-record (eg. relayhost.mydoma

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
What do you think about this?? will this work? http://souptonuts.sourceforge.net/postfix_sbr.html Ted Turner - "Sports is like a war without the killing." On Wed, Nov 18, 2009 at 19:08, Barney Desmond wrote: > 2009/11/19 Dhiraj Cha

Re: Relayhost to multiple hosts

2009-11-18 Thread Wietse Venema
Dhiraj Chatpar: > Hi, > > I am looking for a solution where i would be able to configure one postfix > instance in such a way that it rotates multiple relayhosts and acts as a > host that relays emails to multiple hosts. For eg. we currently have the > option of entering just one relayhost = xx.xx

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
We have 5 different servers.. all of them are mailing servers for our main company domain, I wish to Balance the mails across these 5 servers. Ogden Nash - "The trouble with a kitten is that when it grows up, it's always a cat." On W

Re: Relayhost to multiple hosts

2009-11-18 Thread Daniel L'Hommedieu
On Nov 18, 2009, at 09:22, Dhiraj Chatpar wrote: > We have 5 different servers.. all of them are mailing servers for our main > company domain, I wish to Balance the mails across these 5 servers. > > > Ogden Nash - "The trouble with a kitten is that when it grows up, it's > always a cat." >

Re: Relayhost to multiple hosts

2009-11-18 Thread Wietse Venema
Dhiraj Chatpar: > We have 5 different servers.. all of them are mailing servers for our main > company domain, I wish to Balance the mails across these 5 servers. Isn't that what the DNS was invented for? You specify the domain and its servers, and then all standards-compliant mail systems will di

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
Yes the DNS is a good idea.. However what will i achieve if i implement the following? # Changes in /etc/postfix2/main.cf sender_based_routing = yes relay unix - - n - - smtp -o fallback_relay= smtp_act1 unix - - n

Re: Relayhost to multiple hosts

2009-11-18 Thread Wietse Venema
Dhiraj Chatpar: > Yes the DNS is a good idea.. > > However what will i achieve if i implement the following? The solution is to have multiple MX records in the DNS. All standards-compliant MTAs will spread the load WITHOUT ANY SENDER SIDE CONFIGURATION. Wietse

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
Well sir its our friend yahoo which is going to get me kicked off my job as an administrator. I had an issue where a email sent to a yahoo email address from My CEO didnt end up delivering. Ever since i have been wondering for solutions. And this is something i could think of. Since when did spamme

Re: Relayhost to multiple hosts

2009-11-18 Thread Noel Jones
On 11/18/2009 11:47 AM, Dhiraj Chatpar wrote: Well sir its our friend yahoo which is going to get me kicked off my job as an administrator. I had an issue where a email sent to a yahoo email address from My CEO didnt end up delivering. Ever since i have been wondering for solutions. You're tryi

Re: relayhost and transport_maps (SOLEVD)

2010-04-30 Thread Israel Garcia
On Fri, Apr 30, 2010 at 1:14 PM, Wietse Venema wrote: >> HI Brian, >> >> How can I change this to a map file? > > For an example, see: http://www.postfix.org/SASL_README.html#client_sasl > >        Wietse > DOne, here's my last configuration: postconf -n: alias_database = hash:/etc/aliases ali

Re: Relayhost, client bounces & best practice?

2008-09-01 Thread mouss
netcat wrote: Apologies if this is a trivial question, I haven't seen it discussed. Searching brought up 1 related issue, which 1) was not answered and 2) was looking at the problem from the wrong side. This was someone wondering how to exclude bounces from the rest that he relayed to his re

Re: Relayhost dependend on destination MX

2010-03-24 Thread Wietse Venema
Martijn de Munnik: > Hi, > > Our smtp server has some issues when talking to some remote mx's. This > results in a timeout and the message not being delivered (this was > discussed on this mailinglist but there doesn't seem to be a real > solution available now). When we relay the message through

Re: Relayhost dependend on destination MX

2010-03-24 Thread Martijn de Munnik - Postfix List
On Wed, 24 Mar 2010 09:45:55 -0400 (EDT), Wietse Venema wrote: > Martijn de Munnik: >> Hi, >> >> Our smtp server has some issues when talking to some remote mx's. This >> results in a timeout and the message not being delivered (this was >> discussed on this mailinglist but there doesn't seem to

Re: Relayhost dependend on destination MX

2010-03-24 Thread Robert Schetterer
Am 24.03.2010 14:31, schrieb Martijn de Munnik: > Hi, > > Our smtp server has some issues when talking to some remote mx's. This > results in a timeout and the message not being delivered (this was > discussed on this mailinglist but there doesn't seem to be a real > solution available now). When

Re: relayhost doesn't change originating IP?

2010-08-20 Thread Kris Deugau
James wrote: I have my own domain (on a dynamic IP) and run my own mail server but I use relay host to send mail through my ISP. I recently got this bounce: (reason: 554 Service unavailable; Client host [my_isp's_mail_server_host_name] blocked using Barracuda Reputation; http://bbl.barracudacen

Re: relayhost doesn't change originating IP?

2010-08-20 Thread Noel Jones
On 8/20/2010 1:48 PM, James wrote: I have my own domain (on a dynamic IP) and run my own mail server but I use relay host to send mail through my ISP. I recently got this bounce: (reason: 554 Service unavailable; Client host [my_isp's_mail_server_host_name] blocked using Barracuda Reputation; h

Re: relayhost with remote smtp auth

2011-05-15 Thread Jeroen Geilman
On 05/15/2011 02:45 PM, ITSec_Mike wrote: Hi all I want to get the following scenario: (1) A Client connects to a postfix server. I know the sender email addresses which are allowed to connect to S1. The authentication on S1 should be delegated to SMTP AUTH on S2. How can this be achieved on S1

Re: relayhost with remote smtp auth

2011-05-15 Thread Mike Brack
On Sun, May 15, 2011 at 3:11 PM, Jeroen Geilman wrote: > On 05/15/2011 02:45 PM, ITSec_Mike wrote: > > Hi all > > I want to get the following scenario: > > (1) > A Client connects to a postfix server. > I know the sender email addresses which are allowed to connect to S1. > The authentication on S

Re: relayhost with remote smtp auth

2011-05-15 Thread Reindl Harald
Am 15.05.2011 21:54, schrieb Mike Brack: > Will the credentials from the client being used for sending the email > via transport map with the same credentials? > If the content filter gets called before the email is "transported" it > would be fine. no, sasl-authenticating for users and smtp-re

Re: relayhost with remote smtp auth

2011-05-15 Thread Wietse Venema
Mike Brack: > On Sun, May 15, 2011 at 3:11 PM, Jeroen Geilman wrote: > > On 05/15/2011 02:45 PM, ITSec_Mike wrote: > > > > Hi all > > > > I want to get the following scenario: > > > > (1) > > A Client connects to a postfix server. > > I know the sender email addresses which are allowed to connect

Re: relayhost with remote smtp auth

2011-05-17 Thread Mike Brack
On Sun, May 15, 2011 at 10:23 PM, Wietse Venema wrote: > Mike Brack: >> On Sun, May 15, 2011 at 3:11 PM, Jeroen Geilman wrote: >> > On 05/15/2011 02:45 PM, ITSec_Mike wrote: > there is no mention of forwarding credentials. Does anybody know a smtp proxy which can do that? -- Thanks, Mike

Re: relayhost with remote smtp auth

2011-05-17 Thread Victor Duchovni
On Sun, May 15, 2011 at 09:54:35PM +0200, Mike Brack wrote: > > A Client connects to a postfix server. > > I know the sender email addresses which are allowed to connect to S1. > > The authentication on S1 should be delegated to SMTP AUTH on S2. > > How can this be achieved on S1? A suitable SASL

Re: relayhost GMAIL submission (port 587)

2017-10-26 Thread Viktor Dukhovni
> On Oct 26, 2017, at 12:12 PM, sru...@gemneye.org wrote: > > #relayhost = [smtp.gmail.com]:587 > #smtpd_sasl_auth_enable = yes Look closely, that line has "smtpd_..." while all the ones below have "smtp_...". Check the docs. > #smtp_use_tls = yes > #smtp_sasl_security_options = noanonymous >

Re: relayhost GMAIL submission (port 587)

2017-10-26 Thread Wietse Venema
Viktor Dukhovni: > > > > On Oct 26, 2017, at 12:12 PM, sru...@gemneye.org wrote: > > > > #relayhost = [smtp.gmail.com]:587 > > #smtpd_sasl_auth_enable = yes > > Look closely, that line has "smtpd_..." while all the ones below > have "smtp_...". Check the docs. You need to fix that, because Go

Re: relayhost and sending some mail directly?

2009-12-18 Thread tobi
Am 19.12.2009 00:07, schrieb Dasza Seyda: > If I add a "relayhost" to main.cf: > > relayhost = relayhost.example.com > > all main will be delivered through relayhost.example.com. > > > > Now, I would like to deliver mail i.e. for @mylocaldomain directly, > not through relayhost - how should I do it

Re: relayhost and sending some mail directly?

2009-12-19 Thread Dasza Seyda
If you set mylocaldomain in mydestination or virtual_mailbox_domains of your main.cf then Postfix should not relay the mail. I want the mail to be sent. If you want that Postfix smtp client sends emails based on sender to different relay servers then http://www.postfix.org/SASL_README.html wo

Re: relayhost and sending some mail directly?

2009-12-19 Thread Wietse Venema
Dasza Seyda: > Let's suppose that system-generated mails all will have > @system.example.com domain. > > If I send this system-generated mail: > > user$ echo test | mail -s test myacco...@yahoo.tld > > I would like to have it delivered directly, without any relays (as it > will come as u...@sy

Re: relayhost and sending some mail directly?

2009-12-19 Thread Dasza Seyda
On 19.12.2009 14:52, Wietse Venema wrote: Dasza Seyda: Let's suppose that system-generated mails all will have @system.example.com domain. If I send this system-generated mail: user$ echo test | mail -s test myacco...@yahoo.tld I would like to have it delivered directly, without any relays (a

Re: relayhost and sending some mail directly?

2009-12-19 Thread Sahil Tandon
On Sat, 19 Dec 2009, Dasza Seyda wrote: > >http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps > > According to that documentation page, > "sender_dependent_relayhost_maps" is "is available in Postfix 2.3 > and later" - you mention Postfix 2.6 though. > > Is this a documentati

Re: relayhost and sending some mail directly?

2009-12-19 Thread Dasza Seyda
On 19.12.2009 17:00, Sahil Tandon wrote: On Sat, 19 Dec 2009, Dasza Seyda wrote: http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps According to that documentation page, "sender_dependent_relayhost_maps" is "is available in Postfix 2.3 and later" - you mention Postfix 2.6

Re: relayhost and sending some mail directly?

2009-12-19 Thread Wietse Venema
Dasza Seyda: > On 19.12.2009 14:52, Wietse Venema wrote: > > Dasza Seyda: > >> Let's suppose that system-generated mails all will have > >> @system.example.com domain. > >> > >> If I send this system-generated mail: > >> > >> user$ echo test | mail -s test myacco...@yahoo.tld > >> > >> I would like

Re: relayhost - what smtp server can I use?

2010-02-09 Thread terry
Quoting Jeff Lacki : I have a situation with hosting.com, trying to setup a friends postfix config.  Since I knew nothing about them I asked him to find out what their smtp server was.  They said that we cannot use it and gave us a link to setup postfix, however they show no relayhost (smtp) se

Re: relayhost - what smtp server can I use?

2010-02-09 Thread Stan Hoeppner
Jeff Lacki put forth on 2/9/2010 10:53 AM: > I have a situation with hosting.com, trying to setup > a friends postfix config. Since I knew nothing about > them I asked him to find out what their smtp server > was. They said that we cannot use it and gave us a link > to setup postfix, however they

Re: "relayhost configuration problem" / "unable to look up host" when I can, in fact, look up the host

2020-12-10 Thread Wietse Venema
DNS lookups are done by SYSTEM LIBRARY functions, and these log nothing no matter how you twiddle Postfix options. Postfix is the messenger of bad news; don't blame the messenger. Consider using strace (see http://www.postfix.org/DEBUG_README.html) and find out what if you have a 'missing file' or

Re: "relayhost configuration problem" / "unable to look up host" when I can, in fact, look up the host

2020-12-10 Thread Viktor Dukhovni
On Thu, Dec 10, 2020 at 05:33:46AM -0800, Jon Leech wrote: > The only meaningful messages in the mail logs were > > Dec 10 00:01:58 celly postfix/smtp[21050]: warning: relayhost configuration > problem > Dec 10 00:01:58 celly postfix/smtp[21050]: send attr reason = unable to look > up host

Re: "relayhost configuration problem" / "unable to look up host" when I can, in fact, look up the host

2020-12-10 Thread Jon Leech
On Thu, Dec 10, 2020 at 02:56:17PM -0500, Viktor Dukhovni wrote: > On Thu, Dec 10, 2020 at 05:33:46AM -0800, Jon Leech wrote: > > > The only meaningful messages in the mail logs were > > > > Dec 10 00:01:58 celly postfix/smtp[21050]: warning: relayhost configuration > > problem > > Dec 10 00:0