Hello
Wondering why you are not using an email client for sending emails.
Any specific reason ? Just curious.
If you have gmail account (actually any email account that support
SMTP), it is pretty easy to setup it in email client and send emails
through email clients.
If you prefer using scripts and commands, why not using something
similar to phpmailer which use SMTP (authenticated) internally ?
The 'mail' command whether it is from the prompt or using some script
- is not a good idea (AFAIK), and as it is not authenticated, emails
you send may end up reaching the spam / bulk folder.
Best Regards
Din.
On 11-Feb-09, at 5:31 PM, Jos Collin wrote:
I'm sorry to send this email to the community. The emails, which I
have sent using the 'mail' command are going to the spam folder. I
did'nt notice that before sending this email. Now I became an expert
in mail and sendmail commands.
Let me explain my new problem to you. I can send and email from the
command line to anybody I like. But if I keep on sending emails for
more than a day, the Spam filter (in the server) filters it and
moving it to the Spam folder. I want my emails to appear in the
Inbox folder. So is there anything, which I can specify in my emails
so that they can bypass the spam filter? Or is there any other
method to bypass the Spam filter? For eg, If I send an email to a
gmail address using 'mail' command, it should bypass the Spam filter
and go to the Inbox instead of going to the Spam folder.
Please give your inputs.
Thanks,
Jos Collin
2009/2/11 Mahesh Aravind <[email protected]>
Dear Jos,
1) Please put an more 'understandable' subject in the subject line.
The word 'mail' is altogether vague.
2) Using / Sending out your mail as 'root' is a BIG BAD NO. No
matter how much a whiz you are, its bad. As in, B-A-D.
Which distro do you use? (sorry, evident from the logs)
What package does it support? (sorry, evident from the logs)
(But had to wait till this thread to understand it)
Did you 'purge' the package or just 'remove' it? Because if you'd
just 'remove'd it, the conf files would still be there, and it'd
work perfectly if you install it back. Only 'purging' do take away
the conf files too, with it..
I believe debian uses Exim4 instead of Sendmail by default as the MTA.
Sorry, but were you connected to internet? (hey, I said sorry
beforehand, ok?)
--- On Fri, 6/2/09, Jos Collin <[email protected]> wrote:
> pri=120443, relay=gmail-smtp-in.l.google.com.
> [209.85.143.27], dsn=5.0.0,
> stat=Service unavailable
> Feb 6 13:16:55 debian sm-mta[3880]: n167kCGM003877:
> n167ktGM003880: DSN:
> Service unavailable
I think google SMTP server _at least_ requires SSL authentication.
Check your sendmail.cf to see if it tries to authenticate at every
instance.
Your actual username at google, for authentication, is
"@googlemail.com" and not "@gmail.com". Check for that.
To the best of my belief (correct me if I'm wrong), google doesn't
do SMTP on port 25. Its either port 465 (with SSL) or port 587 (with
TLS).
More info here:
http://mail.google.com/support/bin/answer.py?hl=en-uk&answer=78775
Suggestion: Ditch Sendmail, use postfix (hey, its only a suggestion,
don't bite me) ;-)
Disclaimer: I'm no mail expert... YMMV!
No worries,
Mahesh Aravind
Get perfect Email ID for your Resume. Grab now
http://in.promos.yahoo.com/address
_______________________________________________
Mailinglist mailing list
[email protected]
http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
_______________________________________________
Mailinglist mailing list
[email protected]
http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org