RE: Postfix used as End to End and relaying to external SMTP server based on FROM address (possible?)

2012-12-15 Thread ashleygriffin.ca - Contact
Hi Thanks, I did see this info, however am hoping to find someone who has used this before, its not clear what happens when the FROM address isn't listed in the " sender_dependent_relayhost_maps" does it then try to send END to END? (as relayhost has no entry in the main.cf) How do I get the vers

Re: Send mails use the same source IP across multiple servers

2012-12-15 Thread Jeroen Geilman
On 12/15/2012 06:59 PM, John Levine wrote: You want to share one dedicated external source IP address among multiple Postfix SMTP clients. If there were only one dedicated external source IP address, then a NAT router would suffice. That would be my first suggestion. For a cheap experiment, get

PATCH: mis-leading user unknown error message

2012-12-15 Thread Wietse Venema
Peter: > Also the log entry says this: > > Dec 15 17:59:09 mailhost postfix/local[7486]: B4D124341: > > to=, relay=local, delay=0, status=bounced (unknown > > user: "foo-test") > > Wouldn't that be better if it says, '(unknown user: "foo")'? This in Yes, that would make sense. It looks like the

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > On 12/16/2012 01:22 AM, Wietse Venema wrote: > > decoder: > >> Hello Wietse, > >> > >> the documentation on this (the comment in the main.cf file also) says > >> that foo-test will first be checked and only if that doesn't exist it > >> will use foo. Is the documentation wrong then? > >

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Peter
On 16/12/12 13:45, decoder wrote: > On 12/16/2012 01:22 AM, Wietse Venema wrote: >> I don't recall that Postfix documentation promises >> this for UNIX system account lookups. > > This one: > > # Basically, the software tries user+foo and .forward+foo before trying > user and .forward. That's fr

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
On 12/16/2012 01:22 AM, Wietse Venema wrote: > decoder: >> Hello Wietse, >> >> the documentation on this (the comment in the main.cf file also) says >> that foo-test will first be checked and only if that doesn't exist it >> will use foo. Is the documentation wrong then? > Which comment? I don't re

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > Hello Wietse, > > the documentation on this (the comment in the main.cf file also) says > that foo-test will first be checked and only if that doesn't exist it > will use foo. Is the documentation wrong then? Which comment? I don't recall that Postfix documentation promises this for UN

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
Hello Wietse, the documentation on this (the comment in the main.cf file also) says that foo-test will first be checked and only if that doesn't exist it will use foo. Is the documentation wrong then? Also, at least the log message is clearly a bug, it states that a user does not exist although i

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > Hello, > > > today, we stumbled across a possible bug with the recipient_delimiter > option. Steps to reproduce are: > > > 1. Set recipient_delimiter to - (minus sign), instead of the typical + sign. > 2. Create a local system user with a - sign, e.g. foo-test. > 3. Send mail to foo-

Re: Postfix used as End to End and relaying to external SMTP server based on FROM address (possible?)

2012-12-15 Thread Jose Borges Ferreira
Acording to this : smtp_sasl_password_maps (empty) Optional Postfix SMTP client lookup tables with one username:password entry per remote hostname or domain, or sender address when sender-dependent authentication is enabled. h

Re: Directive "mynetwork" and "mynetwork_style"

2012-12-15 Thread Benny Pedersen
Muhammad Yousuf Khan skrev den 14-12-2012 08:43: i am confuse about the utilization of directives: "mynetwork" and "mynetwork_style" dont define them in main.cf if defaults works postconf -d | grep mynetwork eg postfix knows all data from the host it runs on anyway so add # to the lines with

Re: How to change modified cf files to postconf commands

2012-12-15 Thread Benny Pedersen
mouss skrev den 14-12-2012 23:01: you can also consider getting a copy of "the book of postfix". if its ever updated i would like to pay for the next version as a ebook

Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
Hello, today, we stumbled across a possible bug with the recipient_delimiter option. Steps to reproduce are: 1. Set recipient_delimiter to - (minus sign), instead of the typical + sign. 2. Create a local system user with a - sign, e.g. foo-test. 3. Send mail to foo-test@mailhost Postfix will l

Re: Send mails use the same source IP across multiple servers

2012-12-15 Thread John Levine
>You want to share one dedicated external source IP address among >multiple Postfix SMTP clients. If there were only one dedicated >external source IP address, then a NAT router would suffice. That would be my first suggestion. For a cheap experiment, get something like a Cisco E2500, configure i

Re: Send mails use the same source IP across multiple servers

2012-12-15 Thread Wietse Venema
Ram: > Hi > > I have a slightly OT question > > If I have to use a single IP for a sender domain to the internet, but > yet the mails may get sent from different servers > What is the best way for doing it > > The requirement is because the volumes are too large for a single > machine to handl

Send mails use the same source IP across multiple servers

2012-12-15 Thread Ram
Hi I have a slightly OT question If I have to use a single IP for a sender domain to the internet, but yet the mails may get sent from different servers What is the best way for doing it The requirement is because the volumes are too large for a single machine to handle but the client still