postfix server disconnects immediately

2012-03-22 Thread Mehmet Giritli
Hi, I recently moved my postfix server to a different machine but I am having a bit of a mysterious problem. I used mail backup servers of a third party service during the move. This is not the first time I am using their services and I never had any problems. Naturally, after the move I expected

Re: postfix server disconnects immediately

2012-03-22 Thread Wietse Venema
Output from ``grep ' [<>] ' logfile'': Mar 22 09:20:33 gollum postfix/smtpd[21768]: > euclid.junkemailfilter.com[184.105.182.40]: 220 hidden.host ESMTP Postfix Mar 22 09:20:33 gollum postfix/smtpd[21768]: < euclid.junkemailfilter.com[184.105.182.40]: HELO junkemailfilter.com Mar 22 09:20:33 goll

problem with virtual_alias_maps regexp

2012-03-22 Thread Claudius
Hi, I have a configuration/understanding problem with virtual_alias_maps and a regexp to catch all my domains. This is my config: main.cf: virtual_alias_maps = regexp:/etc/postfix/virtual_aliases_global.regexp, [...] virtual_aliases_global.regexp: /^(postmaster|root|MAILER-DAEMON|abuse|admi

Re: problem with virtual_alias_maps regexp

2012-03-22 Thread /dev/rob0
On Thu, Mar 22, 2012 at 12:33:26PM +0100, Claudius wrote: > I have a configuration/understanding problem with > virtual_alias_maps and a regexp to catch all my domains. > > This is my config: > > main.cf: > virtual_alias_maps = > regexp:/etc/postfix/virtual_aliases_global.regexp, > [...] >

Re: problem with virtual_alias_maps regexp

2012-03-22 Thread Viktor Dukhovni
On Thu, Mar 22, 2012 at 08:53:09AM -0500, /dev/rob0 wrote: > if /\@(example\.com|(other|third)\.example)$/ > ... your LHS stuff ... > endif > > (Escaping of the \@ is necessary in PCRE but not POSIX RE.) It is not necessary in PCRE either. One only needs to escape @ in Perl code, but not in PCRE

Re: problem with virtual_alias_maps regexp

2012-03-22 Thread Claudius
On 2012-03-22 14:53, /dev/rob0 wrote: > On Thu, Mar 22, 2012 at 12:33:26PM +0100, Claudius wrote: >> Or do I have to compile a file that has all my domains in it? > You do. In regexp/pcre you can enclose the LHS (local-part) matches > in an IF/ENDIF loop with the domains: > > if /\@(example\.com|(

Re: debug output and (r)syslog

2012-03-22 Thread Matthias Leopold
Am 2012-03-21 18:52, schrieb Wietse Venema: Matthias Leopold: hi, how do i selectively log debug messages (eg from smtpd -v) with (r)sylog? By turning it off. Debug logging should never be turned on as a matter of routine. It has a major impact on performance. Postfix has no performance guar

Re: debug output and (r)syslog

2012-03-22 Thread Wietse Venema
Matthias Leopold: [ Charset ISO-8859-1 unsupported, converting... ] > Am 2012-03-21 18:52, schrieb Wietse Venema: > > Matthias Leopold: > >> hi, > >> > >> how do i selectively log debug messages (eg from smtpd -v) with (r)sylog? > > > > By turning it off. Debug logging should never be turned on as

ldap calls for sender_access/recipient?

2012-03-22 Thread John Baker
Hi, We have a a few mass group addresses that we restrict access to. So far we have used a mix of sender_access and recipient_access on one final destination server to do this. But have have moved all of our other groups to ldap so that they expand on all the relays we have for various reason and

Re: ldap calls for sender_access/recipient?

2012-03-22 Thread Wietse Venema
John Baker: > Hi, > > We have a a few mass group addresses that we restrict access to. So far we > have used a mix of sender_access and recipient_access on one final > destination server to do this. But have have moved all of our other groups > to ldap so that they expand on all the relays we have

postfix log

2012-03-22 Thread K bharathan
hi appreciate if somebody could help interpret the following log: Mar 22 21:07:25 relay0 postfix/smtpd[61707]: disconnect from unknown[69.167.155.81] Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics: start interval Mar 22 21:03:29 Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics: d

how to handle all this bounce :)

2012-03-22 Thread Stoyan Stoyanov
Hi All, I just want an advice from some better admins that I am. I know something about mail related rfcs and something about postfix, as I use it for something like an large volume sendings. Here is the deal, when postfix is used only for outgoing mailings, with a lot of typos and shit in ema

Re: postfix log

2012-03-22 Thread Noel Jones
On 3/22/2012 2:12 PM, K bharathan wrote: > hi > appreciate if somebody could help interpret the following log: > > Mar 22 21:07:25 relay0 postfix/smtpd[61707]: disconnect from > unknown[69.167.155.81] > Mar 22 21:07:36 relay0 postfix/scache[61795]: statistics: start > interval Mar 22 21:03:29 > Ma

Postfix SMTP connection cache tagging

2012-03-22 Thread Wietse Venema
Looking at Noel's reply to a connection caching question, I realized (once again) that the cache is shared among all SMTP clients, even across SMTP clients of mail delivery transports. That is a good thing from a connection reuse perspective. It can, however, have an unexpected result when differe

Re: Postfix SMTP connection cache tagging

2012-03-22 Thread Ben Rosengart
On Thu, Mar 22, 2012 at 03:53:23PM -0400, Wietse Venema wrote: > > That is a good thing from a connection reuse perspective. It can, > however, have an unexpected result when different SMTP transports > have different smtp_bind_address settings. What about other smtp_* settings affecting one-time

Re: how to handle all this bounce :)

2012-03-22 Thread Reindl Harald
Am 22.03.2012 20:25, schrieb Stoyan Stoyanov: > In my case the example is not good, because I have about 40-50% bounces > (don't ask, online gamers make me cry , IM > NOT A SPAMMER!) > So, can you provide me with some suggestions how can I really handle this. > > if there's a way to stop bounci

Re: Postfix SMTP connection cache tagging

2012-03-22 Thread Wietse Venema
Ben Rosengart: > On Thu, Mar 22, 2012 at 03:53:23PM -0400, Wietse Venema wrote: > > > > That is a good thing from a connection reuse perspective. It can, > > however, have an unexpected result when different SMTP transports > > have different smtp_bind_address settings. > > What about other smtp_

virtual user rejected

2012-03-22 Thread Tim Dunphy
hello list, after adding a new virtual user called request to the virtual conf file user is rejected: [sysmail01:/data/home/dunphy] root% telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mail01.mlbam.com ESMTP Postfix HELO mail 250 mail01.mlbam.com MAI

Re: virtual user rejected

2012-03-22 Thread Ansgar Wiechers
On 2012-03-22 Tim Dunphy wrote: > after adding a new virtual user called request to the virtual conf > file user is rejected: [...] > [sysmail01:/data/home/dunphy] root% grep virtual /etc/postfix/main.cf > virtual_maps = dbm:/etc/postfix/virtual Apparently you have $virtual_maps in main.cf ... >

Re: virtual user rejected

2012-03-22 Thread /dev/rob0
On Thu, Mar 22, 2012 at 05:51:16PM -0400, Tim Dunphy wrote: > after adding a new virtual user called request to the virtual conf > file user is rejected: > > [sysmail01:/data/home/dunphy] root% telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 ma

Building basic relay server

2012-03-22 Thread Alex
Hi, I am trying to build a relay server using postfix-2.8.7 on fedora16 for one domain and a few sub-domains. This server should only accept mail from two specific public-facing postfix servers that accept mail for these domains, process the mail with amavisd/spamassassin, then forward the resulti

Re: Building basic relay server

2012-03-22 Thread Stan Hoeppner
On 3/22/2012 9:33 PM, Alex wrote: > Hi, > > I am trying to build a relay server using postfix-2.8.7 on fedora16 > for one domain and a few sub-domains. This server should only accept > mail from two specific public-facing postfix servers that accept mail > for these domains, process the mail with