Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Host requires new sendmail settings

Quote Reply
Host requires new sendmail settings
Hello Links 2 Pro's,
i got a tricky issue right now with my silly hosting company (paid, not free).

They simply changed something with their sendmail settings server side (without greatly bothering to let the clients know before hand that is).

So, the hosts (outsourced to Russia) support tells me fragmentally:
FROM field of the letter must contain mailbox which is maintained by
your hosting server. (what???)


I assume "letter" means the confirmation email and / or the email sent to my own mailbox telling me that a new submission is in.
(i have disabled the collection of submitters email addresses so can not send out any mass emails)
"mailbox which is maintained by your hosting server" probably means my domain name email???

But FROM field???
(the submission form has no FROM field, the confirmation emails i do not even know what script sends those)

Does anyone of you Links2 users have experienced a similar situation with a host and knows where what would need to be changed to have sendmail working for Links 2 again???

Thanks for info



Last edited by:

gossy: Dec 13, 2007, 10:28 AM
Quote Reply
Re: [gossy] Host requires new sendmail settings In reply to
mailer.pm has the FROM field, not sure what to fix there...


Leonard
aka PerlFlunkie
Quote Reply
Re: [gossy] Host requires new sendmail settings In reply to
Hi,

Mmm.. odd.

What is your current setting?

If you have something like /usr/lib/sendmail at the moment, they may mean putting -t at the end, i.e /usr/lib/sendmail -t

I can see why your confused with their email though - it makes bugger all sense :P

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [PerlFlunkie] Host requires new sendmail settings In reply to
Well thanks for that tip,
i see lots of FROM fields in mailer.pm, could be a mine sweeping undertaking for me as non scripter.....

The Russian support for the US based hosting company meant:
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'me@hotmail.com';

In section $db_admin_email you should type 'me@mydomain.com' or you
are able to create
another email account. In other words, everything is UNclear - at least to me, can you make more sense of this???
(they claim they have made changes to sendmail to avoid spam, but if i use a Yahoo or Hotmail email to receive my submission alerts i don't get why they should have any spam issues.........
Quote Reply
Re: [Andy] Host requires new sendmail settings In reply to
I do not see any definition like
/usr/lib/sendmail
anywhere Andy, only the
#!/usr/bin/perl at the top of some of the scripts.

But the problem is within this somewhere:
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'me@hotmail.com';

In section $db_admin_email you should type 'you@yourdomainname.com' or you
are able to create
another email account. I find (in links.cfg)
# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'me@hotmail.com';
------------------------------------------------------------------------------
In other words, i already have "me@hotmail.com" set as administrator, maybe they mean i need to change this to an email address that comes along with my hosting plan - something i have never bothered to use, exactly because i did not want to get spammed, just a weird host........
Quote Reply
Re: [gossy] Host requires new sendmail settings In reply to
Hi,

Yeah, it could be that they want you to have an email address that matches your domain. i.e your domain is bla.com, they want something@bla.com.

To be honest, a lot of hosting companies do this now - so stop people using sendmail on their server, to send junk to others.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Host requires new sendmail settings In reply to
Cool
Thanks Andy, you did hit the issue on the head.
Their support finally came around with exactly this info.
I guess they can control it this way better (the sendmail usage i mean).

Always something new to learn......