Sendmail stupidity

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Sendmail stupidity

Post by roscoe »

I have swift running on a server to pick up docs and forward them onto the domain using sendmail.

My mail A record is pointing at an exchange mailserver 87.111.***.222 or some such ip and the mx record is mail.mydomain.co.uk

They are addressed to 1 of 3 addresses: fred@mydomain.co.uk bessie@mydomain.co.uk george@mydomain.co.uk

The swift works fine, creates the email, adds the attachment and then the delivery SHOULD go to one of the above addresses (it is addressed to them correctly). The as the swift is not sitting on the same ip as the mail the server returns the mail to sender rather than pushing it out to the dns settings for the domain. Should it be doing this or are Pipex a bigger load of poo than we already thought?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Are you actually using sendmail or is it exim, qmail or similar? The installation is probably configured not to allow relaying... what des the bounce message tell you? ;)
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Post by roscoe »

yep it is sendmail.

The bounce says :
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

stortford@mydomain.co.uk
Unrouteable address


so it cannot be getting to dns as the Mail A record and MX would send it correctly.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

The server is having DNS problems finding a MX record for the address. This is a DNS level issue, not a problem with the SMTP service (unless you've removed the DNS lookup stuff from the SMTP server configuration by accident).
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Post by roscoe »

I have no direct access to any of the setup on the server it's a shared commercial server, so I cannot remove DNS lookup stuff. Thanks for confirming what I thought, it is down to the host.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

It mat just be that the DNS settings have not yet propogated. Try looking up your records with dnsstuff.com to double check they actually work :)
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Post by roscoe »

:lol: :lol: lol ! propogation should take 72 hours and it has been at least 5 months since we changed the MX and Mail A records ! :lol: :lol: :lol:
Post Reply