I am trying to forward mail for a particular user to a remote address.

I have added this mailet

<mailet match="[EMAIL PROTECTED]" class="Forward" >
  <forwardto>[EMAIL PROTECTED]</forwardto>
</mailet>

When I send mail to [EMAIL PROTECTED], I get this

We were unable to deliver the attached message because of an error in the mail server.

Error message below:
550 - Requested action not taken: relaying denied

Message details:
  Subject: test 11b
  Sent date: Sun Jan 08 11:15:11 GMT 2006
  MAIL FROM: [EMAIL PROTECTED]
  RCPT TO: [EMAIL PROTECTED]
  From: Jim Tester <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
  Size (in bytes): 27

I am testing this by sending mail using an external isps smtp. James receives the mail from the external isp using fetchmail. The forward mailet is apparently working but the outgoing mail is being stopped later.

I can send mail through james directly to [EMAIL PROTECTED] (the 11:18:22 timed messages below)

Mailet log looks like this

08/01/06 11:15:32 INFO James.Mailet: RemoteAddrNotInNetwork: Authorized addresses: [127.0.0.1/255.255.255.255, 192.168.1.100/255.255.255.255] 08/01/06 11:15:32 INFO James.Mailet: RemoteDelivery: maxRetries is larger than total number of attempts specified. Increasing last delayTime with 19 attempts 08/01/06 11:15:32 INFO James.Mailet: RemoteDelivery: Delay of 21600000 msecs is now attempted: 20 times 08/01/06 11:18:22 INFO James.Mailet: RemoteDelivery: Attempting delivery of Mail1136719101746-0-to-isp.com to host mailin.isp.com. at 195.188.53.99 to addresses [EMAIL PROTECTED] 08/01/06 11:18:22 INFO James.Mailet: RemoteDelivery: Mail (Mail1136719101746-0-to-isp.com) sent successfully to mailin.isp.com. at 195.188.53.99 08/01/06 11:18:59 INFO James.Mailet: ToRepository: Storing mail Mail1136719138988-1-!228188 in file://jbs/var/mail/relay-denied/

smtpserver log looks like this

08/01/06 11:15:32 INFO smtpserver: SMTP Service uses default thread group. 08/01/06 11:15:32 INFO smtpserver: SMTP Service is running on: thoth.mydomain.co.uk 08/01/06 11:15:32 INFO smtpserver: SMTP Service handler hello name is: thoth.mydomain.co.uk 08/01/06 11:15:32 INFO smtpserver: SMTP Service handler connection timeout is: 360000 08/01/06 11:15:32 INFO smtpserver: SMTP Service connection backlog is: 5 08/01/06 11:15:32 INFO smtpserver: SMTP Service will allow a maximum of 30 connections. 08/01/06 11:15:32 INFO smtpserver: This SMTP server does not require authentication. 08/01/06 11:15:32 INFO smtpserver: Authorized addresses: [127.0.0.0/255.0.0.0, 192.168.1.100/255.255.255.255] 08/01/06 11:15:32 INFO smtpserver: No maximum message size is enforced for this server. 08/01/06 11:15:32 INFO smtpserver: The idle timeout will be reset every 20480 bytes.
08/01/06 11:15:32 INFO  smtpserver: SMTP Service started plain:25
08/01/06 11:18:21 INFO smtpserver: Connection from mypc.mydomain.co.uk (192.168.1.100) 08/01/06 11:18:21 INFO smtpserver: Successfully spooled mail Mail1136719101746-0 from [EMAIL PROTECTED] for [EMAIL PROTECTED] 08/01/06 11:18:58 INFO smtpserver: Connection from mypc.mydomain.co.uk (192.168.1.100) 08/01/06 11:18:58 INFO smtpserver: Successfully spooled mail Mail1136719138988-1 from [EMAIL PROTECTED] for [EMAIL PROTECTED]


The relay-denied directory contains nothing despite what the log messages say.
--
Jim Smith
I'm afraid you've mistaken me for someone who gives a damn.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to