|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I just started using Sendmail. It came with an installation of Trixbox
that I installed. I am trying to get it to send an email using the mailx command, but everytime I try to send the message, the maillog just says that it is queued and not sent. All I've set up on the machine so far is the network configuration. How can I get this working? I've also had problems in the past that I am on a dynamic IP address and some mailservers don't accept my mail. I don't have the option to get a static IP though. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote:
> I just started using Sendmail. It came with an installation of Trixbox > that I installed. I am trying to get it to send an email using the > mailx command, but everytime I try to send the message, the maillog > just says that it is queued and not sent. All I've set up on the > machine so far is the network configuration. How can I get this > working? > > I've also had problems in the past that I am on a dynamic IP address > and some mailservers don't accept my mail. I don't have the option to > get a static IP though. I just found instructions on how to look at the queue and possible force it to send, but when I tried to view the queue with 'mailq' it said there was nothing in the queue even though I have tried to send 3 or 4 messages that said they were queued. Where would those messages go if not into the queue. Also, it looks like messages are being sent to the root account. I'm guessing error messages. How can I access them? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
RFLabs wrote:
> On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: >> I just started using Sendmail. It came with an installation of Trixbox >> that I installed. I am trying to get it to send an email using the >> mailx command, but everytime I try to send the message, the maillog >> just says that it is queued and not sent. All I've set up on the >> machine so far is the network configuration. How can I get this >> working? >> >> I've also had problems in the past that I am on a dynamic IP address >> and some mailservers don't accept my mail. I don't have the option to >> get a static IP though. Normally, ISPs block outgoing port 25 on dynamic IPs and that all e-mails sent out must be routed through their SMTP servers. The only solutions to this: 1) find a different ISP that allows you to send e-mails on port 25 2) find someone you know who has access to a fixed IP that will allow you to route your e-mails through his/her servers and you sending your e-mails on a different port. > > I just found instructions on how to look at the queue and possible > force it to send, but when I tried to view the queue with 'mailq' it > said there was nothing in the queue even though I have tried to send 3 > or 4 messages that said they were queued. Where would those messages > go if not into the queue. Looking at the queue doesn't much if the e-mail has been sent, or couldn't be sent but bounced to the postmaster's address (which usually inevitably goes to the root account). What you need to do is look at the sendmail logs. Turn on the full debug level (I think it's LogLevel=14) and try viewing the log and see what errors are popping. That's as generic I can give since you have left out a lot of configuration details, ie. Sendmail version, what server, etc. > > Also, it looks like messages are being sent to the root account. I'm > guessing error messages. How can I access them? > Log in as root and view them? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote:
> RFLabs wrote: > > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: > >> I just started using Sendmail. It came with an installation of Trixbox > >> that I installed. I am trying to get it to send an email using the > >> mailx command, but everytime I try to send the message, the maillog > >> just says that it is queued and not sent. All I've set up on the > >> machine so far is the network configuration. How can I get this > >> working? > > >> I've also had problems in the past that I am on a dynamic IP address > >> and some mailservers don't accept my mail. I don't have the option to > >> get a static IP though. > > Normally, ISPs block outgoing port 25 on dynamic IPs and that > all e-mails sent out must be routed through their SMTP servers. > The only solutions to this: > > 1) find a different ISP that allows you to send e-mails > on port 25 > 2) find someone you know who has access to a fixed IP > that will allow you to route your e-mails through > his/her servers and you sending your e-mails on > a different port. > > > > > I just found instructions on how to look at the queue and possible > > force it to send, but when I tried to view the queue with 'mailq' it > > said there was nothing in the queue even though I have tried to send 3 > > or 4 messages that said they were queued. Where would those messages > > go if not into the queue. > > Looking at the queue doesn't much if the e-mail has been sent, > or couldn't be sent but bounced to the postmaster's address > (which usually inevitably goes to the root account). > > What you need to do is look at the sendmail logs. Turn on > the full debug level (I think it's LogLevel=14) and try > viewing the log and see what errors are popping. > > That's as generic I can give since you have left out a lot of > configuration details, ie. Sendmail version, what server, etc. > > > > > Also, it looks like messages are being sent to the root account. I'm > > guessing error messages. How can I access them? > > Log in as root and view them? I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do I look at the sendmail logs? I've been looking at /var/log/maillog up until now for the status of my messages. How do I change the debug level? |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 05/02/07 11:28, RFLabs wrote:
> On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote: >> RFLabs wrote: >> > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: >> >> I just started using Sendmail. It came with an installation of Trixbox >> >> that I installed. I am trying to get it to send an email using the >> >> mailx command, but everytime I try to send the message, the maillog >> >> just says that it is queued and not sent. All I've set up on the >> >> machine so far is the network configuration. How can I get this >> >> working? >> >> >> I've also had problems in the past that I am on a dynamic IP address >> >> and some mailservers don't accept my mail. I don't have the option to >> >> get a static IP though. >> >> Normally, ISPs block outgoing port 25 on dynamic IPs and that >> all e-mails sent out must be routed through their SMTP servers. >> The only solutions to this: >> >> 1) find a different ISP that allows you to send e-mails >> on port 25 >> 2) find someone you know who has access to a fixed IP >> that will allow you to route your e-mails through >> his/her servers and you sending your e-mails on >> a different port. >> >> >> >> > I just found instructions on how to look at the queue and possible >> > force it to send, but when I tried to view the queue with 'mailq' it >> > said there was nothing in the queue even though I have tried to send 3 >> > or 4 messages that said they were queued. Where would those messages >> > go if not into the queue. >> >> Looking at the queue doesn't much if the e-mail has been sent, >> or couldn't be sent but bounced to the postmaster's address >> (which usually inevitably goes to the root account). >> >> What you need to do is look at the sendmail logs. Turn on >> the full debug level (I think it's LogLevel=14) and try >> viewing the log and see what errors are popping. >> >> That's as generic I can give since you have left out a lot of >> configuration details, ie. Sendmail version, what server, etc. >> >> >> >> > Also, it looks like messages are being sent to the root account. I'm >> > guessing error messages. How can I access them? >> >> Log in as root and view them? > > I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do > I look at the sendmail logs? I've been looking at /var/log/maillog up > until now for the status of my messages. How do I change the debug > level? > /var/log/maillog is the correct log file. As for setting options for sendmail, try setting SENDMAIL_OPTARG in /etc/sysconfig/sendmail. See the man page for sendmail for details on the options that you can pass to sendmail. Once you've placed your options in /etc/sysconfig/sendmail, restart the daemon (as root) using service sendmail restart I don't think you should need to turn on any debugging, however. You should be able to see what is happening to the message from the log information provided by the standard daemon. Perhaps you should try sending a message and report the /var/log/maillog entries that are created as a result. -- Mark Hansen, PP-ASEL, Instrument Airplane, USUA Ultralight Pilot Cal Aggie Flying Farmers Sacramento, CA |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On May 2, 1:40 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote:
> On 05/02/07 11:28, RFLabs wrote: > > > > > > > On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote: > >> RFLabs wrote: > >> > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: > >> >> I just started using Sendmail. It came with an installation of Trixbox > >> >> that I installed. I am trying to get it to send an email using the > >> >> mailx command, but everytime I try to send the message, the maillog > >> >> just says that it is queued and not sent. All I've set up on the > >> >> machine so far is the network configuration. How can I get this > >> >> working? > > >> >> I've also had problems in the past that I am on a dynamic IP address > >> >> and some mailservers don't accept my mail. I don't have the option to > >> >> get a static IP though. > > >> Normally, ISPs block outgoing port 25 on dynamic IPs and that > >> all e-mails sent out must be routed through their SMTP servers. > >> The only solutions to this: > > >> 1) find a different ISP that allows you to send e-mails > >> on port 25 > >> 2) find someone you know who has access to a fixed IP > >> that will allow you to route your e-mails through > >> his/her servers and you sending your e-mails on > >> a different port. > > >> > I just found instructions on how to look at the queue and possible > >> > force it to send, but when I tried to view the queue with 'mailq' it > >> > said there was nothing in the queue even though I have tried to send 3 > >> > or 4 messages that said they were queued. Where would those messages > >> > go if not into the queue. > > >> Looking at the queue doesn't much if the e-mail has been sent, > >> or couldn't be sent but bounced to the postmaster's address > >> (which usually inevitably goes to the root account). > > >> What you need to do is look at the sendmail logs. Turn on > >> the full debug level (I think it's LogLevel=14) and try > >> viewing the log and see what errors are popping. > > >> That's as generic I can give since you have left out a lot of > >> configuration details, ie. Sendmail version, what server, etc. > > >> > Also, it looks like messages are being sent to the root account. I'm > >> > guessing error messages. How can I access them? > > >> Log in as root and view them? > > > I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do > > I look at the sendmail logs? I've been looking at /var/log/maillog up > > until now for the status of my messages. How do I change the debug > > level? > > /var/log/maillog is the correct log file. > > As for setting options for sendmail, try setting SENDMAIL_OPTARG in > /etc/sysconfig/sendmail. See the man page for sendmail for details on > the options that you can pass to sendmail. > > Once you've placed your options in /etc/sysconfig/sendmail, restart the > daemon (as root) using > > service sendmail restart > > I don't think you should need to turn on any debugging, however. You should > be able to see what is happening to the message from the log information > provided by the standard daemon. Perhaps you should try sending a message > and report the /var/log/maillog entries that are created as a result. > > -- > Mark Hansen, PP-ASEL, Instrument Airplane, USUA Ultralight Pilot > Cal Aggie Flying Farmers > Sacramento, CA- Hide quoted text - > > - Show quoted text - What exactly am I putting in that sendmail file? I couldn't find any information about SENDMAIL_OPTARG on sendmail.org. Could you specify or give me a link to where the information is? |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On 05/02/07 12:23, RFLabs wrote:
> On May 2, 1:40 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: >> On 05/02/07 11:28, RFLabs wrote: >> >> >> >> >> >> > On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote: >> >> RFLabs wrote: >> >> > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: >> >> >> I just started using Sendmail. It came with an installation of Trixbox >> >> >> that I installed. I am trying to get it to send an email using the >> >> >> mailx command, but everytime I try to send the message, the maillog >> >> >> just says that it is queued and not sent. All I've set up on the >> >> >> machine so far is the network configuration. How can I get this >> >> >> working? >> >> >> >> I've also had problems in the past that I am on a dynamic IP address >> >> >> and some mailservers don't accept my mail. I don't have the option to >> >> >> get a static IP though. >> >> >> Normally, ISPs block outgoing port 25 on dynamic IPs and that >> >> all e-mails sent out must be routed through their SMTP servers. >> >> The only solutions to this: >> >> >> 1) find a different ISP that allows you to send e-mails >> >> on port 25 >> >> 2) find someone you know who has access to a fixed IP >> >> that will allow you to route your e-mails through >> >> his/her servers and you sending your e-mails on >> >> a different port. >> >> >> > I just found instructions on how to look at the queue and possible >> >> > force it to send, but when I tried to view the queue with 'mailq' it >> >> > said there was nothing in the queue even though I have tried to send 3 >> >> > or 4 messages that said they were queued. Where would those messages >> >> > go if not into the queue. >> >> >> Looking at the queue doesn't much if the e-mail has been sent, >> >> or couldn't be sent but bounced to the postmaster's address >> >> (which usually inevitably goes to the root account). >> >> >> What you need to do is look at the sendmail logs. Turn on >> >> the full debug level (I think it's LogLevel=14) and try >> >> viewing the log and see what errors are popping. >> >> >> That's as generic I can give since you have left out a lot of >> >> configuration details, ie. Sendmail version, what server, etc. >> >> >> > Also, it looks like messages are being sent to the root account. I'm >> >> > guessing error messages. How can I access them? >> >> >> Log in as root and view them? >> >> > I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do >> > I look at the sendmail logs? I've been looking at /var/log/maillog up >> > until now for the status of my messages. How do I change the debug >> > level? >> >> /var/log/maillog is the correct log file. >> >> As for setting options for sendmail, try setting SENDMAIL_OPTARG in >> /etc/sysconfig/sendmail. See the man page for sendmail for details on >> the options that you can pass to sendmail. >> >> Once you've placed your options in /etc/sysconfig/sendmail, restart the >> daemon (as root) using >> >> service sendmail restart >> >> I don't think you should need to turn on any debugging, however. You should >> be able to see what is happening to the message from the log information >> provided by the standard daemon. Perhaps you should try sending a message >> and report the /var/log/maillog entries that are created as a result. >> >> -- >> Mark Hansen, PP-ASEL, Instrument Airplane, USUA Ultralight Pilot >> Cal Aggie Flying Farmers >> Sacramento, CA- Hide quoted text - >> >> - Show quoted text - > > What exactly am I putting in that sendmail file? I couldn't find any > information about SENDMAIL_OPTARG on sendmail.org. Could you specify > or give me a link to where the information is? > It's just a shell environment variable. For example: SENDMAIL_OPTARG="-dcategory.value" As for what the category and value should be, have a look at the sendmail man page. You can look at the sendmail script in /etc/init.d for how the /etc/sysconfig/sendmail script is used. Again, I don't think you should need to do this... |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On May 2, 3:28 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote:
> On 05/02/07 12:23, RFLabs wrote: > > > > > > > On May 2, 1:40 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: > >> On 05/02/07 11:28, RFLabs wrote: > > >> > On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote: > >> >> RFLabs wrote: > >> >> > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: > >> >> >> I just started using Sendmail. It came with an installation of Trixbox > >> >> >> that I installed. I am trying to get it to send an email using the > >> >> >> mailx command, but everytime I try to send the message, the maillog > >> >> >> just says that it is queued and not sent. All I've set up on the > >> >> >> machine so far is the network configuration. How can I get this > >> >> >> working? > > >> >> >> I've also had problems in the past that I am on a dynamic IP address > >> >> >> and some mailservers don't accept my mail. I don't have the option to > >> >> >> get a static IP though. > > >> >> Normally, ISPs block outgoing port 25 on dynamic IPs and that > >> >> all e-mails sent out must be routed through their SMTP servers. > >> >> The only solutions to this: > > >> >> 1) find a different ISP that allows you to send e-mails > >> >> on port 25 > >> >> 2) find someone you know who has access to a fixed IP > >> >> that will allow you to route your e-mails through > >> >> his/her servers and you sending your e-mails on > >> >> a different port. > > >> >> > I just found instructions on how to look at the queue and possible > >> >> > force it to send, but when I tried to view the queue with 'mailq' it > >> >> > said there was nothing in the queue even though I have tried to send 3 > >> >> > or 4 messages that said they were queued. Where would those messages > >> >> > go if not into the queue. > > >> >> Looking at the queue doesn't much if the e-mail has been sent, > >> >> or couldn't be sent but bounced to the postmaster's address > >> >> (which usually inevitably goes to the root account). > > >> >> What you need to do is look at the sendmail logs. Turn on > >> >> the full debug level (I think it's LogLevel=14) and try > >> >> viewing the log and see what errors are popping. > > >> >> That's as generic I can give since you have left out a lot of > >> >> configuration details, ie. Sendmail version, what server, etc. > > >> >> > Also, it looks like messages are being sent to the root account. I'm > >> >> > guessing error messages. How can I access them? > > >> >> Log in as root and view them? > > >> > I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do > >> > I look at the sendmail logs? I've been looking at /var/log/maillog up > >> > until now for the status of my messages. How do I change the debug > >> > level? > > >> /var/log/maillog is the correct log file. > > >> As for setting options for sendmail, try setting SENDMAIL_OPTARG in > >> /etc/sysconfig/sendmail. See the man page for sendmail for details on > >> the options that you can pass to sendmail. > > >> Once you've placed your options in /etc/sysconfig/sendmail, restart the > >> daemon (as root) using > > >> service sendmail restart > > >> I don't think you should need to turn on any debugging, however. You should > >> be able to see what is happening to the message from the log information > >> provided by the standard daemon. Perhaps you should try sending a message > >> and report the /var/log/maillog entries that are created as a result. > > >> -- > >> Mark Hansen, PP-ASEL, Instrument Airplane, USUA Ultralight Pilot > >> Cal Aggie Flying Farmers > >> Sacramento, CA- Hide quoted text - > > >> - Show quoted text - > > > What exactly am I putting in that sendmail file? I couldn't find any > > information about SENDMAIL_OPTARG on sendmail.org. Could you specify > > or give me a link to where the information is? > > It's just a shell environment variable. For example: > > SENDMAIL_OPTARG="-dcategory.value" > > As for what the category and value should be, have a look at the > sendmail man page. You can look at the sendmail script in /etc/init.d > for how the /etc/sysconfig/sendmail script is used. > > Again, I don't think you should need to do this...- Hide quoted text - > > - Show quoted text - Does anyone else have suggestions as to what the problem is and how to fix it? |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On May 2, 4:31 pm, RFLabs <jodyt.ri.voicem...@gmail.com> wrote:
> On May 2, 3:28 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: > > > > > On 05/02/07 12:23, RFLabs wrote: > > > > On May 2, 1:40 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: > > >> On 05/02/07 11:28, RFLabs wrote: > > > >> > On May 2, 11:29 am, Ed <crazy...@istar.ca> wrote: > > >> >> RFLabs wrote: > > >> >> > On May 2, 8:00 am, jodyt.ri.voicem...@gmail.com wrote: > > >> >> >> I just started using Sendmail. It came with an installation of Trixbox > > >> >> >> that I installed. I am trying to get it to send an email using the > > >> >> >> mailx command, but everytime I try to send the message, the maillog > > >> >> >> just says that it is queued and not sent. All I've set up on the > > >> >> >> machine so far is the network configuration. How can I get this > > >> >> >> working? > > > >> >> >> I've also had problems in the past that I am on a dynamic IP address > > >> >> >> and some mailservers don't accept my mail. I don't have the option to > > >> >> >> get a static IP though. > > > >> >> Normally, ISPs block outgoing port 25 on dynamic IPs and that > > >> >> all e-mails sent out must be routed through their SMTP servers. > > >> >> The only solutions to this: > > > >> >> 1) find a different ISP that allows you to send e-mails > > >> >> on port 25 > > >> >> 2) find someone you know who has access to a fixed IP > > >> >> that will allow you to route your e-mails through > > >> >> his/her servers and you sending your e-mails on > > >> >> a different port. > > > >> >> > I just found instructions on how to look at the queue and possible > > >> >> > force it to send, but when I tried to view the queue with 'mailq' it > > >> >> > said there was nothing in the queue even though I have tried to send 3 > > >> >> > or 4 messages that said they were queued. Where would those messages > > >> >> > go if not into the queue. > > > >> >> Looking at the queue doesn't much if the e-mail has been sent, > > >> >> or couldn't be sent but bounced to the postmaster's address > > >> >> (which usually inevitably goes to the root account). > > > >> >> What you need to do is look at the sendmail logs. Turn on > > >> >> the full debug level (I think it's LogLevel=14) and try > > >> >> viewing the log and see what errors are popping. > > > >> >> That's as generic I can give since you have left out a lot of > > >> >> configuration details, ie. Sendmail version, what server, etc. > > > >> >> > Also, it looks like messages are being sent to the root account. I'm > > >> >> > guessing error messages. How can I access them? > > > >> >> Log in as root and view them? > > > >> > I am using Sendmail v 8.13.1 on a CentOS Linux machine. How exactly do > > >> > I look at the sendmail logs? I've been looking at /var/log/maillog up > > >> > until now for the status of my messages. How do I change the debug > > >> > level? > > > >> /var/log/maillog is the correct log file. > > > >> As for setting options for sendmail, try setting SENDMAIL_OPTARG in > > >> /etc/sysconfig/sendmail. See the man page for sendmail for details on > > >> the options that you can pass to sendmail. > > > >> Once you've placed your options in /etc/sysconfig/sendmail, restart the > > >> daemon (as root) using > > > >> service sendmail restart > > > >> I don't think you should need to turn on any debugging, however. You should > > >> be able to see what is happening to the message from the log information > > >> provided by the standard daemon. Perhaps you should try sending a message > > >> and report the /var/log/maillog entries that are created as a result. > > > >> -- > > >> Mark Hansen, PP-ASEL, Instrument Airplane, USUA Ultralight Pilot > > >> Cal Aggie Flying Farmers > > >> Sacramento, CA- Hide quoted text - > > > >> - Show quoted text - > > > > What exactly am I putting in that sendmail file? I couldn't find any > > > information about SENDMAIL_OPTARG on sendmail.org. Could you specify > > > or give me a link to where the information is? > > > It's just a shell environment variable. For example: > > > SENDMAIL_OPTARG="-dcategory.value" > > > As for what the category and value should be, have a look at the > > sendmail man page. You can look at the sendmail script in /etc/init.d > > for how the /etc/sysconfig/sendmail script is used. > > > Again, I don't think you should need to do this...- Hide quoted text - > > > - Show quoted text - > > Does anyone else have suggestions as to what the problem is and how to > fix it? Please post the output of sendmail -bv -d0.40 root grep -v '^dnl' < /etc/mail/submit.mc grep -v '^dnl' < /etc/mail/sendmail.mc ps auwx | grep sendmail sendmail -bp -Am sendmail -bp -Ac ls -lah /var/spool/mail/root ls -lah /root/dead.letter echo "Test message" | sendmail -v root And the relevant output of /var/log/maillog for your attempts to send mail, where relevant is all lines from that time period, that sendmail PID and that queue id. |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
I'm not able to see the whole output because my SSH screen won't let
me scroll. I also can't copy from the screen which forces me to type everything. If you have an email I can send to, I'll send you screenshots of the output. I don't have time right now to type all of this out. I did some as you can see below. >>sendmail -bv -d0.40 root >>(what I can see) mailer 2 (*include*: P=/dev/nul S=parse/parse R=parse/parse M=0 U=-1:-1 F=su L=0 E=/n T=<undefined>/<undefined>/<undefined> r=100 A=INCLUDE $u mailer 3 (smtp): P=[IPC] S=EnvFromSMRP/HdrFromSMTP R=EnvToSMTP/ EnvToSMTP M=0 U=-1:-1 F=DFMXmu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 4 (esmtp): P=[IPC] S=EnvFromSMRP/HdrFromSMTP R=EnvToSMTP/ EnvToSMTP M=0 U=-1:-1 F=DFMXamu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 5 (smtp8): P=[IPC] S=EnvFromSMRP/HdrFromSMTP R=EnvToSMTP/ EnvToSMTP M=0 U=-1:-1 F=8DFMXmu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 6 (dsmtp): P=[IPC] S=EnvFromSMRP/HdrFromSMTP R=EnvToSMTP/ EnvToSMTP M=0 U=-1:-1 F=%DFMXamu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 7 (relay): P=[IPC] S=EnvFromSMRP/HdrFromSMTP R=MasqSMTP/ MasqSMTP M=0 U=-1:-1 F=8DFMXamu L=2040 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 8 (procmail): P=/usr/bin/procmail S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/HdrFromSMTP M=0 U=-1:-1 F=9DFMPShnu L=0 E=\n T=DNS/RFC822/ X-Unis r=100 A=procmail -Y -m $h $f $u mailer 9 (local): P=/usr/bin/procmail S=EnvFromL/HdrFromL R=EnvToL/ HdrToL M=0 U=-1:-1 F=/59:@ADFMPSfhlnqsw| L=0 E=\n T=DNS/RFC822/X-Unix r=100 A=procmail -t -Y -a $h -d $u admin... deliverable: mailer local, user admin >>grep -v '^dnl' < /etc/mail/submit.mc # the sendmail distribution # # # # This is the prototype file for a set-group-ID sm-msp sendmail that # acts as a initial mail submission program # divert(0)dnl include('/usr/shar/sendmail-cf/m4/cf.m4') VERSIONID('linux setup for Red Hat Linux')dnl define('confCF_VERSION', 'Submint')dnl define('__OSTYPE__','')dnl dirty hack to keep proto.m4 from complaining define('_USE_DECNET_SYTAX_', '1')dnl support DECnet define('confDONT_INIT_GROUPS', 'True')dnl define('confPID_FILE', '/var/run/sm-client.pid')dnl FEATURE('use_ct_file')dnl FEATURE('msp', '[127.0.0.1]')dnl >>grep -v '^dnl' < /etc/mail/sendmail.mc >>ps auwx | grep sendmail >>sendmail -bp -Am >>sendmail -bp -Ac >>ls -lah /var/spool/mail/root >>ls -lah /root/dead.letter >>echo "Test message" | sendmail -v root >>And the relevant output of /var/log/maillog May 3 08:07_14 asterisk1 sendmail[4466]: 143D7ECW004466: from=root, size=44, class=0, nrcpts=1, msgid=<200705031307.143D7ECW004466@radiosinc.dyndn s.org>, relay=root@localhost May 3 08:07:14 asterisk1 sendmail[4466]: 143D7ECW004466: to=jon.w@rflab.com, delay=00:00:00, mailer=esmtp, pri=30044, dsn=4.4.3, stat=queued |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
RFLabs <jodyt.ri.voicemail@gmail.com> writes:
> I'm not able to see the whole output because my SSH screen won't let > me scroll. I also can't copy from the screen which forces me to type > everything. If you have an email I can send to, I'll send you > screenshots of the output. I don't have time right now to type all of > this out. I did some as you can see below. You can -- for example -- use 'script' command to capture output .... |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
On 05/03/07 06:12, RFLabs wrote:
> I'm not able to see the whole output because my SSH screen won't let > me scroll. Your SSH client won't let you scroll? What client are you using? Doesn't it have configuration settings to control the ability to scroll and the amount of scroll back lines to hold? If you're connecting to the Linux machine from a Windows machine, you can get Putty for free, and it allows for scrolling, copy/paste, etc. Of course, if you're really restricted from using a scroll bar, there are other things you can do, like use Less/More to view data one screen at a time. But, I must say, if you're having this kind of difficulty, you probably shouldn't be trying to get sendmail working. Best of luck. |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
On May 3, 1:01 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote:
> On 05/03/07 06:12, RFLabs wrote: > > > I'm not able to see the whole output because my SSH screen won't let > > me scroll. > > Your SSH client won't let you scroll? What client are you using? Doesn't > it have configuration settings to control the ability to scroll and the > amount of scroll back lines to hold? > > If you're connecting to the Linux machine from a Windows machine, you > can get Putty for free, and it allows for scrolling, copy/paste, etc. > > Of course, if you're really restricted from using a scroll bar, there > are other things you can do, like use Less/More to view data one screen > at a time. > > But, I must say, if you're having this kind of difficulty, you probably > shouldn't be trying to get sendmail working. > > Best of luck. Any suggestions to my original problem and not the problems I have trying to debug? |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
On May 3, 1:11 pm, RFLabs <jodyt.ri.voicem...@gmail.com> wrote:
> On May 3, 1:01 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: > > > > > On 05/03/07 06:12, RFLabs wrote: > > > > I'm not able to see the whole output because my SSH screen won't let > > > me scroll. > > > Your SSH client won't let you scroll? What client are you using? Doesn't > > it have configuration settings to control the ability to scroll and the > > amount of scroll back lines to hold? > > > If you're connecting to the Linux machine from a Windows machine, you > > can get Putty for free, and it allows for scrolling, copy/paste, etc. > > > Of course, if you're really restricted from using a scroll bar, there > > are other things you can do, like use Less/More to view data one screen > > at a time. > > But, I must say, if you're having this kind of difficulty, you probably > > shouldn't be trying to get sendmail working. > > Best of luck. > Any suggestions to my original problem and not the problems I > have trying to debug? I downloaded this myself to have a look. As you dont reveal how you set up the installation Im going to assume you left on defaults like non-NAT and the hostname which as I recall is asterik.local or something. You could still send outbound mail this way with a fallback host configured to relay mail from "asterik" but really it would be better to have a FQDN for your vmware instance. Nothing to do with sendmail as such. Running mailx to an asterik account should work though. date | /usr/sbin/sendmail -v -o LogLevel=14 root might reveal something. |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
On May 3, 9:12 am, RFLabs <jodyt.ri.voicem...@gmail.com> wrote:
> I'm not able to see the whole output because my SSH screen won't let > me scroll. 1) Hire a professional. 2) Use putty. It even allows you to log your entire session to a file 3) Use screen on the linux machine. It allows you to log to a file 4) use redirection such as the double >> to pipe the output into a file 5) You missed some of the commands I asked you for the output of. Thanks, Joe |
|
|
|
#16 |
|
Messages: n/a
Hébergeur: |
On May 3, 9:34 pm, "jmai...@ttec.com" <jmai...@ttec.com> wrote:
> On May 3, 9:12 am, RFLabs <jodyt.ri.voicem...@gmail.com> wrote: > > > I'm not able to see the whole output because my SSH screen won't let > > me scroll. > > 1) Hire a professional. > > 2) Use putty. It even allows you to log your entire session to a file > > 3) Use screen on the linux machine. It allows you to log to a file > > 4) use redirection such as the double >> to pipe the output into a > file > > 5) You missed some of the commands I asked you for the output of. > > Thanks, > > Joe We actually have two different machines running this same software. One we purchased and the other we set up ourselves. The one we set up is the one with problems. They both have the exact same installation on them and I compared the sendmail.mc files on both of them and they are identical. Any suggestions? |
|
|
|
#17 |
|
Messages: n/a
Hébergeur: |
On May 4, 12:05 pm, RFLabs <jodyt.ri.voicem...@gmail.com> wrote:
> On May 3, 9:34 pm, "jmai...@ttec.com" <jmai...@ttec.com> wrote: > > > > > On May 3, 9:12 am, RFLabs <jodyt.ri.voicem...@gmail.com> wrote: > > > > I'm not able to see the whole output because my SSH screen won't let > > > me scroll. > > > 1) Hire a professional. > > > 2) Use putty. It even allows you to log your entire session to a file > > > 3) Use screen on the linux machine. It allows you to log to a file > > > 4) use redirection such as the double >> to pipe the output into a > > file > > > 5) You missed some of the commands I asked you for the output of. > > > Thanks, > > > Joe > > We actually have two different machines running this same software. > One we purchased and the other we set up ourselves. The one we set up > is the one with problems. Somehow I am not surprised. > They both have the exact same installation > on them and I compared the sendmail.mc files on both of them and they > are identical. Any suggestions? Yes, I gave them to you. I am still awaiting your results from trying them properly. |
|
|
|
#18 |
|
Messages: n/a
Hébergeur: |
RFLabs wrote:
> On May 3, 1:01 pm, Mark Hansen <m...@NOSPAMwinfirst.com> wrote: >> On 05/03/07 06:12, RFLabs wrote: >> >>> I'm not able to see the whole output because my SSH screen won't let >>> me scroll. >> Your SSH client won't let you scroll? What client are you using? Doesn't >> it have configuration settings to control the ability to scroll and the >> amount of scroll back lines to hold? >> >> If you're connecting to the Linux machine from a Windows machine, you >> can get Putty for free, and it allows for scrolling, copy/paste, etc. >> >> Of course, if you're really restricted from using a scroll bar, there >> are other things you can do, like use Less/More to view data one screen >> at a time. >> >> But, I must say, if you're having this kind of difficulty, you probably >> shouldn't be trying to get sendmail working. >> >> Best of luck. > > Any suggestions to my original problem and not the problems I > have trying to debug? > Trying to reverse engineer this wandering thread... You started out with mailq problems. Did you try running mailq -Ac yet? That will show you what is in the submit queue. Scrolling is a function of your terminal, not ssh. If you use xterm then use xterm options to enable scrolling, for example. If you use a Windows terminal tool then I can't offer any suggestions. Be glad it works at all. dp |
|
![]() |
| Outils de la discussion | |
|
|