Sendmail 8.13.8 malformed address


 
Thread Tools Search this Thread
Operating Systems Solaris Sendmail 8.13.8 malformed address
# 1  
Old 11-16-2009
Sendmail 8.13.8 malformed address

Sending email produces malformed address error. The domain name appears as the active directory name which is not a valid Internet domain thus the malfomred address error.

I have:
Code:
divert(0)dnl
VERSIONID(`@(#)sendmail.mc      1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
FEATURE(`always_add_domain')
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MASQUERADE_AS(`my fully qualified Internet name here')
MASQUERADE_DOMAIN(`my full active directory name here')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl

LOCAL_NET_CONFIG
R$* < @ $* .$m. > $*    $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3

run make, stop sendmail (confirm not running), then start sendmail, no errors

When sending it bounces back:
... while talking to otherdomain.com.:
>>> MAIL From:<user@my full active directory name here> SIZE=643
<<< 501 <user@my full active directory name here>: malformed address: my full active directory name here> may not follow

I also added after masquerade did not work:
in /etc/mail/sendmail.cf
Djmy fully qualified Internet name here

How can I get it to use the correct Internet name and not the active directory name for sendmail?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Malformed session key while using Facebook API

Hi, I am doing some experiments with facebook API and unable to update the status using the API. My code is as follow as: use WWW::Facebook::API; use JSON::Any; my $query=new CGI; my $j = JSON::Any->new; my $api_key="#MY API KEY#"; my $secret="#MY SECRET KEY#"; my $fb =... (1 Reply)
Discussion started by: pandeesh
1 Replies

3. UNIX for Dummies Questions & Answers

Sudo apt-get update fail: Malformed line 59

I am trying to update/add a repository. Whenever I try to do a sudo apt-get update I get the message: E: Malformed line 59 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. and when I do: gksudo gedit /etc/apt/sources.list I see... (1 Reply)
Discussion started by: kayak
1 Replies

4. AIX

[Tip] /dev filling because of malformed IBM script

There is some IBM script out there, which contains a hidden syntax error. I am not sure which script it is (we are still investigating), but most of my HACMP systems (up to version 6.1) showed the symptom and i suspect the source to be in HACMP. Have a look at your system. Probably someone at... (1 Reply)
Discussion started by: bakunin
1 Replies

5. Linux

Sendmail has these errors--Domain of sender address <root@time.com> does not exist

Does anyone has a clue of what is going on here? It was working few days ago. /etc/hosts looks ok, sendmail does restart without any errors, telnet is successful. I will be happy to send you guys any output required. Diagnostic-Code: SMTP; 553 #5.1.8 Domain of sender address... (1 Reply)
Discussion started by: lovesaikrishna
1 Replies

6. Shell Programming and Scripting

Need Suggestions to improve Perl script for checking malformed braces/brackets

Hi all, I've written a Perl script below that check and report for malformed braces. I have a UNIX ksh version and it took a couple of minutes to run on a 10000+ lines. With the Perl version it only took about 20 seconds so that is enough incentive for me to go Perl not to mention that I need... (1 Reply)
Discussion started by: newbie_01
1 Replies

7. Solaris

How to force Sendmail to Rewrite Sender Address?

Need to change sender email id from applmgr@<hostname>.<domain-name> to applmgr@domain-name. Understand we can change in the sendmail.cf where $j is the hostname.domain-name.. can anyone show the exact value to change? Thank you. (8 Replies)
Discussion started by: KhawHL
8 Replies

8. UNIX and Linux Applications

sendmail recipient address rewriting with local_relay or mail_hub

I'm trying to make this work with a variety of different sendmail versions (all 8.8 or better) and different OS's. I have to configure all my unix workstations to deliver all email through a relay 'smtp.mydomain.com'. This includes unqualified names as well as qualified names and remote... (1 Reply)
Discussion started by: icefalcon
1 Replies

9. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

10. Solaris

sendmail "root... User address required." error

I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10. When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message root... User address required. Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Discussion started by: csgonan
10 Replies
Login or Register to Ask a Question
inet(3n)																  inet(3n)

Name
       inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof - Internet address manipulation routines

Syntax
       #include <sys/socket.h>
       #include <netinet/in.h>
       #include <arpa/inet.h>

       unsigned long inet_addr(cp)
       char *cp;

       unsigned long inet_network(cp)
       char *cp;

       char *inet_ntoa(in)
       struct in_addr in;

       struct in_addr inet_makeaddr(net, lna)
       int net, lna;

       int inet_lnaof(in)
       struct in_addr in;

       int inet_netof(in)
       struct in_addr in;

Description
       The  routines and each interpret character strings representing numbers expressed in the Internet standard "."  notation, returning numbers
       suitable for use as Internet addresses and Internet network numbers, respectively.  The routine takes an Internet address  and  returns	an
       ASCII  string representing the address in "."  notation.  The routine takes an Internet network number and a local network address and con-
       structs an Internet address from it.  The routines and break apart Internet host addresses, returning the network number and local  network
       address part, respectively.

       All  Internet  address  are  returned in network order (bytes ordered from left to right).  All network numbers and local address parts are
       returned as machine format integer values.

Internet Addresses
       Values specified using the "." notation take one of the following forms:
       a.b.c.d
       a.b.c
       a.b
       a
       When four parts are specified, each is interpreted as a byte of data and assigned, from left to right, to the four  bytes  of  an  Internet
       address.   Note	that  when  an	Internet  address is viewed as a 32-bit integer quantity on the VAX, the bytes referred to above appear as
       "d.c.b.a".  That is, VAX bytes are ordered from right to left.

       When a three-part address is specified, the last part is interpreted as a 16-bit quantity and placed in the right most  two  bytes  of  the
       network address.  This makes the three-part address format convenient for specifying Class B network addresses as "128.net.host".

       When a two-part address is supplied, the last part is interpreted as a 24-bit quantity and placed in the right most three bytes of the net-
       work address.  This makes the two-part address format convenient for specifying Class A network addresses as "net.host".

       When only one part is given, the value is stored directly in the network address without any byte rearrangement.

       All numbers supplied as "parts" in a "." notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e. a leading	0x
       or 0X implies hexadecimal; otherwise, a leading 0 implies octal; otherwise, the number is interpreted as decimal).

Return Values
       The value -1 is returned by and for malformed requests.

See Also
       gethostent(3n), getnetent(3n), hosts(5), networks(5)

																	  inet(3n)