LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2004, 09:29 AM   #1
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Sendmail & qmail conflict?


Hi,

This is the scenario:
- I've virtusertable which map user1.name@domain.com to user1
- In my outlook, i put my email address as user1.name@host1.domain1.com
- My server is host1.domain1.com

When I tried to send email to hotmail and some other email of other ISP, it works fine. Others will receive my email, and see the address of user1.name@domain.com (and they can write to this address too).

But when I try to email (which I believe using qmail) to user2@ii.net , the server of that provider replied my email:


-----START ERROR-----
The original message was received at Mon, 15 Mar 2004 21:08:37 +0800
from host1.domain1.com [270.136.245.156] (may be forged)

----- The following addresses had permanent fatal errors -----
<user2@ii.net>
(reason: 553 sorry, your envelope sender domain must exist (#5.7.1))

----- Transcript of session follows -----
... while talking to mail.iinet.net.au.:
>>> MAIL From:<user1.name@domain1.com>
<<< 553 sorry, your envelope sender domain must exist (#5.7.1)
501 5.6.0 Data format error
-----END ERROR-----



However, if I do change my email address (in outlook express) from user1.name@domain.com to user1.name@host1.domain.com , it works fine, iinet will deliver the email.

Another thing is when try to send email from user2@ii.net to user1.name@host1.domain1.com, i got this error:

-----START ERROR-----
Hi. This is the qmail-send program at mail.iinet.net.au.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<user1.name@host1.domain1.com>:
270.136.245.156 does not like recipient.
Remote host said: 550 5.1.1 <user1.name@host1.domain1.com>... User unknown Giving up on 270.136.245.156.
-----END ERROR-----

And if I try to send email from user2@ii.net to user1.name@domain1.com (note: there is no host1 in the email address), i got this error:

-----START ERROR-----
Hi. This is the qmail-send program at mail.iinet.net.au.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<user1.name@domain1.com>:
Sorry, I couldn't find any host named domain1.com. (#5.1.2)
-----END ERROR-----



Anyone have any idea what went wrong there? I just wondered why it works with other, but not with the email of this provider (iinet.net.au). Or is there a conflict between the 2 MTA, and I need to do extra configuration?

Thanks a bunch for reading such a long post!!
 
Old 03-15-2004, 09:44 AM   #2
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Oh, and I forgot. I'm on Slackware 9.1, sendmail 8.12.10.
 
Old 03-16-2004, 12:02 PM   #3
csm
Red Hat GLS
 
Registered: Mar 2004
Location: Cary, NC
Distribution: RHEL3 and Fedora
Posts: 5

Rep: Reputation: 0
Re: Sendmail & qmail conflict?

Quote:
Originally posted by bulzbb
Hi,

This is the scenario:
- I've virtusertable which map user1.name@domain.com to user1
- In my outlook, i put my email address as user1.name@host1.domain1.com
- My server is host1.domain1.com

When I tried to send email to hotmail and some other email of other ISP, it works fine. Others will receive my email, and see the address of user1.name@domain.com (and they can write to this address too).

But when I try to email (which I believe using qmail) to user2@ii.net , the server of that provider replied my email:


-----START ERROR-----
The original message was received at Mon, 15 Mar 2004 21:08:37 +0800
from host1.domain1.com [270.136.245.156] (may be forged)

----- The following addresses had permanent fatal errors -----
<user2@ii.net>
(reason: 553 sorry, your envelope sender domain must exist (#5.7.1))

----- Transcript of session follows -----
... while talking to mail.iinet.net.au.:
>>> MAIL From:<user1.name@domain1.com>
<<< 553 sorry, your envelope sender domain must exist (#5.7.1)
501 5.6.0 Data format error
-----END ERROR-----



However, if I do change my email address (in outlook express) from user1.name@domain.com to user1.name@host1.domain.com , it works fine, iinet will deliver the email.

Another thing is when try to send email from user2@ii.net to user1.name@host1.domain1.com, i got this error:

-----START ERROR-----
Hi. This is the qmail-send program at mail.iinet.net.au.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<user1.name@host1.domain1.com>:
270.136.245.156 does not like recipient.
Remote host said: 550 5.1.1 <user1.name@host1.domain1.com>... User unknown Giving up on 270.136.245.156.
-----END ERROR-----

And if I try to send email from user2@ii.net to user1.name@domain1.com (note: there is no host1 in the email address), i got this error:

-----START ERROR-----
Hi. This is the qmail-send program at mail.iinet.net.au.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<user1.name@domain1.com>:
Sorry, I couldn't find any host named domain1.com. (#5.1.2)
-----END ERROR-----



Anyone have any idea what went wrong there? I just wondered why it works with other, but not with the email of this provider (iinet.net.au). Or is there a conflict between the 2 MTA, and I need to do extra configuration?

Thanks a bunch for reading such a long post!!
Some time ago I wrote some documentation which explained this issue and how to fix it on sendmail. See if it helps!

http://www.moongroup.com/docs/mailhe...76.html#AEN212
 
Old 03-16-2004, 05:32 PM   #4
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
I fixed the problem, by mapping domain1.com to the IP (same IP used for host1.domain1.com). But that document is surely something!! Thanks for pointing it out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
differences betwwen qmail & Qmail? hitesh_linux Linux - General 4 10-10-2004 07:43 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 12:29 PM
maildrop and qmail patch conflict mpk25 Linux - Software 1 04-28-2004 05:56 PM
Qmail & qmail-scanner c0uchm0nster Linux - Software 1 02-26-2004 12:12 PM
Sendmail or qmail? mikeshn Linux - General 10 05-02-2002 03:35 PM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration