LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Receiving the following e-mail from my system. (https://www.linuxquestions.org/questions/debian-26/receiving-the-following-e-mail-from-my-system-758927/)

glore2002 10-01-2009 05:38 AM

Receiving the following e-mail from my system.
 
I am receiving mails from my system with the following error. Where do I change the settings to tell Lenny to send mails to the correct e-mail address?

Quote:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

lacalga@

Technical details of permanent failure:
Probe failed: Illegal envelope To: address (no @ symbol): lacalga@
Thanks!

IBall 10-01-2009 07:02 AM

I assume lacalga is your local system user?

Are you able to send emails to lacalga using the "mail" program?

Are the emails being generated as a result of some Cron job that is trying to send its output?

glore2002 10-01-2009 07:56 AM

Quote:

Originally Posted by IBall (Post 3703385)
I assume lacalga is your local system user?

Are you able to send emails to lacalga using the "mail" program?

Are the emails being generated as a result of some Cron job that is trying to send its output?

Yes, lacalga is the user name.
Also yes. Those mails are generated as a result of some Cron jobs.

lacalga@ is not an e-mail (at least not one I've created) but those e-mails are arriving at my e-mail account. What do you mean by "mail" program? Evolution?


Thanks again for your help!

martin-tack 10-01-2009 07:58 AM

Hello Glore2002,

If lacalga is your user-name ,then the message should read

>lacalga(at)localhost<

When you have given your PC a "personnel" host-name then :

>lacalga(at)"personnel"<

If you don't know the "personnel" (host-name) ,or forgotten :

type in a shell : $hostname ,enter ,and you'll see it as

answer.

Then of course you will have to edit in /etc/... the config. file

for the mail prg.

Mostly in Linux it's sendmail ,but I'm not sure for your OS .


Success ,and greetings from Flanders (Belgium)

Martin

martin-tack 10-01-2009 08:34 AM

Hello again ,

your reply towards IBall came just in between my post.

So after reading it ,no ,no Evolution .

Evolution is a GUI (graphical User Interface).

Daemons (background & OS programs) use a non GUI "send" only program .

As said above ,I'm not sure ,but for Debian I think ,its also sendmail.

You can check ,if there's a sendmail directory OR file in /etc/...

If so open the file with Vim or Gedit and read it .

BE PRUDENT ,before editing it ,make a save as file with an extension

like : sendmail.conf.orig

greetings from Flanders (Belgium) :)

Martin

glore2002 10-01-2009 05:17 PM

Quote:

Originally Posted by martin-tack (Post 3703523)
Hello again ,

your reply towards IBall came just in between my post.

So after reading it ,no ,no Evolution .

Evolution is a GUI (graphical User Interface).

Daemons (background & OS programs) use a non GUI "send" only program .

As said above ,I'm not sure ,but for Debian I think ,its also sendmail.

You can check ,if there's a sendmail directory OR file in /etc/...

If so open the file with Vim or Gedit and read it .

BE PRUDENT ,before editing it ,make a save as file with an extension

like : sendmail.conf.orig

greetings from Flanders (Belgium) :)

Martin

Thanks Martin for your help!
I can't find any sendmail file in my debian lenny system. I've found /etc/ssmtp/ssmtp.conf.

It looks like this:
Quote:

root=xxx@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=xxx@gmail.com
UseSTARTTLS=YES
AuthUser=xxx
AuthPass=*******
FromLineOverride=YES
Do I have to modify that one where it says hostname? Should I change xxx@gmail.com by lacalga@debian5b (5b is my hostname)?

Where you see Xs same text string appears.

Thanks again for all your help. From Argentina,
Glore2002.-

martin-tack 10-03-2009 12:13 PM

Hello Glore 2002 ,

I'm alive again ,had to sleep .

Yes this is the conf. file for your sendmail .

Sorry for this confusing of names ,I don't use sendmail myself .

I will install it right now on one of my OS version's ,

so to fish out a solution for you .

In the mean time I've already found a configuration prg. and
a documentation pkg. witch could be of use to you .

These are : sendmail-cf and sendmail-doc ,so while I'm fishing out

you could read sendmail-doc .

By the way ,is the above quote the entire content in ssmtp.conf ?

I'll have installed and tested it in say 2 - 3 hours.

Have a bit of patience ,and good learning time :)

Martin


All times are GMT -5. The time now is 03:59 PM.