sendmail and unqualified addresses


 
Thread Tools Search this Thread
Operating Systems Solaris sendmail and unqualified addresses
# 1  
Old 06-22-2007
sendmail and unqualified addresses

I have a solaris 10 server running sendmail 8.13.8, configuration file V10. On another server I am able to send local emails without appending a domain name but on this server I cannot. The mail does not bounce, the log file says they are sent, but they are not delivered. There isn't a problem with qualified names. I have added various entries for unqualified hosts, etc, without luck.

Anyone have an idea?

Thanks
# 2  
Old 06-22-2007
Quote:
Originally Posted by csgonan
I have a solaris 10 server running sendmail 8.13.8, configuration file V10. On another server I am able to send local emails without appending a domain name but on this server I cannot. The mail does not bounce, the log file says they are sent, but they are not delivered. There isn't a problem with qualified names. I have added various entries for unqualified hosts, etc, without luck.

Anyone have an idea?

Thanks

is your domain set in resolv.conf?
# 3  
Old 06-22-2007
Yes I do. The windows admin looked at the queue on the relay (exchange server) and it may be an issue there.

BUT

I am finding that all email (even that sent to root@ip.address) is being sent to the relay and not delivered locally.

In my configuration file I have

CL root

but when I send mail from the command line on the same machine, it sends it to the relay.

I would like to generate a new cf where local mail gets delivered locally, but outgoing mail gets relayed. This is a solaris 10 box.

THanks


Thanks
# 4  
Old 06-22-2007
I entered this but the log file below show its going to the relay.

# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 cross
canonify input: cross
Canonify2 input: cross
Canonify2 returns: cross
canonify returns: cross
parse input: cross
Parse0 input: cross
Parse0 returns: cross
ParseLocal input: cross
ParseLocal returns: cross
Parse1 input: cross
Parse1 returns: $# local $: cross
parse returns: $# local $: cross
>

kristina# mail cross
test
test
kristina# tail /var/log/maillog


Jun 22 15:56:18 kristina sendmail[2113]: [ID 801593 mail.info] l5MJuI4X002113: from=root, size=110, class=0, nrcpts=1, msgid=<200706221956.l5MJuI4X002113@kristina.xxxx.com>, relay=root@localhost
Jun 22 15:56:18 kristina sendmail[2113]: [ID 801593 mail.info] l5MJuI4X002113: to=cross, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30110, relay=directencryptedroute.xxxx.com. [192.168.0.221], dsn=2.0.0, stat=Sent ( <200706221956.l5MJuI4X002113@kristina.xxxx.com> Queued mail for delivery)
kristina#
# 5  
Old 06-22-2007
Do you have either
1. mailhost set in /etc/hosts
2. smartrelay set in sendmail.cf
To the address of your main mail server ?
# 6  
Old 06-22-2007
I have all those things. I researched a bit more and found this.

When I first set up this server, I could not send mail out. I learned I had to set the mailhost in the submit.cf file, and that worked. Then what I found was that local email (ie) user@host.domain.com or even to root, was not longer being delivered.

I need to have all root mail delivered locally and mail addresses to user@host.domain.com delivered locally, but all other mail sent to the relay server. I also need all addresses that have no domain appended (ie) mailuser, sent to the relay as mailuser@domain.com (not mailuser@host.domain.com). Right now they are trying to be delivered locally, which I understand is the submit.cf behavior.

I do not want this server listening on port 25.

Any ideas?

Thanks
# 7  
Old 06-23-2007
It almost impossible to make out what you have and have not configured, why not rename the cf files then copy the .cf files from a working server? You can then compare what is different.
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. 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

3. Red Hat

Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

4. Solaris

Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all, I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console. Also I'm interested in how to fix the actual problem with unqualified host name. My unqualified host name (hostname) unknown; sleeping... (2 Replies)
Discussion started by: pseudocoder
2 Replies

5. UNIX for Advanced & Expert Users

Sendmail adding .org after some addresses

Hello, We run a mailing list and on our server sendmail is adding .org after some addresses, e.g. the first and third entries below in the process listingroot 1528 0.0 0.1 11764 6524 ? Ss Sep21 0:01 sendmail: ./p8NMgM0X031218 dimaventures.com.org.: user open root ... (1 Reply)
Discussion started by: prautt
1 Replies

6. Shell Programming and Scripting

sendmail script throwing an error "No recipient addresses found in header"

Hi, I am using following code to send an e-mail with attachment and body. echo "To: user1@mail.com,user2@mail.com" > mail.tmp echo "Cc: user3@mail.com,user4@mail.com" >> mail.tmp echo "From: group@mail.com" >> mail.tmp echo "Subject: my report" >> mail.tmp echo "please see as attached"... (6 Replies)
Discussion started by: vivek_damodaran
6 Replies

7. UNIX for Dummies Questions & Answers

Unqualified Host at boot

I'm sure this is as basic as they get. I installed Solaris 10 x86 on a compaq 7500 that I switched motherboards out with an AMD processor. Since I installed, I've gotten the "unqualified host name" message at boot plus I"m not sure how to find my NIC (or if the driver is installed). I only show... (7 Replies)
Discussion started by: ltillman
7 Replies

8. Solaris

My unqualified host name

Hi experts . . . host name: prd47e Sunsolaris 9 version My mails are not going and am gettin regular messages like: * My unqualified host name (prd47e) unknown; sleeping for retry * unable to qualify my own domain name (prd47e) -- using short name my /etc/hosts file contnets are... (6 Replies)
Discussion started by: vrjalli
6 Replies

9. Solaris

Unqualified host name

Hi All I am Having V890 Server with Solaris 10 OS.In Dmesg showing the sendmail error. This is the error: Jul 26 22:04:56 ORACLE sendmail: My unqualified host name (ORACLE) unknown; sleeping for retry Jul 26 22:05:56 ORACLE sendmail: unable to qualify my own domain name (ORACLE) -- using... (5 Replies)
Discussion started by: ravigpb
5 Replies

10. UNIX for Dummies Questions & Answers

dmesg on a sun, unqualified host

Oct 22 01:01:47 sendmail: My unqualified host name unknown; sleeping for retry Oct 22 01:02:47 sendmail: unable to qualify my own domain name -- using short name how to resolve this error thanks (11 Replies)
Discussion started by: yls177
11 Replies
Login or Register to Ask a Question