- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail not working (used to work...)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 06:48 PM
тАО07-11-2010 06:48 PM
Re: sendmail not working (used to work...)
sendmail -v -d7.99 -d38.9 user_name@domain.com
It should be visible there in my opinion. From here, you can get the clue to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 08:04 PM
тАО07-11-2010 08:04 PM
Re: sendmail not working (used to work...)
Thank you very much for the script.
Though I run the given script, I'm not clear if sendmail appends domain name etc.
Below is a part of sendmail log.
--------------------------------------
>>> EHLO myserver.com
250-mailserver.com Hello [xx.xxx.xx.xx]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
>>> MAIL From:
250 2.1.0 wwwww@myserver.com....Sender OK
>>> RCPT To:
250 2.1.5 aaaaa@bbbbb.com.xxxxx.zzzzz.com
>>> DATA
------------------------------------------
I just want sendmail not to put xxxxx.zzzzz.com after aaaaa@bbbbb.com in RCPT To field. Everything looks OK except RCPT To field.
Would you pls give me a clue to make this work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 08:40 PM
тАО07-11-2010 08:40 PM
Re: sendmail not working (used to work...)
May be there is a clue how its appending. Would you be able to paste that, espcially where its resolving the names and domains....
Is there anything other layer, like spam filters etc....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 09:01 PM
тАО07-11-2010 09:01 PM
Re: sendmail not working (used to work...)
Thanks for advice.
Here is what i get.
-------------------------------------------
sendmail -v -d7.99 -d38.9 user_name@domain.com
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
queuename: trying "qfNAA25807"
queuename: assigned id NAA25807, env=40019f38
lockfd= 4: fl=0x1, mode=100600: size=0
queuename: xfNAA25807
queuename: dfNAA25807
queuename: tfNAA25807
user_name@domain.com... Connecting to [xx.xxx.xxx.x] via relay...
-------------------------------------------
It looks like sendmail is looking at aliases file in /etc/mail. I dont think aliases file relates to this issue but let me paste contents of aliases file just for info.
--------------------------------------
# Alias for mailer daemon
MAILER-DAEMON : root
# RFC 822 requires that every host have a mail address "postmaster"
postmaster : root
# Aliases to handle mail to msgs and news
nobody : /dev/null
# System Admistration aliases
operator : root
uucp : root
daemon : root
# Ftp maintainer.
ftp-bugs : root
# Local aliases
--------------------------------------
Hope you can find something from the above.
Let me know if more details are required.
BTW, when i directly telnet to mail server and sends e-mail thru SMTP conversation, it works fine and RCPT TO address does not have duplicated host name. Is it because i directly input recipient address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 10:26 PM
тАО07-11-2010 10:26 PM
Re: sendmail not working (used to work...)
Problem seems to be (temporalily) fixed by adding # to
R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4 in sendmail.cf's ruleset 96.
I know this is just a workaround and still need to work on this issue, but now sendmail functions started to work properly.
I really appreciate everyone's replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 10:36 PM
тАО07-11-2010 10:36 PM
Re: sendmail not working (used to work...)
- « Previous
-
- 1
- 2
- Next »