LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sucked up by sendmail... (https://www.linuxquestions.org/questions/linux-networking-3/sucked-up-by-sendmail-58419/)

ssrikant 05-06-2003 01:30 PM

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

td3201 05-06-2003 01:53 PM

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. :)

unSpawn 05-06-2003 02:26 PM

// 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... :-]

ssrikant 05-06-2003 03:13 PM

i have edited the above and posted hope that helps in helping me ....:)
thankq

ssrikant 05-07-2003 01:28 PM

seems like no one knows the solution to my problem:((

td3201 05-07-2003 01:41 PM

Your edit didnt do much for me, sorry.

ssrikant 05-07-2003 06:39 PM

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

td3201 05-07-2003 07:57 PM

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.

ssrikant 05-08-2003 03:08 PM

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.

unSpawn 05-08-2003 06:10 PM

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.

ssrikant 05-12-2003 09:40 AM

is as complicated as sendmail it self :))


All times are GMT -5. The time now is 12:39 AM.