#11  
Old 5th October 2009, 15:53
m411b m411b is offline
Junior Member
 
Join Date: Sep 2009
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I used the Perfect server Ubuntu 9.04 with isPconfig 3..Also followed it to a T..
Cracklefish you are leading it I assume!
Reply With Quote
Sponsored Links
  #12  
Old 6th October 2009, 12:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Please run:

postfix upgrade-configuration

and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 6th October 2009, 15:48
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Please run:

postfix upgrade-configuration

and restart postfix.
That seems to have things moving.

m411b FYI my FormMail statement "/usr/sbin/sendmail" is correct for my installation.

The problem now seems to be one of permissions.

My first attempt at sending a form resulted in an "unknown mailbox" rejection. FormMail was set to "webmaster@domain" and there was no webmaster mailbox set in ISPC. There is a "mail@domain" mailbox.

mail.info gives

Code:
Oct  6 13:38:34 Golf1 postfix/qmgr[10771]: 73400160E8: from=<wwwrun@golf1.domain>, size=1278, nrcpt=1 (queue active)
Oct  6 13:38:34 Golf1 postfix/smtp[19626]: 85002160E6: to=<mail@domain>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.3, delays=0.18/0/0.01/8.1, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=19515-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 73400160E8)
Oct  6 13:38:34 Golf1 postfix/qmgr[10771]: 85002160E6: removed
Oct  6 13:38:35 Golf1 postfix/pipe[19754]: 73400160E8: to=<mail@domain>, relay=maildrop, delay=0.77, delays=0.14/0.07/0/0.56, dsn=2.0.0, status=sent (delivered via maildrop service)
Oct  6 13:38:35 Golf1 postfix/qmgr[10771]: 73400160E8: removed
Is a smtp password required? There is no provision for a password in FormMail.
Reply With Quote
  #14  
Old 6th October 2009, 15:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

The email has been delivered successfully to the mailbox mail@domain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 6th October 2009, 19:16
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
The email has been delivered successfully to the mailbox mail@domain.
I think there is name conflict problem.

The server is: Golf1.domain
the vhost running the form is: www.domain
The form sends the message to mail@domain
the mx record for domain points to our ISP's mail server

The DNS in ISPC is disabled, we are using the ISP's DNS

there is a mailbox on Golf1 called mail@domain but it was not used. We only use mail@domain to access the smtp server.

How should I configure this local mailbox so that the form is sent to the remote mailbox?
Reply With Quote
  #16  
Old 6th October 2009, 19:39
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
The email has been delivered successfully to the mailbox mail@domain.
I think there is name conflict problem.

The server is: Golf1.domain
the vhost running the form is: www.domain
The form sends the message to mail@domain
the mx record for domain points to our ISP's mail server

The DNS in ISPC is disabled, we are using the ISP's DNS

there is a mailbox on Golf1 called mail@domain but it was not used. We only use mail@domain to access the smtp server.

How should I configure this local mailbox so that the form is sent to the remote mailbox?
Reply With Quote
  #17  
Old 6th October 2009, 20:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Remove the email domain and mailbox in the mail manager. You can not have a email domain configured on the local server when you use a remote server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 13th October 2009, 14:40
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by till View Post
Remove the email domain and mailbox in the mail manager. You can not have a email domain configured on the local server when you use a remote server.
Sorry it has taken so long to respond to this but your suggested fix was not going to work on our system. I have spent a lot of time trying many different strategies. To bring closure to anybody with a similar problem, here is what I did.

Firstly some explanatation; our mail is still handled by the ISP because I haven't been able to get the amavis working properly and we receive upwards of 400 spams a day. Now that this problem is fixed I'll concentrate on that next! We do, however require a SMTP server that allows remote relay which the ISP does not provide.

So we have the MX record which points "mail@domain" to the ISP. There is also "mail@domain" on "host.domain". This does not seem to be a problem. The SMTP server works fine and the MailForm output goes to the "mail@domain" box on "host.domain". The problem has been getting these emails delivered and then downloaded. Initially I was trying to get the mail delivered to the ISP. I could only do this by setting up a mail forwarding rule. Disabling the POP box and unchecking "Enable Receiving" did not work. Unfortunately, the ISP's spamassassin gives the MailForm output a very high spam score. So mail forwarding is a non starter as we would have to lower the spam delete threshold. The ISP's system does not have a whitelist so the only way of seeing the forwarded email is to download all the spam!

Eventually I came up with a new strategy. Leave the MailForm emails in host's mailbox and set up a new email account on the clients to download them. Simple but it took me a week to get there!

It has only taken 2 years to get this working, I tried many scripts, Sendmail, Postfix and Perfect Server non of these would deliver the emails, it was Till's suggestion to use "postfix upgrade-configuration" that made it all work.

Thanks Till, hope you can get the amavis going for me, next.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.