LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-06-2003, 01:30 PM   #1
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Rep: Reputation: 15
sucked up by sendmail...


At last there seems to be something happening in my mail sever after so many posts and not so many replies..and ofcourse thanks to guyz who responded, a forward movement in solving my problem cud be seen in my mailserver...but yet the objective of a fully functional bidirectional mail send and receive has not been achieved completely.

After changing the dns configuration. i see few mails sent to user@mydomain.com is droped into /var/spool/mqueue on the mail sever.please let me know how cud i forward mails to the users mail account ....

it other words....
say a user1 at mydomain.com is sent a mail from a different server or same server

someuser@mail.somedomain.com sends a mail to user1@mail.mydomain.com the mail posted at /var/spool/mqueue
instead of /user1/mail on the mail sever
wondering if this cud help
-srikant



-srikant

Last edited by ssrikant; 05-06-2003 at 03:02 PM.
 
Old 05-06-2003, 01:53 PM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 224

Rep: Reputation: 30
Ok, will you edit your post and make it understandable? Your profile says you are from the US. I assume you know how to speak english. If not, correct me with my apologies. God help us if I try to speak another language.
 
Old 05-06-2003, 02:26 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,457
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
// As moderator I would like to tack on a note as well.

Ssrikant, please understand I do not restrict you in posting in any way, but with your current amount of unresolved posts concerning the same subjects I think it would be good if you
I. Reply to the posts that you did not answer to already,
II. Try to keep one post per issue (SMPT|DNS),
III. Post a detailed account of what you did to test/fix stuff and
IV. post proper configs and error logs.

I am sure that would help ppl to try and help you.


*If not, I'm tempted merge some of your posts, and since I never used that feature, <insert deity here> knows what we'll end up with... :-]
 
Old 05-06-2003, 03:13 PM   #4
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Original Poster
Rep: Reputation: 15
i have edited the above and posted hope that helps in helping me ....
thankq
 
Old 05-07-2003, 01:28 PM   #5
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Original Poster
Rep: Reputation: 15
seems like no one knows the solution to my problem(
 
Old 05-07-2003, 01:41 PM   #6
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 224

Rep: Reputation: 30
Your edit didnt do much for me, sorry.
 
Old 05-07-2003, 06:39 PM   #7
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Original Poster
Rep: Reputation: 15
when i do the telnet mydomain.com 25 and all the above stuff (post1)
when i enter :

rcpt to:<root@mail.mydomain.com>250.2.1.5

i get:

<root@mail.mydomain.com> .......recipient ok (will queue)
after completeing the restof the procedure

the message is being queue at /var/spool/mqueue (mandrake9.0)
once this is done when i flush the queue i get
the following

$sendmail -q -v

Running /var/spool/mqueue/h47Mnde2002461 (sequence 1 of 1)
mail.mydomain.com:Name sever timeout
<root@mail.mydomain.com>...transient parse error message queued for future delivery


i dont understand head and tail from this and iam tired and i have lost all hope of seeing my sever running any directions is highly appreciated
 
Old 05-07-2003, 07:57 PM   #8
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 224

Rep: Reputation: 30
Well.....when you do 'nslookup mail.mydomain.com' FROM the LINUX box, what do you get? You should either get 127.0.0.1 OR the ip address assigned to the box's ethernet interface, probably an rfc1918 address if you are behind a firewall. If you are getting the Internet-visible address back, you need to add:
127.0.0.1 mail.mydomain.com

to your /etc/hosts file.
 
Old 05-08-2003, 03:08 PM   #9
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Original Poster
Rep: Reputation: 15
Well fellas,
I appreciate every one who has contributed and helped me in fixing my problem with sendmail mailserver and atlast i managed to send and receive mails from mydomain.Now the problem with my mailsever is as follows

Problem:
say i send mail to a user@mydomain.com it has to be addressed as
user@mymachine.mydomain.com which is lenthy.

I want to address a user as user@mydomain.com and the it has to be redirected.forwarded to user@mymachine.mydomain.com ...
I have tried to be clear as much to the best of my capacity kindly answer.
 
Old 05-08-2003, 06:10 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,457
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
I want to address a user as user@mydomain.com and the it has to be redirected.forwarded to user@mymachine.mydomain.com
On mailserver access sendmail in test mode: "sendmail -bt", test for local alias "user" (don't want that): /map aliases <user>. Error=OK, else ditch <user> from /etc/aliases :-], quit w "/quit".
Open up /etc/mail/sendmail.mc, check/add entry: "FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl". Generate (m4, mailconf --generate-cf) /etc/sendmail.cf.
Open up /etc/mail/virtusertable, add line: "user@mydomain.com user@mymachine.mydomain.com". Generate db: "makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable". Test: "sendmail -bt", "/map virtuser <user>", should resolve "user@mymachine.mydomain.com" to exit "/quit".
Restart sendmail.

AFAIK the only dependancies for this to work are
I. having resolvable domainnames,
II. all mail for mymachine.mydomain.com should be received by the mailserver,
III. user not having a local account on the mailserver, and
IV. a mailserver must be running on mymachine.mydomain.com.

Someone cowwect me if I'm wwonk.
 
Old 05-12-2003, 09:40 AM   #11
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Original Poster
Rep: Reputation: 15
is as complicated as sendmail it self )
 
  


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
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Nail looking for Sendmail in /usr/lib/sendmail Berhanie Slackware 2 02-22-2005 11:18 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration