Visit Our UNIX and Linux User Community

Operating Systems Linux Changeing helo sent from sendmail Post 302413086 by blackax on Wednesday 14th of April 2010 04:41:16 PM
Old 04-14-2010
Changeing helo sent from sendmail

I'm trying to change the helo sent from one of my sendmail servers. It is sending out localhost.localdomain and i need it to send [myip], Every time i change it, my sendmail blows up. It wont send new mail and it gives me the error of

Code:
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: from=root, size=215, class=0, nrcpts=1, msgid=<201004140019.o3E0J3F2012758@localhost.localdomain>, relay=root@localhost
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: to=jfarmer@enfotarce.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30215, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: o3E0J3F3012758: DSN: Data format error
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30Q012759: <root@localhost.localdomain>... Invalid address
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31239, relay=[127.0.0.1], dsn=5.1.2, stat=User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30Q012759: from=<>, size=1239, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: o3E0J3F4012758: return to sender: User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30S012759: <postmaster@localhost.localdomain>... Invalid address
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F4012758: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32263, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.2, stat=User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30S012759: from=<>, size=2263, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: Losing ./qfo3E0J3F3012758: savemail panic
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: SYSERR(root): savemail: cannot save rejected email anywhere

but onces i comment out the Dj[myip] line in the sendmail.cf and reload it will start sending mail again.

I have this config on another server and it works just fine.

---------- Post updated at 01:41 PM ---------- Previous update was at 10:15 AM ----------

this is a output from mail -v


Code:
mail -v jfarmer@enfotrace.com
Subject: test
test
.
EOT
jfarmer@enfotrace.com... Connecting to [127.0.0.1] via relay...
220 [70.182.140.104] ESMTP Sendmail 8.14.3/8.14.3; Wed, 14 Apr 2010 20:37:27 GMT
>>> EHLO localhost.localdomain
250-[70.182.140.104] Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@localhost.localdomain> SIZE=217 AUTH=root@localhost.localdomain
553 5.1.2 <root@localhost.localdomain>... Invalid address
root... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> RSET
250 2.0.0 Reset state
>>> MAIL From:<> SIZE=1241
250 2.1.0 <>... Sender ok
>>> RCPT To:<root@localhost.localdomain>
>>> DATA
553 5.1.2 <root@localhost.localdomain>... Invalid address
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
postmaster... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> MAIL From:<> SIZE=2265
250 2.1.0 <>... Sender ok
>>> RCPT To:<postmaster@localhost.localdomain>
>>> DATA
553 5.1.2 <postmaster@localhost.localdomain>... Invalid address
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 [70.182.140.104] closing connection

I then tryed to telnet in and it worked, it sent the email
Code:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [70.182.140.104] ESMTP Sendmail 8.14.3/8.14.3; Wed, 14 Apr 2010 20:30:08 GMT
helo enfotrace.com
250 [70.182.140.104] Hello localhost.localdomain [127.0.0.1], pleased to meet you
mail from: alerts@enfotrace.com
250 2.1.0 alerts@enfotrace.com... Sender ok
rcpt to: jfarmer@enfotrace.com
250 2.1.5 jfarmer@enfotrace.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself

test
.
250 2.0.0 o3EKU8k2004427 Message accepted for delivery
quit
221 2.0.0 [70.182.140.104] closing connection
Connection closed by foreign host.

 
Test Your Knowledge in Computers #886
Difficulty: Medium
Phishing is the attempt to acquire sensitive information such as usernames, passwords, and credit card details directly from users by installing backdoors to operating systems.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sendmail

Hello, how do you activate the sendmail program in solaris9? thanks, grep (4 Replies)
Discussion started by: grep
4 Replies

2. UNIX for Dummies Questions & Answers

helo,every!

Hello,every one!I'm a new comer,and I'm form China.I have learnd UNIX only one year,so don't hesitate to point my error.Thank you…….! :p :p :p (4 Replies)
Discussion started by: main1984
4 Replies

3. Shell Programming and Scripting

helo need for data

Dear All, I am sorry i am posting again my question . Please help me rather than getting angry at me ... I want to find out number of fails from different files .. The files are generated in diffenent directories .The directories are created date wise . Example :... (11 Replies)
Discussion started by: getdpg
11 Replies

4. Red Hat

helo how to mount pendrive on redhat 9

helo my sysem is running on redhat 9. now i want to take data from redhat 9 pc to pen drive. but when i plug it it is not detected. can u tell me how to mount pendrive on redhat9. amit (1 Reply)
Discussion started by: amitpansuria
1 Replies

5. AIX

trouble changeing password for user

I am trying to change a password for a user I just created. Everytime I do I recieve this message. 3004-622 An error occurred updating the password database. 3004-709 Error changing password for "heather1" : Value is invalid. I have made plenty of users and never had this happen... (6 Replies)
Discussion started by: rocker40
6 Replies

6. UNIX for Dummies Questions & Answers

helo sftp problem

helo I m creating new user and assigning them to group using my own binary. the entry for /etc/passwd file bhavin:x:2014:109:test:/home/pds_RBAC:/bin/false now when i access that user using sftp from the another linux pc for e.g sftp bhavin@148.147.165.46 passwd:- ****** but... (1 Reply)
Discussion started by: amitpansuria
1 Replies

7. Red Hat

sendmail help

Dear All how the root user i.e root@localhos.localdomain can be masqueraded in sendmail i want to masquerade the above to say test@test.com Regards and thanks in advance (3 Replies)
Discussion started by: surfer24
3 Replies

8. UNIX for Dummies Questions & Answers

help with changeing permissions on my second hard drive

Hello I have just started using unix /ubanti and want to know how i can change permissions on my second hard drive. now i cannot use it except looking at text files . It used to be my winxp hard drive and i'd like to use it for things. Don spaulding Continued at Problem with accessing my 2nd... (1 Reply)
Discussion started by: Donald Spauldin
1 Replies

9. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

10. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

Featured Tech Videos

All times are GMT -4. The time now is 05:32 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy