Sendmail external email delays and mailertables problems on Solaris

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Sendmail external email delays and mailertables problems on Solaris
# 1  
Old 04-16-2013
Sendmail external email delays and mailertables problems on Solaris

Setup is a Solaris 11 zone running sendmail as a relay to our actual mailservers. All emails to external domains seem to be being tried to be sent directly from this Solaris 11 zone which cannot send mail externally.

All emails sent to our pager addresses as defined in the /etc/mail/aliases file (blackberry.net and att.net) are on a 6 minute delay.

Mailertables should fix this by specifying which smtp server to use for specified domains so I created that file, pointing our 2 pager domains to our organizational mailservers. I tried to enable mailertables via the below methods and it just didn't work. Is there known good way to enable mailertables on Solaris? Any ideas on how to fix these delays?


- create /etc/mail/mailertable with att.net and blackberr.net entries (pager domains to date).
Run makemap hash /etc/mail/mailertable < /etc/mail/mailertable


Building the new sendmail.cf

1. Edit /etc/sendmail/cf/cf/sendmail.mc and add line
FEATURE(access_db, `hash -o -T /etc/mail/access’) FEATURE(mailertable, `hash -o /etc/mail/mailertable’)

NOTE: some online notes state that the "hash" option may not work on Solaris but others do. Will try with
above syntax first.

2. Compile sendmail. m4 /etc/mail/cf/cf/sendmail.mc > /etc/mail/sendmail.cf.

3. sdiff new sendmail.cf with timestamped one from today and edit accordingly.

4. Restart Sendmail, tail log, run svcs -xv sendmail, check for errors.

5. Send test emails to internal and external (pager) domains.

---------- Post updated at 01:43 PM ---------- Previous update was at 12:26 PM ----------

Also tried smart hosts to no avail. I would appreciate advice on that approach as well.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris - Sendmail - Adding .com.gr in external senders e-mails

Hello Everybody ! I'm Harry from Athens Greece and i have a problem with my Sendmail 8.13.3 installed on Solaris SunOS ultra 5.10. The problem is that when someone sends to us an e-mail and his e-mail address is like : xxxx@xxxx.com, our e-mail server adds up in the senders address a .com.gr... (2 Replies)
Discussion started by: Mcasim
2 Replies

2. HP-UX

Sendmail problems

I running sendmail as user smmsp I have create user,group with same name Sendmail start ok,but when i try to send email outside of localhost give me this error Jan 3 20:46:59 hpux2 sm-mta: t03JkwJb020892: t03JkxJb020893: DSN: Insufficient permissionI give those permissions chmod 2755 ... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

3. OS X (Apple)

mailx to external email address

Hi, How can I use "mailx" command to send message to an email address like this? echo "This email body" | mailx -s "my subject" "email@hostname.com" There may be some setup required in sendmail or postfix?? OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies

4. UNIX for Dummies Questions & Answers

Can't configure sendmail to send mails to external SMTP Server

Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies

5. UNIX for Dummies Questions & Answers

Sendmail problems

Hello, This is my first post, so hello! I'm trying to gather a copy all the mail that goes through my sendmail into a named pipees so I can gather statistics and what not. I believe a copy of all mail is stored in var/spool/mail? I tried to replace the mail directory with a named pipe... (5 Replies)
Discussion started by: dadoprso
5 Replies

6. Web Development

Tricky mod_rewrite for clean urls problems when fetching external sources

Hi, I have problems with mod rewrite. I will try to describe... I want clean urls but fail to make it work propperly. Maybe I have problems, because the content displayed is fetched from my other site... There is a lot of stuff I already red about this, but somehow I can not find a solution... (2 Replies)
Discussion started by: lowmaster
2 Replies

7. UNIX for Dummies Questions & Answers

Sendmail problems

Hi, I have some problems w/ the sendmail. I see that messages are queued in the /var/spool/mqueue and they are never sent to the recipients. This problem just suddenly started without any modifications in the current configuration. I already started and stop the sendmail and it did not help.... (1 Reply)
Discussion started by: ktanya
1 Replies

8. Filesystems, Disks and Memory

external USB detection problems

I have seagate USB 2.0 HDD which was working good on my windows system Recently I have started using red hat Linux 2.6.9-55.0.12.EL (i686 i686 i386 GNU/Linux) The USB is not at all detected in Linux even if I reboot with it attached to the PC. The same can be detected on any Windows system.... (2 Replies)
Discussion started by: mahendrakamath
2 Replies

9. UNIX for Dummies Questions & Answers

Sending cronjob log to external email

Hi All, I would like to know if there away to send cronjob log to external email (such as nazri76@domain.com) instead of to /var/spool/mail/root . If so, can we attach a file in the mail (e.g. test.log) ? Need guidance from you guys! (1 Reply)
Discussion started by: nazri76
1 Replies

10. Programming

Problems calling external C routines from PL/SQL

Hi everybody! I'm not familiar with C programming in Unix, but I'm trying to make work an example to execute external procedures (developed in C) from PL/SQL. The example includes .c and .pc source files, which I have compiled succesfully. After that, links the .o files into .so to declare... (0 Replies)
Discussion started by: lwnorowski
0 Replies
Login or Register to Ask a Question

Featured Tech Videos