Operating System - Tru64 Unix
1752520 Members
5256 Online
108788 Solutions
New Discussion юеВ

Re: e-mail w/ attachments won't send anymore.

 
Victor Semaska_3
Esteemed Contributor

e-mail w/ attachments won't send anymore.

I have a user who says that e-mails with attachments won't send from the Tru64 (V5.1B PK5) box anymore. The command is as follows:

(echo "Hello. \n";uuencode test.txt < /usr/var/tmp/test.txt) | mailx -s "Subject" user@addr.edu

I've tried it and the only difference I see when it fails is in the /var/adm/syslog.dated/current/mail.log file. When an e-mail is successfully sent the entry says 'message received'. When it's not it says 'message accepted'.

Any ideas?

Thanks.
There are 10 kinds of people, one that understands binary and one that doesn't.
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: e-mail w/ attachments won't send anymore.

Can you post the maillog for both situations?

I use to use:

uuencode input_file output_file | mailx -s subject recipient(s)

Normally, input_file and output_file will have the same name. Can you try that?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Victor Semaska_3
Esteemed Contributor

Re: e-mail w/ attachments won't send anymore.

The 1st one is much smaller (about 1KB) than the 2nd send (about 880 KBs).

This is a successful send:
/var/adm/syslog.dated/19-Mar-01:00/mail.log:Mar 19 11:38:34 csubds1 sendmail[832240]: m2JFcYJ0000832240: from=rakr, size=135, class=0, nrcpts=1, msgid=<200803191538.m2JFcYJ0000832240@csubds.ctstateu.edu>, relay=rakr@localhost
/var/adm/syslog.dated/19-Mar-01:00/mail.log:Mar 19 11:38:34 csubds1 sendmail[793496]: m2JFcYJ0000832240: to=rakr@ccsu.edu, ctladdr=rakr (1016/1000), delay=00:00:00, xdelay=00:00:00, mailer=smtp, pri=120135, relay=cmx5.facstaff.ccsu.edu. [149.152.18.89], dsn=2.0.0, stat=Sent (message received)

This is not a successful send:
/var/adm/syslog.dated/19-Mar-01:00/mail.log:Mar 19 11:40:27 csubds1 sendmail[941093]: m2JFeQk0000941093: from=rakr, size=1231228, class=0, nrcpts=1, msgid=<200803191540.m2JFeQk0000941093@csubds.ctstateu.edu>, relay=rakr@localhost
/var/adm/syslog.dated/19-Mar-01:00/mail.log:Mar 19 11:40:32 csubds1 sendmail[652972]: m2JFeQk0000941093: to=rakr@ccsu.edu, ctladdr=rakr (1016/1000), delay=00:00:06, xdelay=00:00:05, mailer=smtp, pri=1351228, relay=cmx5.facstaff.ccsu.edu. [149.152.18.89], dsn=2.0.0, stat=Sent (Message Accepted)
There are 10 kinds of people, one that understands binary and one that doesn't.
Ivan Ferreira
Honored Contributor

Re: e-mail w/ attachments won't send anymore.

Mmmm, what do you have in mailq -v? How are you reading the mails? Are you getting it via POP? Can you see the message in the user's mailbox file?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: e-mail w/ attachments won't send anymore.

Also, considering that "was working", and small messages are sent correctly, ensure that you aren't running out of space on the file system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Victor Semaska_3
Esteemed Contributor

Re: e-mail w/ attachments won't send anymore.

Ivan,

Thanks for taking the time to try to help me. Someone here mentioned a possibility I never would have thought of. Our anti-spam server was treating the attachment as spam.

Thanks,
Vic
There are 10 kinds of people, one that understands binary and one that doesn't.