Re: [rt-users] What happens to incoming email if apache/mysql is down?

2009-04-14 Thread Leif Nixon
Jerrad Pierce jpie...@cambridgeenergyalliance.org writes:

 If you're running postfix, and this is a concern,
 you can turn errors into soft-bounces for later recovery.

No, because in this case Postfix hasn't got a clue that anything went
wrong.

Paul is correct - if you do the straightforward thing and use something
like

  :0
  * ^X-Spam-Status: YES
  ! s...@nsc.liu.se
  :0
  | /opt/rt/3.4.4/bin/rt-mailgate --queue nsc-support --action correspond

to let procmail filter out spam, your mail will indeed be silently
dropped on the floor if rt-mailgate fails - procmail doesn't propagate
rt-mailgate's exit code to the MTA by default. This has bitten me.

You have to handle this yourself. I don't have the details available
right now, but something like

  :0
  * ^X-Spam-Status: YES
  ! s...@nsc.liu.se
  :0w
  | /opt/rt/3.4.4/bin/rt-mailgate --queue nsc-support --action correspond
  # if procmail has reached here, delivery has failed. return with a
  # temporary failure code from sysexits.h.
  # 75 = EX_TEMPFAIL
  EXITCODE=75
  :0
  /dev/null

should do the trick. (Please note that the above snippet is untested,
though.)

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] What software is recommended for high-loaded RT3.8-latest?

2009-04-03 Thread Leif Nixon
Stuart Browne stuart.bro...@ausregistry.com.au writes:

 In short: XFS is fast and not reliable.

I think you exaggerate a bit. We have hundreds of terabytes of storage
on XFS. We see very few reliability problems.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Emails Being Blocked by Various Providers

2009-03-08 Thread Leif Nixon
On Fri, Mar 6, 2009 at 9:43 PM, Jerrad Pierce
jpie...@cambridgeenergyalliance.org wrote:
 On Fri, Mar 6, 2009 at 15:40, Timothy Kolosky
 ausslander0...@hotmail.com wrote:
 We are not using our Exchange server with RT, it just uses a local SMTP
 server that goes to our corporate SMTP server and sends from there. I really
 don't understand the whole setup, nor am I familiar with SPF and PTR
 records. How are those set up, and on what system?
 Then that's probably the problem. You're sending mail from something other
 than the MX server for your domain.

I don't believe this has anything to do with the problem. Outgoing
mail servers and incoming MX servers are often different, and anyone
trying to use this for spam detection will suffer lots of false
positives. And I really don't believe the big email providers would do
something that stupid.

(If the OP publishes SPF records things are obviously different.)

FWIW, I've been running RT for many years without any kind of
smarthost setup. No problems.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT with postfix

2007-01-22 Thread Leif Nixon
Its Azfar [EMAIL PROTECTED] writes:

 I want to know can RT run with postfix

Sure.

 if yes then wht changes do it need to tell rt to commuicate with
 postfix.

None, I believe, unless there is something tricky with your sendmail
installation.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Exporting tickets from one RT to another

2007-01-22 Thread Leif Nixon
[EMAIL PROTECTED] writes:

 With that said, you would need to upgrade the schema on the 2nd
 database as well.  Then do a database dump on the appropriate tables.
 Since you'll probably have duplicate ticket numbers, you would need to
 create new ticket numbers in the dumped database tables as well as remove
 the tickets you no longer want.

I'd say you would probably have to do a lot more than that to
make all references to users, queues, transactions, and so on, valid.

My 1th ticket sits in queue 14 and was last updated by user 98.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Postfix + rt-mailgate

2006-10-31 Thread Leif Nixon
Sinn Andreas [EMAIL PROTECTED] writes:

 When I send an email to rt, I get the following error in the maillog:
  
 fatal: execvp /opt/rt3/bin/rt-mailgate: Operation not permitted


 What should I do?

Check the permissions on /opt/rt3/bin/rt-mailgate.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] blocking correspondence labeled Precedence: bulk

2006-09-28 Thread Leif Nixon
Jesse Vincent [EMAIL PROTECTED] writes:

 On Thu, Sep 28, 2006 at 08:10:53PM +0200, Leif Nixon wrote:
 
 Precedence: bulk indicates that the e-mail is either from a mailing
 list or somehow autogenerated (like an autoreply). It is almost always
 a good idea to filter those out from any automated e-mail handling, so
 yes, do go ahead.

 There's a very important nuance here.  Replying to them is bad. Dropping
 them on the floor is even worse.  Just because mail has been proxied by
 an automated system doesn't mean it's junk.

You have a point - I'd like to change my yes, do go ahead to yes,
it is possible that it would be a good solution for you. You have
to consider what other kinds of automated mail that might wind in
your RT.

-- 
Leif Nixon   -Systems expert

National Supercomputer Centre-  Linkoping University

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com