Issues on email delivery


 
Thread Tools Search this Thread
Operating Systems AIX Issues on email delivery
# 8  
Old 10-06-2009
Quote:
Originally Posted by funksen
in the mc file:
Code:
FEATURE(masquerade_entire_domain)
FEATURE(masquerade_envelope)
MASQUERADE_AS(`external.domain')
MASQUERADE_DOMAIN(`hostname.domain.local')

in the sendmail.cf file, comment

#CL root
#C{E}root

so that the masquerading works for root too
Thanks for the reply, but what would that do? Is there any disadvantages to using masquerading? Would it be bad if there is no sendmail.mc file?
# 9  
Old 10-06-2009
you don't really need the mc file, sendmail make generates the cf file from the mc file

you could try to add these lines manually to sendmail.cf


Code:
#CL root
#C{E}root
C{w}localhost.localdomain
C{M}local.ourdomain.com 
# who I masquerade as (null for no masquerading) (see also $=M)
DMourdomain.com

but editing the cf file manually may not work when doing big changes like that
# 10  
Old 10-06-2009
Quote:
Originally Posted by funksen
you don't really need the mc file, sendmail make generates the cf file from the mc file

you could try to add these lines manually to sendmail.cf


Code:
#CL root
#C{E}root
C{w}localhost.localdomain
C{M}local.ourdomain.com 
# who I masquerade as (null for no masquerading) (see also $=M)
DMourdomain.com

but editing the cf file manually may not work when doing big changes like that
I have not tried this yet but I will do, just need to get access to the sendmail.cf (it is restricted to certain privileges). I take it there is no way to get the sender address the same as what is set for the "From:" field?
# 11  
Old 10-14-2009
Is there a way to masquerade on specific ID's instead of all outgoing mail?
# 12  
Old 10-14-2009
this can be done with a genericstable

Code:
FEATURE(generics_entire_domain)
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(`hostname.domain.local')

with this method, you can specify any emailsubstitution

an entry can look like:

apache appuser@external.domain

Code:
makemap -v hash genericstable < genericstable

but you don't have the mc file, so probably you have to install additional sendmail packages, I can't tell you how the final .cf file looks like with this changes
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Qmail mail delivery problem

Dear Concern, As per below article, we have configured qmail in our system. THE LINUX STUFF: qmail Installation Steps on Linux But when we try to send any mail in own domain, got below error message. Please advise. Apr 17 17:01:20 BLAUDITSCPTEST sendmail: alias database /etc/aliases... (0 Replies)
Discussion started by: makauser
0 Replies

2. Shell Programming and Scripting

Email Format Output issues

Hi Guys, I have written a script, which output information from email notfication. The output works fine in HTML format, but non-html format it is not shown in a human readable format. Can you help with the format *** Script echo " Server Name : $CLIENT_CHECK "... (4 Replies)
Discussion started by: Junes
4 Replies

3. IP Networking

DNS config preventing mail delivery

Hi Please can you help on this: the Net Admins decided to use DNS to resolve names, so this is preventing mail being delivered when using commands like date | mailx -s "test" abc.xyz@asdf.xx.yy. What we were asked was to edit /etc/resolv.confand add 3 entries, in all servers (10 Replies)
Discussion started by: fretagi
10 Replies

4. Shell Programming and Scripting

Smtp dual delivery script

Hello Peoples, I have a problem wrapping my head around a script that I modified, essentially it uses the postfix smtp line in master.cf to send out a message to two or more email servers, It is a nice way to test different email servers and platforms. Problem with the original script is that it... (0 Replies)
Discussion started by: SeSe
0 Replies

5. Programming

TCP/IP, how to verify delivery?

When I successfully write data to a TCP/IP socket, as I understand it, I am only guaranteed the data gets to the TCP/IP stack's buffer. However, a successful write doesn't guarantee that the data actually gets to the recipient. Since data can linger in the TCP/IP stack's buffer "indefinately," it... (7 Replies)
Discussion started by: DreamWarrior
7 Replies

6. Shell Programming and Scripting

Finding a file delivery time and sending it as an email

Hello, i have a requirement where i need to create a script which would check for a file name called XX_YYYY_ZZ in the directory inbound and as soon as the file is delivered in this directory a email needs to be sent to a user abc@yahoo.com The plan is to put script in the core process to run... (8 Replies)
Discussion started by: rajasinn
8 Replies

7. UNIX for Dummies Questions & Answers

Mail delivery confirmation

If I am sending mail with this command: mail .......@whatever.com < filename, is it possible to get delivery confirmation? Thanks (3 Replies)
Discussion started by: CSGUY
3 Replies
Login or Register to Ask a Question