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 |
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. :)
|
// 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... :-] |
i have edited the above and posted hope that helps in helping me ....:)
thankq |
seems like no one knows the solution to my problem:((
|
Your edit didnt do much for me, sorry.
|
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 |
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. |
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. |
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. |
is as complicated as sendmail it self :))
|
All times are GMT -5. The time now is 12:39 AM. |